BlueRaja - Danny Pflughoeft

less info
2,931 reputation
1322
bio website blueraja.com/blog
location
age
visits member for 3 years, 3 months
seen Mar 30 at 11:11

May
14
revised Did the developers of Java consciously abandon RAII?
rolled back to a previous revision
May
14
revised Did the developers of Java consciously abandon RAII?
added 37 characters in body
May
9
revised Did the developers of Java consciously abandon RAII?
added 20 characters in body
May
9
comment Why is there no 'finally' construct in C++?
See also Did the developers of Java conciously abandon RAII?
Apr
30
comment Where did the convention of naming command line arguments as 'argv' come from?
Representing a string of characters as a vector is way older than BCPL (see, for instance, any old book on the theory of computation). In fact, the concept is probably older than the word "string" (as a sequence of characters) itself..
Apr
12
awarded  Good Answer
Feb
4
comment Why does automated testing keep failing in my company?
Making code testable requires a lot of sacrifices, not because testing is a bad idea, but because the languages we use simply weren't designed for it. However, even with those sacrifices the benefits greatly outweigh the losses; I can't even count the number of times I've made a "simple" change, and a unit-test caught a bug that probably would have cost me hours of debugging. The company I used to work had a large codebase with > 95% test-coverage, and it worked well.
Jan
28
awarded  Nice Answer
Jan
26
comment Is Ken Thompson's compiler hack still a threat?
@supercat: You seem to be missing the point. You're saying that the hack Ken Thompson presented can be worked around. I am saying that the particular hack he chose doesn't matter; it was just an example, to demonstrate his larger point that you must always trust someone. That's why this question is somewhat meaningless - it completely misses the forest for the trees.
Jan
26
revised Is Ken Thompson's compiler hack still a threat?
added 60 characters in body
Jan
25
answered Is Ken Thompson's compiler hack still a threat?
Jan
20
awarded  Yearling
Jan
18
comment My boss has a bad case of “Not Invented Here”
Another MS-connect feature request for user-defined functions, which hasn't been closed yet, for those so interested: https://connect.microsoft.com/SQLServer/feedback/details/742002/ssis-package-pa‌​rts-revisited#tabs
Jan
18
comment My boss has a bad case of “Not Invented Here”
Aside from not being compatible with source-control, SSIS still has no user-defined functions, despite it being by-far the most requested feature on Microsoft Connect for many years. Because of this, SSIS solutions tend to be sloppy and have code copied all over the place. More than likely, implementing any non-trivial logic from C# in SSIS would make the code much less clean and much harder to maintain.
Oct
26
revised Why don't research papers that mention custom software release the source code?
added 2 characters in body
Oct
26
answered Why don't research papers that mention custom software release the source code?
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