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

What is Tensorflow? - Tensorflow for Dummies Google Tensorflow 101

What is Tensorflow Tensorflow is a deep learning framework, and deep learning is a hot field of machine learning. It's like like rails...