• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

Suggestion for asking smart questions.

 
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.
 
Marshal
Posts: 67313
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • 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.
 
Wanderer
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.
 
author
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.
 
Hold that thought. Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!