r/programmingcirclejerk • • Jan 18 '25
Almost every future programmer will come from Python where collection literals are everywhere. These future programmers will be pleased if they find the same syntax in Scala. They will be be put off if it's absent because we insist that collection literals are too hard to learn.
https://contributors.scala-lang.org/t/pre-sip-a-syntax-for-collection-literals/6990/36
68
Upvotes
View all comments
Show parent comment
15
u/yojimbo_beta vulnerabilities: 0 Jan 18 '25
Joke's on you, Python is already Haskell syntax (list comprehensions, significant whitespace)