choose your destiny
Choose your destiny
top one is more readable
why do people write code like this? It's like they wanted to make it as unreadable as possible on purpose
I'd be scared if I saw stuff like business rules written like that
holy shit just learn C faggg
Javascript is a better designed (extreme irony in it of itself) language. Both of those snippets are aids.
Why would anyone prefer these solutions to a simple if else block?
I mean I understand them but why make life hard for yourself?
>string concatenation in c
If I would like to be beaten into submission, I would just go to china or russia
do you need some pointers
kek
fagget = "k" + "y" + "s"
now do similar code in c
>inb4 but much efficiency
noone cares
the lengths that people go to just to smash everything into one or two lines are astounding
>fagget = "k" + "y" + "s"
pretty sure that wouldnt compile, fagget = "kys" would be fine
>fagget = "k" + "y" + "s"
the runtime on each language that supports this is slower than strcat() and does require more memory
just write your own library bro
Imagine subjecting yourself to a slower language just because you can't use strcat
Don't have to imagine it
>memorylet
when will they learn
what did he mean by this
>just throw more resources at it bro
you're everything wrong with computing nowadays
Is this for the IOCCC but for javascript and python?