2,425 reputation
2617
bio website github.com/CodesInChaos
location Frankfurt, Germany
age
visits member for 3 years, 9 months
seen 18 hours ago

Mar
14
suggested suggested edit on How to make .exe file from html5 css application?
Mar
13
comment Performance and other issues with using floating point types in C++
@Sjoerd Your claim might have been true in the age of x87. But I doubt that's true anymore thanks to SSE (and similar SIMD instruction sets). I believe SSE can work on twice as many 32 bit floats at the same time, so I'd expect an approximate factor 2 speedup with 32 bit floats over doubles if the algorithm can be parallelized. But modern CPUs are complex, a lot depends on the specific situation.
Mar
12
comment Is Non-Deterministic Resource-Management a Leaky Abstraction?
"If you make a subtype that doesn't require special destruction" That's not a LSP violation, since no-op is a valid special case of destruction. The problem is when you add the destruction requirement to a derived class.
Mar
12
comment Is Non-Deterministic Resource-Management a Leaky Abstraction?
With refcounting you need to be careful about avoiding circles. So that abstraction leaks as well, just in a different way.
Mar
12
comment How do I know if I have a good programming professor?
How do you define "good"? Learning a lot? Getting good grades? Having fun?
Mar
11
awarded  Great Answer
Mar
11
awarded  Good Answer
Mar
11
awarded  Mortarboard
Mar
11
revised Can commented-out code be valuable documentation?
added 638 characters in body
Mar
11
awarded  Nice Answer
Mar
11
comment Do TODO comments make sense?
In that case you could simply throw a new NotImplementedException() which is implies a ToDo.
Mar
11
answered Can commented-out code be valuable documentation?
Mar
9
comment What's the max age you can still be employed as a programmer?
I'd guess there are fewer old programmers since there were fewer computers when they were young. Many of them might also work maintaining systems written with old technologies.
Mar
9
comment Re-writing a large web application - alternatives to LAMP
What platforms/languages do your programmers know well? Starting a large project on a platform you don't know well doesn't sound like a good idea. If they're best in php, then use php. Php may not be the nicest language, but you can still write decent code in it, and in your case it makes it easier to be compatible with the old system.
Mar
9
comment Is garbage collection needed for implementing safe closures?
@Giorgio What happens if you close over a function pointer, and assign one of the functions that closed over it to it?
Mar
8
comment How to create p2p enviroment in single laptop?
Does the program support starting multiple instances on a single system?
Mar
8
comment Can a programmer renounce ownership of source code?
See How to release project under public domain? and What's the difference between WTFPL, CC0, and public domain?
Mar
8
comment What API is required for code completion/syntax highlighting/similar IDE features?
Incrementally updating your AST on small changes to the file might be useful.
Mar
8
revised Is there a constant for “end of time”?
fixed syntax highlight (and removed stupid vote-lock)
Mar
8
suggested suggested edit on Is there a constant for “end of time”?