2,444 reputation
2617
bio website github.com/CodesInChaos
location Frankfurt, Germany
age
visits member for 3 years, 10 months
seen 7 mins ago

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”?
Mar
7
comment Open source software with good code documentation to improve design skill
Not exactly what you want, but might be interesting: The Architecture of Open Source Applications
Mar
5
comment Should I test inherited methods?
IMO deriving a Manager class from Employee was the first major mistake.
Mar
5
comment What are some JavaScript selectors?
I don't see a big problem with calling the selectors used by querySelector etc "javascript selectors", just like you often call selectors used in css "css selectors". May not be the most accurate use of terminology, but calling them "morons" for it is a bit over the top.
Mar
4
awarded  Pundit
Mar
3
comment Best practices to avoid fake profiles?
Have the user pay money to register :P
Mar
3
comment Communication between a C# application and C++ DLL
This only works well if the API only exhibits C types. Using an API that exhibits C++ types that way is problematic.
Mar
3
comment Should a method's parameter list contain objects or object identifiers?
Context? Webservice? WCF?
Mar
2
comment Why is the usage of string keys generally considered to be a bad idea?
That specific case is clearly about performance. A "symbol" in this context is still just a string, but one that has a single canonical instance. Which reduces memory use, and allows comparison by simply comparing the reference instead of the value.
Mar
2
comment Why is the usage of string keys generally considered to be a bad idea?
You usually want primary keys that don't change over the lifetime of an object/row. So for example username as the primary key of a users table is probably not the best idea, and you'd prefer an auto-increment id. But that username is a string is only incidental, being a mutable property is the main issue
Mar
2
comment Why is the usage of string keys generally considered to be a bad idea?
Having string keys is not a bad idea in general. I suspect those statements were made in a context where a better key type is available. I have have .net dictionaries with string keys all the time. Can you give some examples of this claim?
Mar
2
comment Why shouldn't a GET request change data on the server?
@Brandon Modern browsers send the host domain in the clear as part of the TLS handshake (known as server name indication), to allow hosting more than one domain per IP address. The path/query part of the url is protected by TLS. There is no difference between GET and other HTTP verbs in that regard.