936 reputation
814
bio website not-implemented.com
location
age
visits member for 4 years, 3 months
seen Dec 4 at 19:15

May
25
comment In languages that don't allow underscores in integer constants, is it a good practice to create a constant for 1 billion?
I think the NANOSECONDS_IN_ONE_SECOND solution is much clearer and neater
May
20
comment Why is it a good idea for “lower” application layers not to be aware of “higher” ones?
What do you mean by "making the system understandable by normal people" ? I think phrased like that it encourages new programmers to reject your good points because, like most people, they think they are smarter than most people and this won't be a problem for them. I would say "making the system understandable by humans"
Mar
5
comment Are exceptions as control flow considered a serious antipattern? If so, Why?
This doesn't answer the question though. What they were designed for is irrelevant; the only thing that is relevant is why using them for control flow is bad which is a topic you didn't touch. As an example, C++ templates were designed for one thing but are perfectly fine to be used for metaprogramming, an use the designers never anticipated of.
Dec
13
comment As a software architect, am I supposed to focus that much on analysing the logs and fixing other's bugs?
what is a "level 2 support".. sounds like a game ahah
Aug
23
comment Can my company give IP rights away for an application I wrote off hours to another startup?
I never thought you were a lawyer (why would I?). I also don't know why you feel the need to state it.
Jun
26
comment Should you keep a copy of all the code you write?
@Camilo: not even that unlikely. Usually they get your hard drive and do nothing with it for a couple of years and then they ask for the password.. Forgetting it after not having used it for years is very possible
Jun
25
comment Should you keep a copy of all the code you write?
@Malfist: your link is from 2009, I have here a federal ruling ca11.uscourts.gov/opinions/ops/201112268.pdf dated February 23, 2012. This ruling stated that the defendant isn't required to provide the encryption key.
Jun
25
comment Should you keep a copy of all the code you write?
@Malfist: not if doing so will incriminate yourself (due to the fifth amendment). There is a legal precedent for this. blogs.wsj.com/law/2012/02/23/… . So all you have to do is keep something illegal in your hard drive, and automatically you cannot be subpoena'd for the key.
Jun
25
comment Should you keep a copy of all the code you write?
Use truecrypt and have some illegal material in your hard drive, so that you are automatically protected by the Constitution against being forced to produce the password since that would make you incriminate yourself :)
May
27
comment Why most job offerings are for a <language here> developer, rather than a developer in general?
Someone who has experience in a language is going to do the job much more quickly and much more cleanly, thinking otherwise is just delusional.
May
26
comment Why C++ to write a compiler?
I think that has much more to do with the people writing the compiler knowing well and liking a lot the language they are writing a compiler for than for objective technical reasons.
May
25
comment Fear of releasing a hobby project - how to overcome?
@Caleb: that's always true. The goal is always to ship a product and it's never to write code!
Apr
11
comment Is the phrase “never reinvent the wheel” suitable for students?
I think learning not to reinvent the wheel is more important. There are many things you can do that don't involve creating something that was already created.
Mar
28
comment Bug reopen vs. new
Citing bug IDs in patch notes is just.. very unfriendly.
Mar
19
comment Is it a waste of time to free resources before I exit a process?
If there is a leak and you never notice it, then it's not a problem. The goal is not to create a perfect program, the goal is to create a program that the end user will like.
Feb
17
comment Is it possible to speed-read code well?
From the wording he used in the post, I think he wants to do basically a code review. "emphasis on debugging and finding issues".
Feb
6
comment When stuck, how quickly should one resort to Stack Overflow?
@David: "But asking your own question is something that you shouldn't do, until you've tried really hard to answer the question for yourself" ==> If everyone did that then the first step ("try searching for a question") wouldn't work since basically any problem can be resolved without asking on stackoverflow, so no questions would ever be asked and this website wouldn't exist. If the question is not obvious and doesn't exist, asking it will benefit all the other people who will encounter the problem again.
Jan
18
comment typedefs and #defines
Defines also make error messages incomprehensible
Dec
22
comment Is it considered bad practice to have PHP in your JavaScript
Remember not to put your MySQL password in $cfg though!!
Dec
18
comment Do we still have a case against the goto statement?
@Andy: I don't care if 99% or 10% or 76.54% of programmers don't have a need to use goto. You said that "gotos are unnecessary", this means they always are and for all programmers. I gave you in total 4 valid reasons for their use, I can find more. If you said "gotos are usually unnecessary" I would agree with you.