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.

1 comment:

  1. Below are the 15 best Minecraft mods everyone should try. Optifine. No matter if it's your first time playing Minecraft or you've been playing it for a long time now. 9minecraft mods

    ReplyDelete

React UI, UI UX, Reactstrap React Bootstrap

React UI MATERIAL  Install yarn add @material-ui/icons Reactstrap FORMS. Controlled Forms. Uncontrolled Forms.  Columns, grid