today's interview question: explain how String and StringBuffer illustrate the fundamental failure of OO
-
-
-
Replying to @stuarthalloway
@stuarthalloway so, if there is no example like this in Ruby, then isn't Java, not OO in general, the failure?2 replies 1 retweet 0 likes -
Replying to @pjb3
@pjb3@stuarthalloway I think@headius can attest that Ruby’s lack of true immutable strings (vs frozen) is problematic1 reply 0 retweets 0 likes -
Replying to @bascule
@bascule@pjb3@stuarthalloway For concurrency, indeed a problem. As a language abstraction, I appreciate the convenience of lazy immutable.1 reply 1 retweet 0 likes
Replying to @headius
@headius @pjb3 @stuarthalloway Java making Strings immutable by default seems like a wise decision. Matz wanted simpler/easier which is ok
12:40 PM - 13 Mar 2014
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.