Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Suggestion for asking smart questions.  RSS feed

 
Maximilian Xavier Stocker
Ranch Hand
Posts: 381
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This may already be there but the FAQ/Wiki and associated resources seem to be AWOL at moment.

Relating to Code

Do not post "pseudo code" if you are having a problem or error with your code. It has as little value as posting no code at all and is possibly worse because it can fool people trying to help you into thinking they might be able to actually diagnose the problem from what you posted.

There is I am sure a better way to phrase this but these kinds of questions are rather hopeless

Help I have Null pointer exception when I run this code



On a related note please do not use SMS in your code. S.o.p is NOT System.out.println If you copied and pasted your actual source then you are only adding keystrokes to turn System.out into s.o

Thank you.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good point. I can't tell you how much time I've wasted chasing down phantom problems that didn't really exist but were merely the result of the poster being careless in entering code fragments.
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Our FAQ pages were down earlier, but they've been restarted. (Thanks for pointing that out.) You may wish to include these suggestions somewhere around here.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I made a start at http://faq.javaranch.com/view?PostRealCode - please edit as you see fit!
 
Maximilian Xavier Stocker
Ranch Hand
Posts: 381
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks all. I expanded this topic a bit http://faq.javaranch.com/view?PostRealCode

Please review for content and style. I tried to copy style from some of the other entries but I am sure that people who are more regular here can do a better job of it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!