News for hackers. Stuff that matters.
Re:Is your programming language unreasonable? by kyllo on Wednesday February 04, 2015 @03:57PM (#8999711)
What do you gain from using objects in that way, as opposed to immutable structs and functions?
Re:Is your programming language unreasonable? by tormeh on Wednesday February 04, 2015 @04:16PM (#8999869)
I program in Scala, so structs are not a thing (classes can extend/"inherit" AnyVal to be allocated on the stack, though, I think). Functions are nice, but from a pure syntax standpoint I often prefer methods because it limits the parantheses. It's especially neat when the methods take no arguments, like .toString.

But yeah, otherwise there's no difference, really.