166 reputation
3
bio website
location
age
visits member for 1 year, 11 months
seen 16 hours ago

Jul
8
answered Why is software OS specific?
Jun
26
awarded  Critic
Jun
9
comment Are C++ templates just a kind of glorified macros?
@LokiAstari That sounds useful, could you point us to a code example?
Jun
2
awarded  Teacher
Jun
2
answered What is the “Free Monad + Interpreter” pattern?
May
20
comment Why do concurrent languages tend to have more complicated syntax?
It looks more complicated because you're comparing sqrt and qsort!
May
12
awarded  Supporter
May
7
comment When to use C over C++, and C++ over C?
@sbi I'm expanding on it.
May
7
comment When to use C over C++, and C++ over C?
One thing no one mentioned is that C has a simple and well-defined ABI, which is what makes it easy to interface to other languages with just a few assembly instructions. That is (IMO) the most convincing reason to use C, in a compatibility layer for example.
Apr
28
comment What is needed to implement a usable functional language
As an addendum to this, Haskell actually compiles all of its code through a lambda calculus-like language (called Core), augmented with let and case statements. So this kind of thing is used in practice, but needs some extras to be practical.
Mar
25
comment Unit testing of non-atomic methods
I believe the term you are looking for is "referentially transparent," rather than "atomic."
Sep
14
comment Simple vs Complex (but performance efficient) solution - which one to choose and when?
I find that (in general) simple implies efficient. So there often isn't a need to compromise.
Sep
12
comment Function that requires many parameters
However, you do want to watch out for situations where "you have to call Y after X" because an interface can't enforce that.
Aug
8
comment 'Recommended' file length and line widths
Is there a file length that's too short? I have a project with 35 files with an average length of ~200 lines.