rightfold

Ponyville

github.com/rightfold

Age: 18

I'm from The Netherlands. I'm very interested in functional programming, solving problems, ponies and writing good code.

1h
awarded Nice Question
5h
answered Sleepsort in Go
6h
asked Sleepsort in Go
7h
revised Print in order of termination?
edited body
7h
revised creating multi-dim arrays (JS)
camelCase is more idiomatic
11h
answered creating multi-dim arrays (JS)
1d
comment Why is the callback given to ReadFileEx() not receiving the correct OVERLAPPED structure?
@Mehrdad I understand you want to be helpful by answering your question (and I have no problem with that at all), but the question is kind of… incomplete. A code example demonstrating the problem can clarify the question, even to people who visit this page from Google.
1d
revised Adding multiple operands in an arithmetic expression in a Java String
edited title
1d
comment Why does my C compiler give a warning?
Don't do this. You'll run into buffer overflows quickly. Use scanf("%9s", input);.
2d
comment Why is sizeof(std::mutex)==40 (gcc,clang,icc)?
"A mutex could be implemented via a simple std::atomic<bool>" doesn't mean it's the optimal implementation.
May
21
awarded Good Answer
May
20
awarded Civic Duty
May
20
comment We need to be a little less hostile
@Mysticial it only got two more downvotes after it was posted in the lounge. Still, it was an abysmal question (dupe and very poorly worded).
May
20
awarded Popular Question
May
19
comment Can I determine the size/length of an array in C++ without having to hardcode it?
@rubenvb he didn't. He implied that the array was passed as a pointer to the function, and inside that function sizeof works on that pointer.
May
19
answered Necessity of Increment/Decrement Operator in C
May
19
comment Necessity of Increment/Decrement Operator in C
@huseyintugrulbuyukisik what do you mean by "if the compiler does from left to right"? Compilers are irrelevant, this isn't implementation-defined.
May
18
comment Are there any chat rules on Stack Overflow?
And why exactly would talking about music be a problem?
May
18
awarded Notable Question
May
17
asked Why is the chat link removed from Stack Overflow?
1 2 3 4 5