43

PascalCase for life, what about you?

Comments
  • 6
    PascalCase and camelCase, because Go uses both syntactically.
  • 6
    snake_case for html/css ids
    skewer-case for html/css class names
    PascalCase for global variables and class names
    camelCase for local variables

    That’s what I prefer, but when in Rome...
  • 1
    I tend toward camel case. Pascal case seems to be mostly for classes and structs. At least in C++. I will at times use m_ to denote member variables of classes. Mostly I just match whatever the current code base has. I do prefer 4 spaces per tab over tabs though. Once you go 4 spaces in Python I don't think you can ever go back.
  • 1
    Pascal case barely used? What kinda language are you using?? Java and C++ exclusively use pascal case for class names
  • 3
    LMAO "n-worded" bro they really need to rephrase that
  • 0
  • 1
    @nothappy All modern programming languages tbh
  • 1
    Pascal, Camel and Snake.
  • 2
    As long as you don’t use Hungarian notation.
  • 1
    depends on the language
  • 1
    CAmeLCaSe for swift
  • 1
    Very hilarious, specially fuckthecase
  • 2
    Non breaking spaces are valid characters for variables, methods & classes in PHP.

    Pro: It's the apex of readability.

    Con: Your coworkers will repeatedly kick you in the genitals because spaces in function names is the last straw, they already hated you when you changed indentation to 3 spaces.
  • 5
    I'm all about that iNVERTEDpASCAL
  • 4
    What about xXx-dankgam3r-420-m3mecas3-xXx?

    You gotta postfix all your tests with a 360-noscope, all your variables prefixed with pro or leet, and your methods should encourage coworkers to "blaze it".
  • 0
  • 1
    R allows dots in variable names, so there is one new naming definition for you
  • 0
    SCREAMING_SNAKE_CASE is my case
Add Comment