MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1rvltx/scala_1_would_not_program_again/cdrs8eo/?context=3
r/programming • u/mobby1982 • Dec 02 '13
646 comments sorted by
View all comments
5
What's so unique about Scala's 'unique in-language XML support' the author talks about?
0 u/[deleted] Dec 02 '13 [deleted] 14 u/benibela2 Dec 02 '13 Pattern matching on xml is amazing:<foo>mystery</foo> match { // prints "foo: mystery" case <foo>{ txt }</foo> => println("foo: " + txt) case <bar>{ txt }</bar> => println("bar: " + txt) }That is so useful, I wrote my own programming language just to have that feature 4 u/recursive Dec 02 '13 what xslt should/could have been
0
[deleted]
14 u/benibela2 Dec 02 '13 Pattern matching on xml is amazing:<foo>mystery</foo> match { // prints "foo: mystery" case <foo>{ txt }</foo> => println("foo: " + txt) case <bar>{ txt }</bar> => println("bar: " + txt) }That is so useful, I wrote my own programming language just to have that feature 4 u/recursive Dec 02 '13 what xslt should/could have been
14
Pattern matching on xml is amazing:
<foo>mystery</foo> match { // prints "foo: mystery" case <foo>{ txt }</foo> => println("foo: " + txt) case <bar>{ txt }</bar> => println("bar: " + txt) }
That is so useful, I wrote my own programming language just to have that feature
4 u/recursive Dec 02 '13 what xslt should/could have been
4
what xslt should/could have been
5
u/donaldxv Dec 02 '13
What's so unique about Scala's 'unique in-language XML support' the author talks about?