• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Code Formating in SCJD

 
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all!

I have a question before submitting my assignment. Are you using some code conventions about the size of one line of code, etc? Are you using the default Java conventions of 80 columns per line?

What do you think? Am I being paranoic about this???

[ April 23, 2007: Message edited by: Luiz Reginaldo Curado ]
 
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I just use the default seetings for Eclipse to format my java-files and hoping that is fine with Sun.
 
Luiz Reginaldo Curado
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hummel,

My assignment say nothing about code conventions... Because of this I wanted to listen some other opinion before submit it.

Ok, I will work to format the code.

Thanks!
 
Lucy Hummel
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

In my opinion:

Code Convention is a not mentioned requirement that should be full filled.
 
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
My opinion is : its a Sun certification and its implicit that we have to respect the javabeans and the good way of programming(writing) java.

Arno


ps: is it so warm in your place? Damn weather...27� here in Brussel
 
Ranch Hand
Posts: 918
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
People,

the exam name is sun certified java tra la la. So this give us two clues
1.it comes from sun
2.it is about java

And now let's try to combine them : sun - java code convetions(http://java.sun.com/docs/codeconv/).

For the "Eclipse" pepope (I am aslo one of them)
The default eclipse formatter is "Eclipse Build in ..." and this is not 100% the java style - I recommend to take the java formatter and to adapt it to your needs.

Regards M.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic