Ad

Saturday, January 30, 2016

Codecademy Learn Java tutorial walkthrough 6 white space

Java can ignore whitespace in code but whitespace and comment helps make the code more readable. Code is for computers to read but humans need to maintain it. Readable code, clean concise well annotated code, is an important developer best practice. During job interviews, good candidates are usually distinguished by their ability to solve the problem in a concise and well structured manner. 

This exercise required students to move
System.out.println(isFormatted); 
to a new line, specifically line 5.

This is a real scenario where another developer refers to the code by line number and gives specific instructions. Codecademy mimics the professional world well.

No comments:

Post a Comment

Amazon Alexa 101 - How to make your first app

Code helloworld app using Amazon Alexa. Make your first voice search, voice assistant app. Amazon Alexa app making for dummies. Learn to cod...