• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Where Have You Hdden the Style Guide

 
Ranch Hand
Posts: 69
IntelliJ IDE Eclipse IDE VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just ran into a situation this morning that I think really validates a point in the style guide here at the ranch. I was going to post about it, but wanted to consult the style guide again, but I find I didn't bookmark it. Now, Ican't find the durned thing.

Can someone post a link, please?

Thanks,
doug
 
Bartender
Posts: 1868
81
Android IntelliJ IDE MySQL Database Chrome Java
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here is the CodeRanch/JavaRanch version https://javaranch.com/style.jsp
Here is Google's version https://google.github.io/styleguide/javaguide.html
Here is Oracle's version https://www.oracle.com/technetwork/java/codeconvtoc-136057.html
 
Pete Letkeman
Bartender
Posts: 1868
81
Android IntelliJ IDE MySQL Database Chrome Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You may find this helpful as well
https://github.com/HPI-Information-Systems/Metanome/wiki/Installing-the-google-styleguide-settings-in-intellij-and-eclipse
 
Douglas Knapp
Ranch Hand
Posts: 69
IntelliJ IDE Eclipse IDE VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you, Pete.

I'm going to bookmark this thread, rather than the guide itself.

And... having not looked at those links yet, is it possible to install the CodeRanch style guide settings?
 
Pete Letkeman
Bartender
Posts: 1868
81
Android IntelliJ IDE MySQL Database Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Douglas Knapp wrote:is it possible to install the CodeRanch style guide settings?


I'm not too sure if someone has created the required download(s) which you would need for installing the CodeRanch style in the IDE of your choice.
You could create a new thread on this site and ask if someone has. I suspect that the files are XML files so it may not take too much work to create them.

You should also note that sometimes style is more about how you program things then how you type things, for instance "Self Documenting" code.
The information on this page https://coderanch.com/wiki/659762/Start titled "Where Do I Start" also has some helpful information.
Finally many people like the Effective Java books which I'm pretty sure talk about style and what to use and what not to use.
 
Douglas Knapp
Ranch Hand
Posts: 69
IntelliJ IDE Eclipse IDE VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'll check it out, Pete.
 
reply
    Bookmark Topic Watch Topic
  • New Topic