984 reputation
615
bio website lightnesspyramid.com
location Nottingham, United Kingdom
age
visits member for 3 years, 11 months
seen 11 hours ago

♪ The autumn leaves keep turning to the colour of your hair. ♫

#MySenseOverIntelliSense

I think that Clueless was very deep. I think it was deep in the way that it was very light. I think lightness has to come from a very deep place if it's true lightness. — Alicia Silverstone


Upvotes are not for "correcting" downvotes. It is not your job to take away somebody else's right to vote. Only upvote if you thought that it was a great question/answer, not because you disagreed with somebody else's downvote.


        


20h
comment How do quick & dirty programmers know they got it right?
Why do you think it's called "dirty"?
2d
comment Is the 'finally' portion of a 'try … catch … finally' construct even necessary?
@MartinJames: Except the standard clearly states that an implementation is allowed to assume that none of those things occur. So, you're talking about UB and that has no bearing on a language design comparison.
Jan
23
comment If-else in C++ Programming Language
-1 because it's off-topic and because you appear to be programming by wildly guessing, which is just never going to work, is it?
Jan
23
comment If-else in C++ Programming Language
This should be on Stack Overflow.
Jan
18
comment Why are there so many programming languages? Why are new languages still being made?
Not unrelated: xkcd.com/927
Dec
28
comment Is every language written in C?
@Michael: "isn't 'C but with C++ features' sort-of the definition of C++" NO!
Dec
23
comment Why is *declaration* of data and functions necessary in C language, when the definition is written at the end of the source code?
@user31782: The compiler doesn't print the value. Your compiler doesn't run the program!!
Dec
18
comment Are all magic numbers created the same?
I wouldn't use a constant for 1024^2, either; 1024*1024 plz!
Dec
17
comment What is a good word for the current “state” of a state machine?
Ooh I do like "stage"...
Dec
17
accepted What is a good word for the current “state” of a state machine?
Dec
17
comment What is a good word for the current “state” of a state machine?
@ratchetfreak: Could you state that again?
Dec
17
comment What is a good word for the current “state” of a state machine?
I've used "the state of the machine" elsewhere, in longer prose where the idea that "the machine" is short for "the state machine" has already been safely introduced. That's not the case here, so I think I'll stick with "the current state of the state machine" as you say. Thanks.
Dec
17
asked What is a good word for the current “state” of a state machine?
Nov
25
comment How to break up a programming project into tasks for other developers?
"As long as you are editing different parts of the same files, you wont get conflicts. If you do get conflicts, they will be clearly marked as such." That's overly simplified. "Physical" conflicts are one thing but it's very easy to break the semantics of someone's code from sixty lines up by changing code sixty lines down, without the version control system being able to tell you about it. It's important that developers can read and interpret diffs during merge.
Nov
24
comment Function guaranteed to never return the same value twice
@Telastyn: The resolution of context-switching in modern CPUs is at least 1ms, last I checked. As for clock manipulation, if you're not using the monotonic clock then that's your own fault :P As it is if you've exposed yourself to DST (wtf) as explored above
Nov
24
comment Function guaranteed to never return the same value twice
@DocBrown: I guess what I'm trying to say is that, for pseudocode, it's insufficiently clear as to what Interlocked does.
Nov
24
comment Function guaranteed to never return the same value twice
Unless you're returning the date & time in a human-readable format, your value shouldn't have any timezone information inside of it anyway.
Nov
24
comment Function guaranteed to never return the same value twice
What language is this? What is Interlocked?
Nov
7
answered Is it good practice to rely on headers being included transitively?
Oct
22
comment Why are floating point numbers used often in Science/Engineering?
@supercat: Fixed point isn't hard.