Permalink
Browse files

Don't mention C#

  • Loading branch information...
1 parent bb2a952 commit f40d63acf90f99a919ffa3c25593c55b3380352d @adriaanm adriaanm committed Mar 31, 2014
Showing with 5 additions and 6 deletions.
  1. +3 −4 spec/12-the-scala-standard-library.md
  2. +2 −2 spec/index.md
@@ -422,12 +422,11 @@ used (it is `Object` on the Java platform).
and `update` means element update.
Because of the syntactic sugar for `apply` and `update` operations,
-we have the following correspondences between Scala and Java/C# code for
+we have the following correspondences between Scala and Java code for
operations on an array `xs`:
-| | |
+|_Scala_ |_Java_ |
|------------------|------------|
-|_Scala_ |_Java/C#_ |
|`xs.length` |`xs.length` |
|`xs(i)` |`xs[i]` |
|`xs(i) = e` |`xs[i] = e` |
@@ -449,7 +448,7 @@ explained in the following.
#### Variance
-Unlike arrays in Java or C#, arrays in Scala are _not_
+Unlike arrays in Java, arrays in Scala are _not_
co-variant; That is, $S <: T$ does not imply
`Array[$S$] $<:$ Array[$T$]` in Scala.
However, it is possible to cast an array
View
@@ -33,8 +33,8 @@ object-oriented and functional programming. It is a pure
object-oriented language in the sense that every value is an
object. Types and behavior of objects are described by
classes. Classes can be composed using mixin composition. Scala is
-designed to work seamlessly with two less pure but mainstream
-object-oriented languages Java and C#.
+designed to work seamlessly with less pure but mainstream
+object-oriented languages like Java.
Scala is a functional language in the sense that every function is a
value. Nesting of function definitions and higher-order functions are

1 comment on commit f40d63a

Love it!

Please sign in to comment.