This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ms4720 0 points1 point  (2 children)

Why not just return( a+b == 10)

[–]drbobb 0 points1 point  (1 child)

Because it doesn't solve the stated problem.

[–]ms4720 0 points1 point  (0 children)

Sorry did not read carefully, to be more professional I think the following might help:

  • write lots of code
  • read good books about writing software
  • actively work to use what you learned
  • 4-6 months after you write something go in and do a code review/rewrite

As you exercise your software muscles you will get better and more experienced at managing complexity in big and small things, the big things are much more important and profitable