Reputation
1,243
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
6 21
Impact
~109k people reached

1d
comment Should HTML or CSS files count toward a “lines of code” metric?
Best! Comment! Ever !!
1d
comment When to use single-line if statements?
I am astonished that there is not one single mention of the word "breakpoint" on this page. If you are debugging and only want to stop when the action is taken, how will you do that if it is all on a single line? And if your stop on the single line and one-step, how do you know if any action was taken or not?
Jul
21
comment Is this awkward spacing some type of style?
Did you ask him?
Jul
15
comment Prevent Casual Piracy for Simple Utility
Real true ninja powwwwwwwwwer !!!!!!!!!!!! realultimatepower.net/index4.htm
Jul
10
comment What can go wrong with composing a method name out of a string?
Perhaps - but wouldn't the point of the question - "what can go wrong with this" - depend upon the language?
Jul
9
comment What can go wrong with composing a method name out of a string?
I forgot to check my calendar. Is it "guess the programing language day" again already? It seems to come around more quickly every year.
Jul
9
comment Saving to Registry vs. CustomFile
Which is why I went back to .INI files after coding only one application which sued the registry.
Jun
25
comment Seeking Delphi (Pascal) code beautifier
Btw, we now have a site for recommending s/w tools, such as this. See softwarerecs.stackexchange.com
Jun
18
comment FizzBuzz on Large Scale
Errrm, your code seems to check for divisible by 3 ELSE divisible by 5. What about FizzBuzz when it is divisible by both?
Jun
18
comment Error recovering emails in Delphi (POP3)
You should ask at stackoverflow.com but be sure to post your code and explain what it is expected to do and goes wrong. @Bart's answer below tells you what went went wrong, but please learn which site to use for which questions. How to Ask
Jun
18
comment “Read” a file without using a file pointer
" ... POSIX systems (which, obviously Linux is)" - en.wikipedia.org/wiki/POSIX states that Linux is "Mostly POSIX-compliant"
Jun
18
comment “Read” a file without using a file pointer
Yup! interviewSmell++; You do not want to work for a company which uses gotchas during the interview. You can either explain that clearly, or go into a long series of "am I allowed to ... ?", culminating with "am I allowed to move all of the piano tuners in Philadelphia to Mount Fuji (and place them under manhole covers)?" - then exit, stage left
Jun
9
comment How to add a new developer to the team
"Documentation and comments are incomplete" ... "The client has written down almost every detail about his project, in a very clear and "programmer-friendly" way". Get the new guy to translate the client’s writings into design documentation, then "There are unit tests only for more recent code. When this project started, we didn't regularly conduct tests" get him to write & run tests. He won't be getting in your way and will be contributing to the project
Jun
9
comment Working in a company that does not comment their code at all?
Do they ever sell the source code?
Jun
9
comment Working in a company that does not comment their code at all?
@Joeset Since a "senior dev" will delete comments before the OPs eyes, what do you think that they will do when they find comments and he isn't around? (hint: "I am helping everyone by removing this potentially misleading comment")
Jun
9
comment Working in a company that does not comment their code at all?
Aaaaaaaaaaaaaaaaargh!!!! @MainMa .... when I hear (normally from management,) a sentence which starts, "we don't have time to"; my brain automagically translates it to "we don't have time NOT to..:"
Jun
8
comment Event Driven Programming?
en.wikipedia.org/wiki/Finite-state_machine AKA State/Event machines are widely used in telephony. I have lost count of the number of handset projects I have worked where we coded in C.
Jun
8
comment Considerations before rewriting a software component from scratch?
To expand on @ratchetfreak 's answer. Write those regression test now. Write as many as you can to fulfil all known requirements/use case - and then some. After that, no matter which approach you take to rewriting/refactoring, these tests will be your best friends in all the world.
Jun
5
comment Do you think that exposure to BASIC can mutilate your mind?
Yup! GOTO is fine; it's labels that are evil ... mwuuuuhahahaha
Jun
3
comment What should I know about C++?
Time for the obligatory Stroustrup quote: "C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do it blows your whole leg off"