Reputation
4,741
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
2 21 38
Newest
 Nice Answer
Impact
~183k people reached

1d
reviewed Approve Why does the relational model for a database matter?
Apr
13
comment Making minor edits elsewhere while working on a commit
@try-catch-finally I don't suggest merging unrelated changes, but if one logical change spans multiple commits (ie, "add a; fix bug with a"), they can be squashed into one commit ("add a").
Apr
13
answered Making minor edits elsewhere while working on a commit
Apr
8
comment Should registration be required for an application which relies on success based on unique barcode?
Also keep in mind that using hardware-based ids like IMEI for advertising purposes is forbidden; both android and ios provide advertising identifiers and guidelines around their use.
Mar
25
comment Difference between Python classes and Haskell typeclasses
Haskell tends to avoid subtyping - Haskell doesn't have subtyping.
Mar
17
comment Best Practice for masking Credit Card informations in Web Api 2
The fact that you are handling this information in a way that lets it be logged at all means you're probably violating laws.
Mar
14
reviewed Approve Grouping algorithm
Mar
3
comment What are modern develop-deploy-test techniques for non-interpreted languages?
Just a quick sanity check - your question makes it sound like you're not using source control. Are you? If not, you really should start. Today.
Feb
27
comment Is it a good idea to document every assumption in code, even if it goes against the standard of the language?
I don't disagree with that. I was just pointing out that it's an issue with C++, rather than being impossible in general.
Feb
26
comment Is it a good idea to document every assumption in code, even if it goes against the standard of the language?
@Jules Rust's type system encapsulates exactly those parameters though the (mostly) the standard library and a little language support
Feb
26
comment Is it a good idea to document every assumption in code, even if it goes against the standard of the language?
You may want to look at Option or Maybe containers, for example facebook's folly::Optional
Feb
17
comment How to make it clear I'm violating Command Query Separation
@GlennRogers That makes it a little worse honestly, because that signature gives you no indication that it's a side-effecting function. A function looking up ids in a local mapping would have the same signature
Feb
17
answered How to make it clear I'm violating Command Query Separation
Feb
11
comment Including both “careful” and “dangerous” versions of a function in a library/module
@Toadfish This approach is a little more than that, there's no exceptions or error returns, you just can't compile the code calling it the wrong way because an Option[Int] is not an Int.
Feb
11
answered Including both “careful” and “dangerous” versions of a function in a library/module
Feb
4
comment Find minimum number of steps to a goal without estimator for how close intermediate steps are to the goal
Sounds like there would be a large number of DAG-shortest-path algorithms that would suit.
Feb
3
comment Is turning a method into a class to use it across many classes bad practice?
See also: Execution in the Kingdom of Nouns
Jan
29
awarded  Nice Answer
Jan
28
awarded  Enlightened
Jan
28
awarded  Guru