3,929 reputation
1530
bio website
location
age
visits member for 2 years, 6 months
seen 23 hours ago
stats profile views 312

Jun
12
awarded  Popular Question
Jun
11
comment Is it ok to replace optimized code with readable code?
@StevenBurnap: Well, sub esp 0x100 will always beat the heap based std::vector even with reserve, and also, first one is nothrow while the second is free to throw. But these are micro optimizations, and when coupled with pointer arithmetic, IMHO, should be replaced with std::* alternatives in most places.
Jun
11
awarded  Nice Question
Jun
11
asked Is it ok to replace optimized code with readable code?
Jun
11
answered How do you name your GUI controls?
Jun
10
comment Is an 'if password == XXXXXXX' enough for minimum security?
Yes, if it's inside client side Javascript (joke)
Jun
4
answered Is version history really sacred or is it better to rebase?
Jun
4
awarded  Favorite Question
Jun
2
comment how to avoid workaholic tag
Look up the term "burnout", it might not seem that it will affect you, but it will, eventually. And when it catches you, it might be enough that you will never want to work with computers again. Or, if you're lucky, you might just stop learning, self improvement, and loose motivation, productivity, joy, etc. for a long time.
Jun
2
comment Are there any real-world cases for C++ without exceptions?
JSF C++. Jets and exceptions don't mix.
Jun
2
comment Why do some programmers think there is a contrast between theory and practice?
@Giorgio: JSF and MISRA C is written so that there are no exceptions. Exceptions and rockets don't mix.
May
31
awarded  Nice Answer
May
23
comment What is the most complicated data structure you have used in a practical situation?
The most complex ones were always available from STL. Complexity usually comes from nested data structures, not from their type. Simple structure = good, unless profiler complains.
May
23
answered Testing thread safety
May
16
answered Is it considered bad practice to run different JavaScript for IE
May
10
comment Why is Global State so Evil?
Well, you can have a global config class which encapsulates the locking, and IS designed to change state at whatever time possible. I would choose this approach over instantiating config readers from 1000x places in the code. But yes, unpredictability is the absolutely worst thing about them.
May
1
comment My potential customer has a very bad written English. Is that a red flag?
It depends on the project. If the job is very flexible, the customer tells only the big picture, the details are up for developer to design, solve and implement, then it's not such a big deal. The job where every single thing is told to you could be in huge trouble though.
Apr
30
awarded  Taxonomist
Apr
25
comment Efficient try / catch block usage?
That's an API/language issue. C# also had this int.parse format exception. That doesn't make it exceptional in any way.
Apr
25
comment Efficient try / catch block usage?
Exceptions should never be caught. If you need to catch an exception, it's an ineffective code sprinkled with magic gotos, and are handling non-exceptional circumstances.