9,956 reputation
22869
bio website evincarofautumn.blogspot.com
location United States
age 23
visits member for 3 years, 7 months
seen 2 days ago

I like programming, language, and collecting hobbies.


Mar
27
awarded  Good Answer
Feb
27
comment What parts of your coding standard contribute to quality code?
@Magus: Sure, then again I am allergic to alignment even when using spaces exclusively, because it tends to make for bad diffs and blames, and makes style-preserving automated refactors more difficult.
Feb
26
answered Why doesn't monad take `(M a -> M b)`?
Feb
21
comment Language that embraces mutable state?
I once wrote a language called Hap that includes some of these concepts—reacting to changing expressions, evaluating things atomically, and so forth. Though I never got around to implementing a typechecker for it. I don’t maintain it, but you may find it interesting.
Feb
13
awarded  Nice Answer
Feb
11
awarded  Popular Question
Feb
8
awarded  Nice Answer
Jan
18
comment CSS for Visually Impaired people?
I agree with the pair programming suggestion. Sight is just another skill to borrow, same as debugging or architecture.
Jan
11
comment Is there any specific reason to use “else if” clause?
@itsbruce: That’s hilarious—please tell me you’re not serious!
Jan
7
revised Side Effects Breaking Referential Transparency
Formatting.
Dec
25
revised Algorithm that determines relevant attributes in ordered list
added 303 characters in body
Dec
25
answered Algorithm that determines relevant attributes in ordered list
Dec
20
awarded  Enlightened
Dec
20
awarded  Nice Answer
Dec
19
revised Preventing a parser from turning into a (seemingly) god-sized object
added 2047 characters in body
Dec
19
revised Preventing a parser from turning into a (seemingly) god-sized object
added 76 characters in body
Dec
19
answered Preventing a parser from turning into a (seemingly) god-sized object
Dec
19
comment Why doesn't Java 8 include immutable collections?
Immutable collections only require copying if you can’t share because of pervasive mutability like Java has. Concurrency is generally easier with immutable collections because they don’t require locking; and for visibility you can always have a mutable reference to an immutable collection (common in OCaml). With sharing, updates can be essentially free. You may do logarithmically more allocations than with a mutable structure, but on update, many expired subobjects can be freed immediately or reused, so you don’t necessarily have higher memory overhead.
Dec
16
answered Why not annotate function parameters?
Dec
13
comment How to best protect from 0 passed to std::string parameters?
Side note: taking string as a parameter isn’t ideal because passing a literal implies an extra allocation and copy. The best solution is boost::string_ref, which will be standardised in C++14 as std::string_ref.