Sort three variables: Difference between revisions

m
move Scala after Ruby
(→‎{{header|AppleScript}}: Added alternative code.)
m (move Scala after Ruby)
Line 2,217:
bears, oh my!
lions, tigers, and</pre>
 
==Scala==
As a Functional Programming language embraces the use of immutable variables. Mutability (variables and states) is seen as evil. Scala works rather with transformed collection obtained by functions then mutable variable and variable state. So this task has no sense in modern programming.
 
=={{header|Ruby}}==
Line 2,239 ⟶ 2,236:
9/1
77444.0</pre>
 
==Scala==
As a Functional Programming language embraces the use of immutable variables. Mutability (variables and states) is seen as evil. Scala works rather with transformed collection obtained by functions then mutable variable and variable state. So this task has no sense in modern programming.
 
=={{header|Seed7}}==
2,301

edits