0

Let's assume OSCClient is a class and I want instances of a class to begin with a lower case letter:

oSCClient = OSCClient() # ew!

edit: I asked this question because of pep 8 which says: "When using abbreviations in CapWords, capitalize all the letters of the abbreviation. Thus HTTPServerError is better than HttpServerError."

abw
  • 209
  • 4
  • 8
  • Duplicate of http://stackoverflow.com/questions/1176950/acronyms-in-camel-back – Christoffer Hammarström Mar 05 '12 at 16:07
  • @ChristofferHammarström - No, the question you are referring to as a duplicate is concerning the use of abbreviations in (Java) class names, not instances. – Theodor Mar 05 '12 at 17:01
  • Deleted tag, deleted comment, now "closed as not constructive"? Wow. Did I step on someones foot or something? – abw Mar 06 '12 at 06:17
  • I deleted my answer because i answered when the question wasn't about Python, but then suddenly it's about Python and i'm getting downvoted. I deleted the tag, but realized it's better to delete my answer. – Christoffer Hammarström Mar 07 '12 at 10:30

1 Answers1

2

I'd use

oscClient = OSCClient() # yey
Theodor
  • 5,536
  • 15
  • 41
  • 55