addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1linklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Re: [ljc] Quick poll on hyphens vs underscores

From: Jon H.
Sent on: Wednesday, January 23, 2013 11:07 AM
Thanks for the advance notice so I can compose myself first!

I think you can just send an email to this ljc email address with your question as the subject line to post a question.

I will say unicode as it is common but I'm no expert in that area. I do like assembling to and from byte streams though, especially images, its kind of like building a lifeform from 0s and 1s!

Jon

Sent from my HTC

----- Reply message -----
From: "andrew" <[address removed]>
Date: Wed, Jan 23,[masked]:21
Subject: [ljc] Quick poll on hyphens vs underscores
To: <[address removed]>

If they truly are your feelings, then you're in for a treat when i work out how to post my question:

"which is your favourite character encoding  scheme?"



On 23 January[masked]:26, Jon Hatfield <[address removed]> wrote:
This discussion has had me on the edge of my seat. I thought I'd had some exciting experiences in my life, like losing my virginity, seeing some of my favourite bands at download festival and various drunken binge-a-thons with friends, but they pale in comparison to the ultimate question - hyphens or underscores?! With each new reply that comes through, my heart starts beating fast and the hairs stand up on the back of my neck.

I would say underscores for multi-word SQL table names and either for folder names (camel case for Java classes as per convention).

Cheers,
Jon


From: [address removed]
To: [address removed]
Subject: RE: [ljc] Quick poll on hyphens vs underscores
Date: Tue, 22 Jan[masked]:51:32 -0500


I agree with your comments but with the precondition of a more complex context.
By a more complex context I mean naming conventions regarding not only files and folders but Java code, XML etc.
As you say you wouldn't expect a single answer to the question in such a context.

However, that's not what the poll is about as it says "In particular the naming of generated software artefacts".
This puts it in the "naming conventions for files and folders" category.

I guess "in particular" could be interpreted in different ways:
- including but not exclusive to the naming of generated software artefacts
- exclusive to the naming of generated software artefacts

Perhaps I should have been more explicit in that I meant the latter case which simplifies the question.

It is simplified because the poll does not question your naming conventions for Java constants, variables or classes.
We're all aware of the JavaBeans specification therefore such a question would be patronizing.
Similarly, XML naming conventions is not brought into question.

So for those reasons and in the interest of not going off on a tangent, the poll is a simplification.

Alas, the question still may open up a can of worms.

Regards,

Edin


From: [address removed]
To: [address removed]
Subject: Re: [ljc] Quick poll on hyphens vs underscores
Date: Tue, 22 Jan[masked]:46:22 -0500

I have to agree with Richard on this one.  It is a terrible oversimplification.

I woul

Our Sponsors

  • Our Blog

    Read the latest news from the LJC

  • RecWorks Ltd

    Fixing Tech Recruitment using the Power of Community

  • jClarity

    Java/JVM Performance Analysis Tools & mentoring for Java related matters

  • LJC Aggrity

    Our LJC Aggrity site contains blog posts from our members

  • LJC Book Club

    Our Book club with book reviews from our members

  • Devoxx UK

    Java Community Conference in collaboration with the LJC, 8-10th June 16

  • SkillsMatter

    "Host, help organise, promote, film many of our meetings."

  • IBM

    Build Enterprise-grade apps at start-up speed.

  • New Relic

    New Relic makes sense of billions of metrics a day in real time.

  • Hazelcast

    Hazelcast is the leader in operating in-memory computing.

  • Java.Net

    We are an official Java User Group recognised by Oracle's JUG program

  • JRebel

    Free 3 month J-Rebel license.

  • O'Reilly

    40% discount on printed books and 50% on e-books.

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy