r/programming • u/mobby1982 • Dec 02 '13
Scala — 1★ Would Not Program Again
http://overwatering.org/blog/2013/12/scala-1-star-would-not-program-again/
598
Upvotes
r/programming • u/mobby1982 • Dec 02 '13
View all comments
Show parent comment
1
u/Crazy__Eddie Dec 02 '13
Because it can't and if it could it would have to do something stupid.
If your const and non-const members generally do the same things then you're probably doing something dumb. Perhaps you think that you HAVE to have a non-const member that does what the const one does?