846 reputation
311
bio website xion.io
location Zurich, Switzerland
age 27
visits member for 1 year, 11 months
seen Apr 21 at 9:19

Software developer with wits and passion. Loving all languages, but having a special sentiment for Python, C++ and JavaScript.

Involved with several domains of software engineering, including web development, cloud computing, mobile applications, server-side programming and gamedev.

Hacker of several open source projects and amateur productions.

An occasional blogger and tweeter.


Apr
17
answered Do I need to publish deployment scripts for deploying AGPL licensed work (MongoDB)
Mar
20
answered Java Method Returns Unbounded Type
Feb
5
comment Meaningful names in weakly typed language like JS
Somewhat of a nitpick, but the language aspect you are trying to deal with here is dynamic typing, not weak typing. JS can indeed behave like weakly typed language, but your question here refers to the fact that the same variable can hold objects of completely unrelated types. This is strictly a trait of dynamically typed languages which include JavaScript, Python, Ruby, and others.
Jan
8
comment Why do C++ and Java both use the notion of “reference” but not in the same sense?
Note that in your first C++ example, you are not making the reference "point to something else". Instead, you are changing the value of variable the reference points to. This is conceptually similar to mutating the state of object that is referred to with Java reference,
Jan
3
comment Using std::sort et al. with user-defined comparison routine
"The problem is that we allow users of the language to supply their own comparison routine, and (...) std::sort does not take kindly to routines that fail to be a strict order." Okay, but what requirements on comparison routines do you impose for your users to satisfy? If you require strict ordering and your API users fail to provide it, it's outside of the scope of your code to try and fix it.
Nov
15
awarded  Good Answer
Nov
14
comment Updating password hashing without forcing a new password for existing users
In that case, probably your only option is admit that you screwed up hard and just go ahead and reset password for all users. It's less about migration at that point and more about damage control.
Nov
12
awarded  Nice Answer
Nov
10
answered Updating password hashing without forcing a new password for existing users
Sep
7
comment Should I use mMember and sStatic naming convention in Android?
Note this is not full blown Hungarian Notation, it only distinguishes fields by its kind. I imagine it may be useful in constructors and setters (mFoo = foo; rather than this.foo = foo;). It also makes you less reliant on semantic coloring which not every color theme/IDE offers.
Sep
4
comment Why is there a “new” in Go?
By the same notion, Python and Ruby are very alien to C developers, as they use bunch of unfamiliar keywords, "weird" syntactical rules (where are braces?) and strange semantical concepts (generators? metaclasses? decorators?). Yet they don't get ~0 traction, quite the opposite.
Aug
26
awarded  Commentator
Aug
26
comment My github pull request was merged, what's the convention at this stage?
If you do care, however, you may find the no-ff option of git merge useful when merging to master.
Aug
12
awarded  Announcer
Jun
12
awarded  Good Answer
May
29
comment RESTful API design. What should I return if there are no rows?
That's malformed JSON. You can't have value (here: an array) without a key. You probably wanted to omit the outer curly braces.
May
13
awarded  Yearling
Apr
18
comment Client side web development, general question
-1 Not enough jQuery praise (I kid, I kid)
Apr
16
awarded  Nice Answer
Apr
15
answered Readable regular expressions without losing their power?