Click here to Skip to main content
15,897,371 members
Home / Discussions / Java
   

Java

 
QuestionJava Project Pin
Member 1359041122-Dec-17 7:42
Member 1359041122-Dec-17 7:42 
AnswerRe: Java Project Pin
Richard MacCutchan22-Dec-17 21:13
mveRichard MacCutchan22-Dec-17 21:13 
GeneralRe: Java Project Pin
barrontD2-Jan-18 19:28
barrontD2-Jan-18 19:28 
QuestionJava Pin
zakarie mukhtar abdi21-Dec-17 20:07
zakarie mukhtar abdi21-Dec-17 20:07 
AnswerRe: Java Pin
Richard MacCutchan21-Dec-17 21:44
mveRichard MacCutchan21-Dec-17 21:44 
RantRe: Java Pin
Richard Deeming22-Dec-17 2:05
mveRichard Deeming22-Dec-17 2:05 
GeneralRe: Java Pin
Richard MacCutchan22-Dec-17 3:58
mveRichard MacCutchan22-Dec-17 3:58 
AnswerRe: Java Pin
vishaljamdagni4-Feb-18 18:47
professionalvishaljamdagni4-Feb-18 18:47 
It is one of those good practices which you're asked to follow while writing your code because it makes a lot cleaner and concise code. This is similar as to why we programmers focus so much on indentation... Because whenever you're working on a big project chances are you may not be the only person working on it, so if someone else has to review your code it'll be a lot easier for him/her to get a reference as to where was each variable declared. Because you might be well aware of the haunting NullPointerException which just pops out of no where and can be really trick to negotiate if your code isn't clear.

Hope this helps. Cheers.

modified 8-Feb-18 1:09am.

QuestionJava1 Pin
zakarie mukhtar abdi21-Dec-17 20:03
zakarie mukhtar abdi21-Dec-17 20:03 
AnswerRe: Java1 Pin
Richard MacCutchan21-Dec-17 21:44
mveRichard MacCutchan21-Dec-17 21:44 
GeneralRe: Java1 Pin
barrontD3-Jan-18 19:50
barrontD3-Jan-18 19:50 
QuestionJava Pin
Member 1358560919-Dec-17 15:38
Member 1358560919-Dec-17 15:38 
AnswerRe: Java Pin
Richard MacCutchan19-Dec-17 22:02
mveRichard MacCutchan19-Dec-17 22:02 
AnswerRe: Java Pin
barrontD4-Jan-18 19:51
barrontD4-Jan-18 19:51 
QuestionHow to build a simple web crawler that gets events for a future date? Pin
Member 135663578-Dec-17 21:32
Member 135663578-Dec-17 21:32 
AnswerRe: How to build a simple web crawler that gets events for a future date? Pin
Richard MacCutchan8-Dec-17 22:28
mveRichard MacCutchan8-Dec-17 22:28 
GeneralRe: How to build a simple web crawler that gets events for a future date? Pin
Member 135663578-Dec-17 22:39
Member 135663578-Dec-17 22:39 
GeneralRe: How to build a simple web crawler that gets events for a future date? Pin
Richard MacCutchan8-Dec-17 22:52
mveRichard MacCutchan8-Dec-17 22:52 
GeneralRe: How to build a simple web crawler that gets events for a future date? Pin
Member 135663578-Dec-17 22:58
Member 135663578-Dec-17 22:58 
GeneralRe: How to build a simple web crawler that gets events for a future date? Pin
Richard MacCutchan8-Dec-17 23:07
mveRichard MacCutchan8-Dec-17 23:07 
GeneralRe: How to build a simple web crawler that gets events for a future date? Pin
Member 135663578-Dec-17 23:18
Member 135663578-Dec-17 23:18 
GeneralRe: How to build a simple web crawler that gets events for a future date? Pin
Richard MacCutchan8-Dec-17 23:23
mveRichard MacCutchan8-Dec-17 23:23 
GeneralRe: How to build a simple web crawler that gets events for a future date? Pin
Member 135663578-Dec-17 23:28
Member 135663578-Dec-17 23:28 
Questionhuffman codeing Pin
Member 125740473-Dec-17 19:48
Member 125740473-Dec-17 19:48 
AnswerRe: huffman codeing Pin
Afzaal Ahmad Zeeshan3-Dec-17 21:18
professionalAfzaal Ahmad Zeeshan3-Dec-17 21:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.