[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

When you see it, you know the codebase is shit and want to stab

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 22
Thread images: 2

File: f9e.jpg (58KB, 460x522px) Image search: [Google]
f9e.jpg
58KB, 460x522px
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"
>>
>header files don't share names with source files
>>
>>60787154
sauce
>>
>>60787310
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
>>
>>60787176
nothing wrong with that
>>
>>60787310
Summersault
>>
>it wasn't written by me
>>
File: 1475409502612.jpg (254KB, 1440x1080px) Image search: [Google]
1475409502612.jpg
254KB, 1440x1080px
>>60787154
>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
>>
>>60789853
>>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
>>
>>60789853
>not using descriptive variable names or function names
That's my weak point. I suck at writing descriptive names and I hate it.
>>
>>60789931
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.
>>
>>60789853
>not using empty functions with comments as your primary word processor

Retard.
>>
>>60790034
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.
>>
>>60787176
>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
>>
>>60789853

>>using var everywhere in C#
this is fine if you're newing at the same time
varing on assignment is evil
>>
>koded by Klossi
Thread posts: 22
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.