>browsing through github
>see this
How do people unironically think this is acceptable?
>browsing through github
>see this
How do people unironically think this is acceptable?
they don't know any better.
Well, genius, how else would you define a list of all capital and lowercase letters?
hashmap
How would you do this?
Regex
>they don't know any better
Not an excuse. This shit is like driving a car and not being able to operate the turn signals level of retarded.
If you need to ask you need to go.
Where?
To a proper University to learn how programming languages and data structures work.
It's funny how everyone is a master programmer making fun of people but never even touched Assembly.
You don't know how deep the bits go.
Probably not as deep as I do while fucking ur mum
Dont have to be a master programmer to critize the code in OP"s picture. Just looking at it screams something is wrong, even if you don't know any better
its more like operating a car and not understanding how the fucking brake petal works, you just use the emergency brake instead
Hurr durr I write metamorphic assembly code and that gives me the right to invalidate any smaller concerns with higher level programming languages...
This.
LOL
pedal
sorry, I can't help but be pedantic
nah im fuckin retarded for not catching that
thanks user
They write python.
Everything is acceptable as long as it doesn't have brackets.
import string
all_capital_and_lowercase_letters = list(string.ascii_letters)
Congrats. Now add the symbols they have in their string.
list(string.ascii_letters + string.digits + "!@#$%^&*():,./\"\'")
I think a sane person would just use combination or string.* or just string.printable
Amazing. Now it's less efficient than their implementation and not much more readable.
string.printable includes ones they don't want to match like space.
>less efficient
I'm not sure this is the day that nested IF statements become more efficient than pretty much any other solution
saved from an old Sup Forums thread..
flip ()
{
sed '
y/abcdefghijklmnopqrstuvwxyz/ɐqɔpǝɟƃɥıɾʞlɯuodbɹsʇnʌʍxʎz/
y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/ɐqɔpǝɟƃHIɾʞlWNOdbɹSʇnΛMXʎZ/
'
And making one of those if comparisons less efficient doesn't help much.