3,253 reputation
1424
bio website blueraja.com/blog
location
age
visits member for 4 years, 3 months
seen 20 hours ago

Aug
8
comment Is it wise to be going back and forth between two programming languages?
@luis.espinal: It's pretty common knowledge. Here's a source.
Aug
8
comment Is it wise to be going back and forth between two programming languages?
Most people only consider something a "Programming language" if it can be used for programming things (ie. is Turing Complete). HTML, XML, Regex, CSS, XPath/XSLT/XQuery are not considered programming languages; neither is the tiny subset of SQL used by most developers.
Aug
8
comment How big does my project need to be for me to unit test it?
Uh, I think you missed one: "Making sure the code works the way it's supposed to!"
Aug
7
comment Why the question “give five things you hate about C#” is so difficult to answer during an interview?
What use-case could you have for variable number of generic types that type-constraints wouldn't solve? Also, read-only properties are supported (public MyProperty { get; private set;), but they are usually considered a code-smell
Jul
18
comment Why aren't design patterns added to the languages constructs?
There is also a school of thought (to which I belong) that says design patterns are just workarounds for deficiencies in a language. In their eyes, all existing design patterns would not exist in the perfect language; but considering the most popular languages are far from perfect, we're stuck with these workarounds. (Example)
Jun
12
comment Should I tell a departed coworker about their “sev 1” defect?
Wouldn't the former employee still be under NDA?
May
17
comment What would be the Impact of P=NP?
@David: Wikipedia is (somewhat) incorrect; semantic security is a property that is desired in all encryption-schemes. The confusion probably comes from the fact that, currently, the only known provably secure encryption schemes are asymmetric (due to their inherently mathematical nature). Note that RSA is not one of them.
May
16
comment What would be the Impact of P=NP?
@Jerry: David is confused. Both encrypting and decrypting with a block cipher, given the key, are already in P; however, if you are not given the key, the problem is no longer in NP, since you cannot verify in polynomial time that the output of a semantically-secure cipher is actually an encrypted string (this is one of the definitions of a semantically-secure cipher). Also, for the record (in response to Macneil/Mason) - one time pads alone are not secure against man-in-the-middle attacks, even if both sides already have the key.
May
16
revised What would be the Impact of P=NP?
presumably this is what he meant
May
16
suggested approved edit on What would be the Impact of P=NP?
May
16
comment What would be the Impact of P=NP?
+1 for the third bullet point - everyone knows that P=NP would affect crypto, but for some reason you rarely hear about how it would affect literally every other computing discipline on the planet.
May
10
comment Why is Global State so Evil?
@Truth see also
May
10
comment Is it wrong to use a boolean parameter to determine behavior?
I would prefer file.save(useEncryption: false)
May
10
comment Is it wrong to use a boolean parameter to determine behavior?
@Ray: I don't see a difference between those two questions. In a language where you can enforce the use of named parameters, or when you can be sure named-parameters will always be used (eg. private methods), boolean parameters are fine. If named parameters can't be enforced by the language (C#) and the class is part of a public API, or if the language doesn't support named parameters (C++), so that code like myFunction(true) might be written, it's a code-smell.
May
10
answered Is it wrong to use a boolean parameter to determine behavior?
May
10
comment What is meant by “native support for a feature” in a programming language?
Or you could say it's natively supported but not common/not the default. It's just semantics.
May
3
comment When is unit testing inappropriate or unnecessary?
"The code needs to interact with other deployed systems; then an integration test is called for." - that's what mock objects are for
Apr
23
awarded  Nice Answer
Apr
12
comment I just started a job with Scrum and something seems to be missing. I am new to Scrum
@Erik: No, it does not. Almost always it is an entirely new set of devs demanding a total rewrite, and almost always that is a bad idea.
Mar
31
awarded  Nice Answer