738 reputation
48
bio website
location
age
visits member for 3 years, 7 months
seen 3 hours ago

Jun
29
comment function naming: plural form of “if not exists”
I'd call it createMissingIndices.
Jun
25
answered What's the node.js package that helps hook into dlls?
Jun
25
comment What's the node.js package that helps hook into dlls?
Do you mean frida?
Jan
28
comment Why most “well-known” imperative/OO languages allow unchecked access to types that can represent a 'nothing' value?
In a language with a Maybe<T> type you disallow nulls completely, so you never need to check for it. The benefit of Maybe is when you don't have it, since you don't need to check for the validity of values of a non-maybe type.
Dec
1
awarded  Yearling
Nov
16
comment Problems with Corba
This is answered by the first sentence in the wikipedia page on CORBA
Nov
16
comment Are Extension methods (C#) and categories (Objective-C) the same as traits?
@SJuan76 - The only way you can have multiple methods with the same name and signature define different interface methods is if those interfaces are implemented explicitly. In that case you have to cast to the interface type before calling the method, so you will always know which one is intended.
Nov
9
comment Is there a difference between iterable and enumerable?
@DocBrown - enum is short for enumeration.
Sep
26
comment Is it poor practice to name a property/member the same as the declaring type in C#?
This won't even compile in C# since member names cannot be the same as the enclosing type.
Jul
22
comment Why is Inversion of Control named that way?
@JimmyHoffa - This is not wrong at all - see here. Inversion of control is a more general concept than creating dependencies, and dependency injection is just one form of IoC.
Jul
19
comment Why does git use hashes instead of revision numbers?
It's not a security measure, since the hash can easily be re-calculated for a modified commit. It's only used for integrity, to verify the contents against the calculated hash - see this comment from Linus Torvalds on the use of SHA-1 in Git.
Jul
2
comment unit testing variable state explicit tests in dynamically typed languages
The first two will never catch a situation the equality check won't, so I'd say this is over-complicating things.
Apr
13
comment Why do some of object oriented languages let programmer use primitive types?
@AndresF. - Both double and decimal are structs in C# and hence allocated inline. You're right that the performance difference was not down to value vs reference types.
Mar
15
awarded  Nice Answer
Mar
14
comment Why does Go have a special case for abs(0)
@user84386 - I assume Go uses IEEE floats, so it will have a sign bit, so both +0 and -0 are representible.
Mar
14
answered Why does Go have a special case for abs(0)
Feb
18
awarded  Caucus
Feb
5
comment How can I break my vendor lock-in situation?
Regarding the features of C# not available in Java, you might want to consider using Scala, which has a more powerful type system than Java and C#.
Jan
28
comment Should heavy binary files not be stored in database?
SQL server allows the contents of varbinary(max) columns to be stored on the file system, maybe there is something similar in Oracle.
Dec
21
answered OOP terminology in Ruby and C++