Tumgik
About
Privacy Policy
Removal Request
Visit Blog
Explore Tumblr blogs with no restrictions, modern design and the best experience.
Fun Fact
Users from the US are the majority of Tumblr visitors.
#(nobody told me you could use < and > to compare STRINGS in Python)
the-laws-of-physics-were-harmed
·
11 months
Text
How come the solution to every single coding problem I have is to just make the code uglier? It doesn't seem fair.
#Like. That stupid fucked-up binary search algorithm I was making in Computer Science the other week? Already ugly as fuck
#I assumed it didn't quite work because I'd done it really inefficiently
#(nobody told me you could use < and > to compare STRINGS in Python)
#(I'm a maths Being. To me you can only compare numbers)
#(I did gain this knowledge eventually. It made my code look better but it still DIDN'T WORK)
#Anyway turns out I had to add a little +1 to one of my loops and a -1 to one of my other loops
#(actually in the original I had like 6 loops but we'll ignore that)
#But it looked so bad???????????
#Like. Why?
#To be fair you can't even tell in the original fucked-up one
#It's such a mess anyway
#It's basically held together with nested if loops and hope
#Oh and that stupid list I made that's just the alphabet
6 notes
·
View notes
Last Seen Blogs
simvilae
simvilae
ktofwaverly
feels like i only go backwards
yubbi-chan
Art Of Yubbi
norsemythologie
ᛗᚲᚹ
srcreation123
Untitled