Tag Info

Hot answers tagged

4

There is not a "right way", you have to choose when "promote" a fragment of code in a method. Usually it make sense create a new method: when your main method is too long, bloated or complex (code readability/maintainability) when that fragment is used two times or more (no code duplication) when that frament could be used from two methods or more (code ...


3

They are looking for people that are enthusiastic about programming. People who have a lot of interest and get joy out of programming. They don't want someone who looks at the position as just a job, but instead as someplace they come to practice their hobby and get paid for it. Generally, if the employee is doing something they really enjoy then that means ...


1

This is heavily dependent on your situation at hand. You don't give much surrounding context. Who are you writing this for? Is it a throwaway script to fulfil a specific need right now or do you intend for it to be used and maintained further on down the line? If you're writing it for yourself then you can do whatever you want, it's only you that will be ...



Only top voted, non community-wiki answers of a minimum length are eligible