73,135 reputation
16122285
bio website
location
age 39
visits member for 4 years, 7 months
seen 3 mins ago

I've written software for everything from network equipment to Apache helicopters. Although I mostly program in C++ now, it was actually my seventh language I used professionally, so I like to think I can still think outside the C++ box.


11m
comment Why do methods that take an unlimited amount of parameters often define overloads with fewer parameters
In C#, you have a point, @Thomas. However, .NET also supports other languages without params.
14h
awarded  Nice Answer
Apr
30
comment Dealing with states in a immutable approach
Yes, you can do just about everything with immutability. Whether it's a good fit depends on your point of view. On one hand, it's fairly difficult to get this kind of problem right with FP, especially for a beginner, as you've discovered. On the other hand, during the process of getting it right, you're pretty much forced to arrange your data and functions in a highly decoupled way that often lends itself to some very elegant solutions.
Apr
29
answered Dealing with states in a immutable approach
Apr
24
answered Structuring Procedural vs OO code
Apr
20
comment Problem with quicksort and python
This belongs on stack overflow, where it will probably get migrated soon. However, note that if you think the problem is in the choice of pivot, it would probably help if you actually posted your choice function.
Apr
17
answered Why do I need to map arguments to instance variables?
Apr
17
answered Should I keep looking through my git history or stop now for these CSS changes?
Apr
17
awarded  Good Answer
Apr
16
awarded  Nice Answer
Apr
16
comment What exactly makes the Haskell type system so revered (vs say, Java)?
There are some good examples here.
Apr
16
answered What exactly makes the Haskell type system so revered (vs say, Java)?
Apr
15
awarded  Good Answer
Apr
13
answered Given a tree calculating Max Sum from top to bottom suing DFS? optimization?
Apr
13
awarded  Nice Answer
Apr
13
answered Is it okay to have code smells if it admits an easier solution to another problem?
Apr
9
answered Recursively parse without resorting to ugly design patterns
Apr
6
comment Would SQLite be less useful without accepting inserts of non-numeric values into numeric columns?
I don't understand your comment. Nothing about my answer had anything to do with automatic conversion.
Apr
6
answered Would SQLite be less useful without accepting inserts of non-numeric values into numeric columns?
Apr
2
awarded  Nice Answer