1,163 reputation
1811
bio website
location Umeå, Sweden
age 30
visits member for 2 years, 11 months
seen 22 hours ago

C++ developer at heart, loves to play around with graphics APIs.


Nov
6
answered Does comparison operand order affect speed?
Oct
30
awarded  Enlightened
Oct
25
awarded  Good Answer
Oct
24
awarded  Editor
Oct
24
revised Execute code every hour
elaborating on why cron is a solution
Oct
24
awarded  Mortarboard
Oct
24
awarded  Nice Answer
Oct
24
answered Execute code every hour
Oct
20
answered Why error codes are negated?
Oct
19
comment Is it okay to define a [] method in ruby's NilClass?
This smells like Perl autovivification. There's many fine caveats there, and you should probably find out which before changing a global behaviour of your language just in order to be lazy.
Oct
13
comment Is the use of “utf8=✓” preferable to “utf8=true”?
I can't quite see how it would save you from having to validate input, considering that you always have to consider malicious input for public interfaces.
Oct
4
comment Two interfaces with identical signatures
The only reason that this question even appears is because your functions have access to way too much state, due to the incredibly wide and unconstrained Player and GameState parameters.
Oct
4
awarded  Fanatic
Sep
29
comment Visual Studio 2012 - Express vs Professional
It's not worth a proper answer, but if you're doing desktop graphics, the Graphics Debugging feature is currently only available in paid SKUs.
Sep
29
comment Visual Studio 2012 - Express vs Professional
Thankfully in 2012, they at least combined the different languages into a single Desktop edition.
Sep
29
comment Using T[1] instead of T for functions overloaded for T(&)[N]
Yes, you have is_pod in C++11. Boost.Asio hasn't abandoned all the people with C++03 compilers yet. Just because a new language standard appears doesn't mean that everyone magically are on conformant compilers, particularly not for existing products.
Sep
28
comment Using T[1] instead of T for functions overloaded for T(&)[N]
How do you SFINAE on PodType being, well, a POD type? I believe that any type traits that could do that need some sort of compiler assistance.
Sep
24
comment How mature is FreeBASIC?
Version numbers are very project-specific things. Some projects reserve the major digit for something very special and just keep revving the minor and micro versions.
Sep
22
awarded  Nice Answer
Sep
22
comment Why isn't the arrow operator in C++ just an alias of *.?
It illustrates the last paragraph of my answer, how using the -> operator chains until it gets a raw pointer to something, dereferencing and accessing a member of it. If operator -> didn't chain, the example would be ill-formed as a shared_ptr is not a raw pointer.