Reputation
14,650
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
5 41 61
Newest
 Good Answer
Impact
~326k people reached

Feb
5
comment What language(s) used to develop F-35 software?
There is no process in existence that can guarantee quality output, only consistent output.
Jan
23
comment Resuming a project where you left off
Just don't ever close your IDE and never reboot your computer! That's how I do it.
Jan
23
comment When is it appropriate to make a separate function when there will only ever be a single call to said function?
While I agree with your post, number of times something is called does play into it too.
Jan
15
comment How is rendering a Word document different from rendering a website?
Depending on what you are looking at, a car and boat can have more similarities than differences, e.g. if you are interested in their engines and power systems they share quite a lot in common. The exact same thing is going on with HTML vs Typesetting. In principle, they are doing very similar tasks, but for different design goals.
Jan
15
comment Single Responsibility - is this class doing too much?
Much of what defines whether it is doing too much or two little depends on how its going to be used, and how it fits in with the system as a whole.
Jan
1
comment How can we be certain that the lower components of computer programming like compilers, assemblers, machine instructions, etc. are flawless?
@recursion.ninja: formal methods only ensure your implementation and specification match, but it will do nothing to save you when your implementation is correctly doing the Wrong Thing™.
Jan
1
comment Is there a design pattern to remove the need to check for flags?
@DavidPacker: writing code adhering to SOLID principles doesn't automatically make it better, easier to test, or more reliable. Writing code that doesn't adhere to it isn't automatically crappy. Everything has trade-offs and sometimes SOLID is sensible, other times it is now.
Jan
1
comment Is there a design pattern to remove the need to check for flags?
@DavidPacker: If I was in the OP's position, and asked that question, Lightness Race in Orbit's comment is what I really need. "Finding a solution using design patterns" is already starting from the wrong foot.
Jan
1
comment Is there a design pattern to remove the need to check for flags?
@DavidPacker: correct is not defined by how well the code adheres to some guideline by some author about some programming ideology. Correct is "does the code do what it's supposed to do and was it implemented in a reasonable amount of time". If it makes sense to do it the "wrong way", then the wrong way is the right way because time is money.
Dec
29
comment python - differences between reusable code vs. code for solving specific tasks
Since your idea of "specific task" may differ from ours, an example of two might help in providing useful answers.
Dec
23
comment What is it exactly that makes programs platform dependent when they're using cross-platform APIs?
What do you think is going to happen if I design something with Vulkan in mind and someone tries to run it on MS-DOS 6.22?
Dec
16
comment Should I use HTTP status codes to describe application level events
When connecting to an API, I personally would rather get 200 on a 'file not found' when connecting to a valid endpoint, as then my HTTP handling doesn't have to bleed into the layer that handles the API on top of it.
Dec
4
comment Read data from a device through usb port at high frequency
@cauchy: with an effective rate of 6ms, or 1ms but with 6 samples queued every time you read the usb buffer? You need to make this explicitly clear because there is a significant difference between the two and your question and comments make it very unclear.
Dec
2
comment Extensible way to create bash program
My "XY problem" meter is hovering in the red.
Nov
26
comment How did the gets function ever make into the standard?
Things were a lot different in 1972.
Nov
24
comment Would UTF-8 be able to support the inclusion of a vast alien language with millions of new characters?
You're lacking in imagination. Dance choreographers have plenty of language and terminology they can use to describe and teach the dances the stage actors are to perform. If we were to learn what bees were communicating, we could definitely devise a written terminology for it. After all, most of our written languages today are an encoding of sound. Encoding movement isn't all that different from encoding sound.
Nov
22
comment How to avoid violating the SRP in a class to manage caching?
In the future you'd be better off with "widget" instead of fluffy for future similar questions, as a widget is understood to be a non-particular stand in for examples.
Nov
20
comment Write C line by line
@MarkMessa: not impossible, but it drastically changes the cost/benefit trade-off.
Nov
20
comment Write C line by line
Keep in mind, a typical line of a mathematica notebook does TONS more stuff than a typical line of a C program.
Nov
20
comment Should one check for every little error in C?
@Alex: there is definitely an excuse for being lazy, and that is that there are a finite number of hours in the day and I need to prioritize what delivers maximum value for minimum cost. Time spent making a check for something that's pretty much never going to happen is time I can't spend doing other things that are more valuable to the end result.