How to start competitive programming? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]
Returning a mock object from a mock object
I’m trying to return an object when mocking a parser class. This is the test code using PHPUnit 3.7
Is it a bad practice to write shell script with many if-else statment and for loops?
I am maintaing several data process shell scripts which are full of if-else statements and for loops . I try to make the scritps tidy and easy to debug.
Everything has an Interface [duplicate]
Possible Duplicate:
Do I need to use an interface when only one class will ever implement it?
What kind of process should I use to learn a big system? [duplicate]
Possible Duplicate:
How do you dive into large code bases?
Why use other number bases when programming
My coworkers and I have been bending our minds to figuring out why anyone would go out of their way to program numbers in a base other than base 10.
Refactoring and Open / Closed principle
I have recently being reading a web site about clean code development (I do not put a link here because it is not in English).
Should HTTP Verbs Be Used Semantically?
If I’m making a web application which integrates with a server-side backend, would it be considered best practice to use HTTP methods semantically? That is, for example, if I’m fetching data (e.g., to populate a menu, etc.), I would use GET, but to update data (e.g., save a record), I would use POST. (I realise there are other methods that may be even more appropriate, but we need to consider browser support.)
Is perfectionism a newbie’s friend or enemy? [duplicate]
Possible Duplicate:
Where do you draw the line for your perfectionism?
Are XML Comments Necessary Documentation?
I used to be a fan of requiring XML comments for documentation. I’ve since changed my mind for two main reasons: