5,583 reputation
11536
bio website blog.svick.org
location Czech Republic
age 26
visits member for 4 years, 4 months
seen yesterday

Jan
23
revised How much logic can be put into a command? Or differently: What kind of logic is command pattern for?
list formatting
Jan
23
revised How much logic can be put into a command? Or differently: What kind of logic is command pattern for?
code formatting
Jan
18
comment Database performance comparison
"hto get this perfromanardware used" Did some other sentence crash into this one? :-)
Jan
8
revised Which code should I use to inform me of updates on websites?
list formatting
Jan
8
answered Optional referenced-type paremeter
Jan
7
comment Is a DLL developed in .NET is accessible from any language or operating system?
You don't need to recompile to use mono (assuming you're using the normal JIT version, and not its AOT compiler). And AFAIK, mono isn't lagging behind MS versions of C# and .Net (not anymore).
Jan
7
revised When should I use event-based programming?
syntax highligting
Jan
7
comment Why would a program require a specific minimum number of CPU cores?
"a software architecture which depends on independent threads running with specific timings is extremely fragile" Which is exactly why I can't imagine a game that doesn't run at all with 2 cores, but reliably works with 4 cores. Even with 4 cores, the timing will be unpredictable, so the race condition would occur too, even if less frequently.
Jan
5
revised What are 4th & 5th programming language generations? Are there more of them?
typo
Jan
2
revised Is there a conventional way to combine file path strings?
rm signature
Dec
21
awarded  Nice Answer
Dec
21
comment readability vs shorter code in returning from function
@NickSandor There is no dilemma, both will be compiled to the same machine code. And even if there was a speed difference, it's very unlikely that it would be measurable.
Dec
21
comment readability vs shorter code in returning from function
@user949300 I have added a note about that.
Dec
21
comment readability vs shorter code in returning from function
@DocBrown Why should it? Such optimization wouldn't result in faster execution (because the JIT can already optimize this), but would likely result in worse debugging experience (if you're for some reason debugging Release mode assembly).
Dec
21
revised readability vs shorter code in returning from function
added 247 characters in body
Dec
21
comment readability vs shorter code in returning from function
@DocBrown 1. That behavior is documented. 2. If you don't believe me and the documentation, you can try it yourself.
Dec
21
comment readability vs shorter code in returning from function
According to Knuth, it's 97/3.
Dec
21
comment readability vs shorter code in returning from function
@DocBrown That doesn't look like the optimized machine code I'm getting. Look at my updated answer.
Dec
21
revised readability vs shorter code in returning from function
added 993 characters in body
Dec
21
answered readability vs shorter code in returning from function