3,083 reputation
1322
bio website blueraja.com/blog
location
age
visits member for 3 years, 11 months
seen Dec 14 at 0:10

Sep
26
comment Return random `list` item by its `weight`
See also
Aug
29
comment Why do we have to use break in switch
@Jon "And the translation back [to assembly]" would be compiling.
Aug
28
comment Why do we have to use break in switch
It was a poor decision made by the C-designers (like many decisions, it was made to make the transition from assembly --> C, and the translation back, easier, rather than for ease of programming), which was then unfortunately inherited in other C-based languages. Using the simple rule "Always make the common case the default!!", we can see that the default behaviour should have been to break, with a separate keyword for falling through, since that is by far the most common case.
Aug
21
revised How to explain that sample size does not influence project length
grammar fix
Aug
21
suggested approved edit on How to explain that sample size does not influence project length
Aug
16
answered Reverse engineering: what is it really good for?
Aug
15
comment Asking back technical questions during the interview (as the interviewee)
Not sure I agree with "use lots of terms that lesser developers wouldn't understand" - I often find that it's the lesser-developers who throw around the fancy marketing words (like constantly using the phrase 'n-tier', or naming off every design pattern under the sun), whereas the better developers understand what they are, but only use them in conversation when it's absolutely appropriate, which is pretty rare. This could really make you look bad.
Aug
8
comment Is it wise to be going back and forth between two programming languages?
@Tacroy: But the question is specifically about programming languages. OP most likely already knows HTML/CSS/Javascript/SQL if he does web-development in PHP; but he's not asking about that. He's asking if learning another programming language would be a good idea.
Aug
8
comment Is it wise to be going back and forth between two programming languages?
@luis.espinal: Did you read the top answer? (which is definitely "a source" for any claim of "most programmers think"...)
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.