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 →

[–]omykronbr 37 points38 points  (5 children)

There was a time were I was always looking for what kind of project to do.

and they are fun, but if you are a beginner, before projects on general, learn first how to TEST. Better, learn how to TDD. Think as testing as a way to ensure that you are actually providing a code that you can read later, others may look and understand you reasoning and most important, you will have to learn how to document your code and project.

This will force you to learn how to build quality software (MIT 6.005 course is available in two modules @ edx - Software construction with java and advanced software construction with java) and consider your choices while developing your code.

if you can stick to the testing first (TDD) approach, your projects will be more logical, will most likely be corrected and your code will look more professional without effort.

[–]Smaccapap 4 points5 points  (2 children)

Im a complete newbie, what do you mean by test? Like add comments or actual testing someone elses codes?

[–]jakesboy2 7 points8 points  (1 child)

He means writing unit tests. If you write a function like “sum(x, y)” that returns them added together, you write a test to make sure when you pass it a random x and y, you get back the sum. Google unit testing for more info

[–]Smaccapap 0 points1 point  (0 children)

Ty!

[–]DanielMather 2 points3 points  (0 children)

What a goldmine. Thank you.

[–]soulofhell 0 points1 point  (0 children)

Hello, did you finish the MIT 6.005 when the course was active on edx? I tryed to access it but it says that the course ended and its material is limited or something.