Reputation
13,496
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
4 37 60
Newest
 Quorum
Impact
~266k people reached

Sep
6
comment Intentionally incorrect use of language features, specifically “ref” in C#, as a hint to colleagues
"opens the door for programmers to make dangerous mistakes that can cause very nasty bugs that are difficult to track down." That is unavoidable no matter what you are doing.
Aug
28
comment Are C static libraries frowned upon?
@FlorianMargaine: That question doesn't even make sense. Whether you use dynamic or static linking depends on your compiler settings when you build. There is no default.
Aug
28
comment Are C static libraries frowned upon?
Static libraries are frowned upon? They are still used all over the place.
Aug
28
comment From a technical point of view, could JavaScript be compiled instead of interpreted?
Obviously ignoring the semantic minefield we are approaching, since the major C implementations compile to native machine instructions, unless your some_js_vm.h results in your JS results in native machine instructions as well (through some amazing preprocessor magic), I don't think your JS is compiled in any meaningful sense.
Aug
28
comment From a technical point of view, could JavaScript be compiled instead of interpreted?
Your "some_js_vm" would be interpreting it anyway, so your javascript really isn't compiled.
Aug
19
comment How should I design a wizard for generating requirements and documentation
Eventually, this utility will morph into some code generation tool or similar, and before long you will be spending all your time have implemented your own half-backed programming platform, in addition to the software you need to actually make.
Aug
14
comment Should we only catch in exceptional circumstances?
If "permitting the exception to bubble up" is unacceptable then you might as well switch off exceptions.
Aug
14
comment Calculate Pi to N number of places
You'll have to roll your own arbitrary-precision number library or use one that is already written.
Aug
6
comment Where are C variables declared
@floopdagoop: which is better is a question different than what you asked. programmers.stackexchange.com/questions/56585/…
Aug
4
comment Is making a small change, testing it, then “rinse and repeat”, a bad habit?
One task one commit sure has the potential to make the VCS log an incomprehensible mess for various definitions of "single task"
Aug
4
comment Why does Microsoft still ship VBA within Office products, instead of integrating .NET directly?
@Kiril: a lot of very dodgy characters would also be very happy to embed dlls in documents, but not for your benefit.
Aug
4
comment Why do VMs not execute the assembly directly?
Whenever someone uses the phrase "ones and zeros" 99% of the time they are confusing whatever they are trying to describe. Don't think of "ones and zeros", everything is in bytes.
Jul
26
comment Is too much whitespace a bad thing?
An example would be helpful.
Jul
24
comment How much data should exceptions hold?
Never say never. Furthermore, exceptions are often used for error conditions you do expect to have to deal with, and often are. Even something as simple as opening a file is best handled via exceptions.
Jul
23
comment Why is polling accepted in web programming?
There are many perfectly sensible solutions and algorithms in computer-space that would be completely absurd to do in meatspace.
Jul
3
comment How does the “Fourth Dimension” work with arrays?
@ColtonAllen: I'm not aware of any term for that. That just sort of begins to be conceptualized as a hierarchical data structure rather than an array.
Jun
22
comment How to determine number of resources to be allocated in a software project?
When you say "resources", do you really mean people?
Jun
15
comment Whole Program in CASE
You should not be worrying about the efficiency of a function call yet. Write idiomatic, sensible code first, then measure for optimization only after a problem is identified.
Jun
3
comment Infinite loop with a singleton - does this type of issue have a name?
Best way to avoid it: Don't use singletons.
Jun
2
comment Is it good practice to analyse who introduced each bug?
This is both a duplicate questions and a terrible idea, for reasons documented in the duped question.