Click here to Skip to main content
14,454,632 members
   

Java

 
QuestionJava Project Pin
Member 1359041122-Dec-17 8:42
MemberMember 1359041122-Dec-17 8:42 
AnswerRe: Java Project Pin
Richard MacCutchan22-Dec-17 22:13
communityengineerRichard MacCutchan22-Dec-17 22:13 
GeneralRe: Java Project Pin
barrontD2-Jan-18 20:28
MemberbarrontD2-Jan-18 20:28 
QuestionJava Pin
zakarie mukhtar abdi21-Dec-17 21:07
Memberzakarie mukhtar abdi21-Dec-17 21:07 
AnswerRe: Java Pin
Richard MacCutchan21-Dec-17 22:44
communityengineerRichard MacCutchan21-Dec-17 22:44 
RantRe: Java Pin
Richard Deeming22-Dec-17 3:05
communityengineerRichard Deeming22-Dec-17 3:05 
GeneralRe: Java Pin
Richard MacCutchan22-Dec-17 4:58
communityengineerRichard MacCutchan22-Dec-17 4:58 
AnswerRe: Java Pin
vishaljamdagni4-Feb-18 19:47
professionalvishaljamdagni4-Feb-18 19: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 21:03
Memberzakarie mukhtar abdi21-Dec-17 21:03 
AnswerRe: Java1 Pin
Richard MacCutchan21-Dec-17 22:44
communityengineerRichard MacCutchan21-Dec-17 22:44 
GeneralRe: Java1 Pin
barrontD3-Jan-18 20:50
MemberbarrontD3-Jan-18 20:50 
QuestionJava Pin
Member 1358560919-Dec-17 16:38
MemberMember 1358560919-Dec-17 16:38 
AnswerRe: Java Pin
Richard MacCutchan19-Dec-17 23:02
communityengineerRichard MacCutchan19-Dec-17 23:02 
AnswerRe: Java Pin
barrontD4-Jan-18 20:51
MemberbarrontD4-Jan-18 20:51 
QuestionHow to build a simple web crawler that gets events for a future date? Pin
Member 135663578-Dec-17 22:32
MemberMember 135663578-Dec-17 22:32 
AnswerRe: How to build a simple web crawler that gets events for a future date? Pin
Richard MacCutchan8-Dec-17 23:28
communityengineerRichard MacCutchan8-Dec-17 23:28 
GeneralRe: How to build a simple web crawler that gets events for a future date? Pin
Member 135663578-Dec-17 23:39
MemberMember 135663578-Dec-17 23:39 
GeneralRe: How to build a simple web crawler that gets events for a future date? Pin
Richard MacCutchan8-Dec-17 23:52
communityengineerRichard MacCutchan8-Dec-17 23:52 
GeneralRe: How to build a simple web crawler that gets events for a future date? Pin
Member 135663578-Dec-17 23:58
MemberMember 135663578-Dec-17 23:58 
GeneralRe: How to build a simple web crawler that gets events for a future date? Pin
Richard MacCutchan9-Dec-17 0:07
communityengineerRichard MacCutchan9-Dec-17 0:07 
GeneralRe: How to build a simple web crawler that gets events for a future date? Pin
Member 135663579-Dec-17 0:18
MemberMember 135663579-Dec-17 0:18 
GeneralRe: How to build a simple web crawler that gets events for a future date? Pin
Richard MacCutchan9-Dec-17 0:23
communityengineerRichard MacCutchan9-Dec-17 0:23 
GeneralRe: How to build a simple web crawler that gets events for a future date? Pin
Member 135663579-Dec-17 0:28
MemberMember 135663579-Dec-17 0:28 
Questionhuffman codeing Pin
Member 125740473-Dec-17 20:48
MemberMember 125740473-Dec-17 20:48 
AnswerRe: huffman codeing Pin
Afzaal Ahmad Zeeshan3-Dec-17 22:18
mvaAfzaal Ahmad Zeeshan3-Dec-17 22: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.