11,928 reputation
22247
bio website
location
age
visits member for 3 years, 2 months
seen 13 mins ago

4h
comment Does it matter if a website is W3C valid?
if you are W3C valid you can be sure that all compatible browsers will display it according to the rules
5h
comment Why was the first compiler written before the first interpreter?
and without a compiler you'd have to write the interpreter in assembly
5h
comment Why was the first compiler written before the first interpreter?
because there was more need for a compiler than a interpreter at the time
5h
comment Why (most?) retro computer emulators are single threaded?
creating an emulator is hard you don't want to make it harder by including multithreading
17h
comment Found NDA code online, does the NDA effect me?
knowingly using stolen/ill-gotten code is not legal
20h
comment Where should light come from in a programmers environment?
hasn't been for a long time, anyone who told you that is giving you false information.
20h
comment Where should light come from in a programmers environment?
This question appears to be off-topic because it is about ergonomics of the dev environment.
2d
comment Is too much whitespace a bad thing?
a good compiler will not even care about whitespace as it will compress it into a single token during the tokenizing pass
Jul
24
comment How should a REST API handle PUT when missing parameters?
or error out and not do anything
Jul
22
comment Can I refactor “safely” without specs?
create unittexts then refactor as a safety net
Jul
22
comment How should I remember what I was doing and why on a project 3 months back?
comments and commit messages, there's a reason people tell you to leave them
Jul
22
comment How comes the C++ standards committee introduces a keyword like nullptr and gets away with it?
@Wildling when nullptr isn't NULL then something is wrong with your code on a more fundamental problem
Jul
22
comment How comes the C++ standards committee introduces a keyword like nullptr and gets away with it?
"How many breaking changes were introduced? That many? Well one more wouldn't hurt, right?"
Jul
22
comment How to load a dynamic array from file?
never write pointers to a file, they are never valid when read back in
Jul
20
comment Online Shopping password keylogger risk
if you enter the details on their page then they can access those details, if you are redirected to your bank's site then only the bank can access it and the bank sends a security token
Jul
18
comment Building software with version numbers
fork on the commit that you want to release, versionize and tag the result
Jul
17
comment Why does C have no competitors in low level stuff?
1 word, inertia
Jul
17
comment Do immutable objects that constantly change impact memory/performance?
most garbage collection is geared towards many short lived objects, though spawning thousands in a tight loop will still cause slowdown
Jul
17
comment Partial sorting problem
keyword: topological sort
Jul
16
comment Simple straight-line path algorithm
otherwise there is a line drawing algorithm for if you need to move in a grid: en.wikipedia.org/wiki/Bresenham%27s_line_algorithm