Jump to content

[SOLVED] case-insensitive Class Constants possible?


alexweber15

Recommended Posts

[quote author=genericnumber1 link=topic=221525.msg1020246#msg1020246

I don't want to read someone's code where they aren't consistent.. it looks amateur, messy, and it makes the code harder to read.

 

I wasn't referring to a single author, I was talking more about creating a convention. Sloppy code is different than a developer not following your preferences :P

 

But even then, changing case for function/class names really isn't THAT sloppy. What ticks me off is when devs mix camelHump() and under_score() naming :D>:(

Link to comment
Share on other sites

What ticks me off is when devs mix camelHump() and under_score() naming :D>:(

 

you mean mixing between the two for variables and/or functions?  or in general?

 

as in would it tick you off if ALL variables used under_score() naming and ALL functions used camelCase() ?

 

just wondering  :D

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.