The WORST Coding Standards EVER 💀 #developer #softwaredeveloper #code #technology #coding

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Reverse indentation might be the worst thing I have seen yet 💀

dultzywaltzy
Автор

"no ternary operators because not everyone gets it"

Bruh

crism
Автор

whoever come up with "no ternary operator" rule himself didn't get it for sure, lol

idafoh
Автор

I once did something called single line indentation where entire functions would be on one line and my proffessor axtually called me into his office to talk about it😂

shadowki
Автор

Worst coding standarts is coding with me

_hepl
Автор

I dont hate the no ternary operator thing, those can make the code look like a complete mess when abused

Christoph
Автор

Reverse indentation feeks like a war crime

Hiljaa_
Автор

tbl_ isn't such a bad idea if you do it consistently across the entire project. It's more readable and helps communication honestly.

bombsjetpack
Автор

You forgot using spaces instead of tabs

drewviesta
Автор

These should be questions on an interview. If you walk out saying F! NO! you get the job 😅

wb
Автор

That ratio of unit tests to lines of code covered might be appropriate if the cyclomatic complexity is high enough.

gnack
Автор

GNU style is the worst, and the Linux kernel's style guide says that to print out a copy and burn it
thats how much it sucks.

itswilliamanimate
Автор

Ternary operators make you write less code, every programmer must know it.

johneric
Автор

Table name prefix do still exists to this day.
The justification is to split 'framework-related' tables with the real 'data' tables. So yeah, prefixes like T_USER or M_USER still exists only to differentiate with tables from like for example Laravel/Django migrations, auth, session cache, etc.

mamenggaluh
Автор

"No using ternary operators because not everyone gets it" coming from a tech team that most likely uses LeetCode medium questions on interviews is the peak of ridiculous.

NOCDIB
Автор

The people who don't know how ternary operators work... probably shouldn't be working there.

ZanyCat
Автор

I prefer ternery operators for a couple reasons:

I can be 100% sure a variable is going to be initialised

I'm calling a function and it's easier than assigning variables to the right value then passing them to the function.

amirhosseinmaghsoodi
Автор

Can't lie some of the 'standard' ways react code is formatted is absolute garbage for no reason

freffrey
Автор

All standards are the worst standards just do what you like B)

givowo
Автор

The ternary operator one kind of makes sense tho😅

Android-