Reputation
819
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
5 12
Newest
 Yearling
Impact
~20k people reached

  • 0 posts edited
  • 0 helpful flags
  • 54 votes cast
Jan
2
awarded  Yearling
Dec
31
revised Why does an immutable object in Scala need less memory than a mutable one?
added 127 characters in body
Dec
26
comment Why does an immutable object in Scala need less memory than a mutable one?
Sharing is only a part of it. E.g. single-element maps aren't shared, but the immutable versions still take a lot less memory and perform much better than the mutable versions could.
Dec
26
answered Why does an immutable object in Scala need less memory than a mutable one?
Aug
21
awarded  Yearling
Aug
6
comment When to declare @throws with a Scala annotation - abstract parent or concrete implementation?
@Doval In Scala, try is an expression.
Jul
19
awarded  Announcer
Jul
4
awarded  Nice Answer
Mar
6
revised Passing a Scala function to a Java 8 method
added 34 characters in body
Mar
6
revised Passing a Scala function to a Java 8 method
added 41 characters in body
Mar
6
answered Passing a Scala function to a Java 8 method
Dec
4
awarded  Commentator
Dec
4
comment Why the Scala fascination with flatmap? (This doesn't seem to be the same for mapcat in the Clojure world)
No, I am implying mapcat is a specific particular case of flatMap.
Dec
4
comment Why the Scala fascination with flatmap? (This doesn't seem to be the same for mapcat in the Clojure world)
What's to elaborate? mapcat is specifically for collections. It isn't part of a protocol, so can't be made to work on other types. In Scala any monad-like type can define a flatMap method.
Dec
3
awarded  Yearling
Dec
3
awarded  Nice Answer
Dec
3
answered Why the Scala fascination with flatmap? (This doesn't seem to be the same for mapcat in the Clojure world)
Aug
30
answered Does macros support make Scala a Lisp dialect?
Jun
11
awarded  Informed
Feb
26
awarded  Caucus