Dec
5
comment Dynamically mixing in traits to produce decorator composition of finite size
@Dima: Because you want to decorate only some of them. A contrived example: imagine you have a customizable but monolithic GUI component in which each piece of functionality is achieved via a separate trait. Now, you want to both add new and change some existing functionality. I hope this sheds some light, even though in this example there might be a better way to do it (but let's assume there is no other way).
Dec
5
revised Dynamically mixing in traits to produce decorator composition of finite size
Make it clear that return type does mix in all traits
Dec
5
comment Dynamically mixing in traits to produce decorator composition of finite size
@Imm: You could assume that CommonImpl does mix in all the traits. But even if this was not the case, you could still have checks like oDecorated.isInstanceOf[TraitK] (imagine traits also serve as tags).
Dec
4
revised Dynamically mixing in traits to produce decorator composition of finite size
edited title
Dec
4
asked Dynamically mixing in traits to produce decorator composition of finite size
Dec
4
revised Emacs lisp: Get directory name (not path) from the path
add current solution
Dec
4
asked Emacs lisp: Get directory name (not path) from the path
Dec
1
answered Syncing files with rsync by file names only, ignore directories
Dec
1
comment Rsync make flat copy
For a more efficient solution (only 1 invocation of rsync) see this post
Nov
30
answered Way to go from recursion to iteration
Nov
24
answered Generalized Suffix Tree Java Implementation
Nov
21
accepted Java - calling static methods vs manual inlining - performance overhead
Nov
5
awarded Popular Question
Oct
31
asked Licencing options for programs using unlicensed header-only libraries?
Oct
17
answered get key by value in dictionary
Oct
16
awarded Editor
Oct
16
revised Why should I make a separate partition for /tmp?
Fix a typo introduced by JakeGould: still -> sfill
Oct
5
awarded Teacher
Oct
4
answered Why should I make a separate partition for /tmp?
Oct
4
awarded Critic
1 2 3 4 5