This week's giveaways are in the MongoDB and Jobs Discussion forums. We're giving away four copies of Mongo DB Applied Patterns and 4 resume reviews from Five Year Itch and have the authors/reps on-line! See this thread and this one for details.
When creating a gui application or an applet, is there a standard about the best way to set up the code? For example, is it better to layout the code like this?
or like this:
Gaurangkumar Khalasi
Ranch Hand
Joined: Jun 02, 2012
Posts: 186
posted
0
Don't know about the standard but prefer this one...
Buenny Fry wrote:
dennis deems
Ranch Hand
Joined: Mar 12, 2011
Posts: 808
posted
1
I can think of good reasons to prefer either. I'm not aware of a standard though. The important thing is to be consistent.
Thanks for your replies. I wasn't sure if there was a standard, but I definitely agree about being consistent with whichever style is chosen. And thanks for that informative link Rob. I've already run into how complex using layout managers can be -- especially when you start combining them -- but that site helped me understand them better.