When you see it, you know the codebase is shit and want to stab the previous dev
>database fields prefixed with "the" like "the_status"
When you see it, you know the codebase is shit and want to stab the previous dev
>header files don't share names with source files
sauce
Artist is Ootsuka Reika.
>database fields are prefixed with the name of the table
>mixed tabs and spaces
productioncode.py
#fix later
>its source files end in .c
>its source file doesn't end in .cpp
nothing wrong with that
Summersault
>it wasn't written by me
>empty functions with TODO comments, and nothing else in them
>not using descriptive variable names or function names
>no consistency in function names (issomething() and is_something_else() in same code)
>using var everywhere in C#
>two functions that do the same thing with 100% same code, but named differently because someone is retarded
JUST
>>empty functions with TODO comments, and nothing else in them
>Function that just returns 1, with comment
>//This should check if the safety interlock is engaged, but for now I'll just get this to assume it is so I can test the rest of the code
>Read this
>It's something I wrote for a product that I've been selling for five years, I never actually went back and finished that function
>No complaints so far
>not using descriptive variable names or function names
That's my weak point. I suck at writing descriptive names and I hate it.
It doesn't have to be perfect, it just has to give the other person a general idea about what it stores and/or where it is used. I thought the same about myself, but I quickly got used to it after a few weeks.
>not using empty functions with comments as your primary word processor
Retard.
Yeah, I just hate having to pause and think of a proper name for a function before continuing. I'll probably get better with time though.
>Header files have same base names as source files
>but sometimes a definition to a function is in a source file with a different name
>cropped pron=ban
>censored without cropping is OK though
>>using var everywhere in C#
this is fine if you're newing at the same time
varing on assignment is evil
>koded by Klossi