Reputation
1,727
Next privilege 2,000 Rep.
Edit questions and answers
Badges
7 13
Newest
 Yearling
Impact
~82k people reached

Oct
5
comment Functional programming and stateful algorithms
@Philipp: functional programming is about making state explicit, not about forbidding it. In fact, tail recursion is a really great tool for implementing those state machines full of gotos.
Oct
5
revised Functional programming and stateful algorithms
added 339 characters in body
Oct
5
answered Functional programming and stateful algorithms
Sep
21
answered What is an example of a continuation not implemented as a procedure?
May
17
awarded  Yearling
Apr
7
answered Map of functions vs switch statement
Mar
4
answered What is the functional-programming alternative to an interface?
Mar
4
revised What is the functional-programming alternative to an interface?
Fix syntax highlighting.
Mar
4
comment What is the functional-programming alternative to an interface?
You can add sintax highlighting hints when the language in the answer doesn't match the language in the question. See my suggested edit for example.
Mar
4
suggested approved edit on What is the functional-programming alternative to an interface?
Mar
4
answered Designing a function with many optional components
Feb
27
answered Is it possible to half-way synchronize javascript functions that include async calls?
Feb
26
revised Refactoring Switch Statements and is there any real use for Switch Statements at all?
deleted 11 characters in body
Jan
16
comment How can I avoid mistakes using the same variable name again?
Honestly, all the 3 answers so far suck. Variable naming doesn't solve this problem in general and puts the blame on the wrong place. Isn't there any linter out there that gives a warning if you assign to a function parameter?
Jan
8
comment Does the state Pattern violate Liskov Substitution Principle?
Basically, the big problem is that object orientation is good for adding new classes but makes it hard to add new methods. And in the case of state, as you said, it is not likely that you will need to extend the code with new states very often.
Jan
8
revised Open sourcing an internal project that has confidential information in the old revisions.
make the title clearer.
Jan
8
suggested approved edit on Open sourcing an internal project that has confidential information in the old revisions.
Sep
23
answered What is the advantage of assigning a function to a var?
Sep
22
comment How to get multiple open-source projects to use a standard way of doing something
xkcd.com/927
Aug
26
awarded  Pundit