nedbat,
@nedbat@hachyderm.io avatar

You can use Unicode characters in identifiers if they are classified as letter-like, but that doesn't mean that you should!

(Full rules at https://docs.python.org/3/reference/lexical_analysis.html#identifiers)

tacaswell,
@tacaswell@fosstodon.org avatar
waltertross,
@waltertross@mastodon.online avatar

@nedbat I must say, the idea of using the glottal stop sign as a question mark is great, but why use U+097D ॽ DEVANAGARI LETTER GLOTTAL STOP instead of U+0294 ʔ LATIN LETTER GLOTTAL STOP, that even appears in the IPA transliteration of some English dialects?

nedbat,
@nedbat@hachyderm.io avatar

@waltertross It happened to look better in my font. You shouldn't use either!! :D

TheRealPomax,
@TheRealPomax@mastodon.social avatar

@nedbat don't listen to this man, please rename all functions to full sentences that describe them, and remember to use proper articles at the start of all your variables.

FriendlyPossum,

@TheRealPomax @nedbat Function names should be self documenting. Thus I recommend including all documentation in the function name.

nedbat,
@nedbat@hachyderm.io avatar

@FriendlyPossum @TheRealPomax It is not possible to say everything important about a function in its name.

TheRealPomax,
@TheRealPomax@mastodon.social avatar

@nedbat @FriendlyPossum There are unicode full stop equivalents, we can not just fully describe the function, but just include the entire function body as well, just to be safe. Now we can never call the wrong function ever again! It's self-hashing, without needing to hash!

nedbat,
@nedbat@hachyderm.io avatar

@TheRealPomax @FriendlyPossum OK, now I understand :D ... satire ...

  • All
  • Subscribed
  • Moderated
  • Favorites
  • python
  • mdbf
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • Youngstown
  • everett
  • cisconetworking
  • slotface
  • GTA5RPClips
  • rosin
  • thenastyranch
  • kavyap
  • tacticalgear
  • modclub
  • JUstTest
  • osvaldo12
  • Durango
  • khanakhh
  • anitta
  • provamag3
  • ngwrru68w68
  • cubers
  • tester
  • ethstaker
  • megavids
  • normalnudes
  • Leos
  • lostlight
  • All magazines