What kind of questions do they ask CS/SWE graduates here during interviews?5yr ⋅ LambdaHominem ⋅ r/badcode
How I used to check Tic Tac Toe winning moves last year. Gave up on making games after this, lol3yr ⋅ AlexJoky ⋅ r/badcode
this is from a guy who claims to have made a neuralTM meme generator, worst part is i still kinda believe him5yr ⋅ Sobsz ⋅ r/badcode
When you use an MVC framework but have absolutely no idea about MVC architecture. EVERYTHING is a controller3yr ⋅ welcome_cumin ⋅ r/badcode
Did this in a hackathon where I was really short on time. Definitely not proud of it...2yr ⋅ haltmich ⋅ r/badcode
My friend and mentor gave me an exercise of coding a function to split a string into words. Let's just say it took a couple of revisions to optimize2yr ⋅ Matalya1 ⋅ r/badcode
Inspired by u/Monoundre's post... a program that determines if the input number N is even by recursively compiling itself N times, changing whether a define is set or not each time.3yr ⋅ dkolion ⋅ r/badcode
Found this piece of code that a coworker left on our system. Still trying to find these var usages5yr ⋅ mateusfccp ⋅ r/badcode
Instead of bugfixing a large toString, just create objects until one isn't broken!3yr ⋅ XxNerdAtHeartxX ⋅ r/badcode
This wonderfully written code in my 'Intro to Programming' prerequisite class2yr ⋅ clxxiii ⋅ r/badcode
Searching within a JSON-serialized text field using MySQL LIKE Operator4yr ⋅ muffinmaster ⋅ r/badcode
I'm both extremely satisfied and disappointed of what I've done on this night4yr ⋅ whoisdravenlol ⋅ r/badcode
This is how my classmate (2nd year Software Engineering student) finds the smallest number in a list5yr ⋅ ThreeFootLongBeaver ⋅ r/badcode
Found this beauty in the solutions of one of our programming tasks (CS at top university)3yr ⋅ flount23 ⋅ r/badcode
Tired of JavaScript's equality operations? Equality checking without the equals character!5yr ⋅ habesojamilchmitdass ⋅ r/badcode
[Java]Project Manager: Guys we really need another ArrayList in order to deal with the data Developer: Boss, we really are out of names Project Manager: I don't care, just do it | Developer:4yr ⋅ baduCleo ⋅ r/badcode
When your professor doesn‘t quite know how to convert a digit to an int4yr ⋅ geigenmusikant ⋅ r/badcode
My code from when I wrote a simple compiler in college. This is the part that made the array of tokens. I can't even follow it anymore.4yr ⋅ mastercooler6 ⋅ r/badcode
Shift the Letters of a String Three Letters Forward (A.K.A. Caesar Cipher)4yr ⋅ jaggotswag ⋅ r/badcode
Found at the bottom of a single file that contained all of the REST API definitions and most of the logic for the site5yr ⋅ AstralNomad42 ⋅ r/badcode
[Javascript] I was trying to avoid using verbose else if statements, but this feels even worse2yr ⋅ namesrue ⋅ r/badcode
This code I secretly wrote during a demo cause my semaphore system was not working as expected4yr ⋅ Yokii908 ⋅ r/badcode
Found this production code on one of our external apps. How does this get past a code review?5yr ⋅ triggered-nerd ⋅ r/badcode
//TODO: Add decryption for other XOR values. (Found in some open source project.)4yr ⋅ Fighter1000 ⋅ r/badcode
something i wrote when i didnt know much programming... you can probably spot the problem5yr ⋅ quad5914 ⋅ r/badcode
My friend and I wanted to recreate a for loop and this is what we came up with...4yr ⋅ whattheclap ⋅ r/badcode
There were a lot more else if statements after 16 (Repost, I made an error in the previous post)5yr ⋅ hiroshi_shiki ⋅ r/badcode
The sheer number of declared variables in this procedure (pretty sure my school is the only one that still teaches Ada)3yr ⋅ Neo399 ⋅ r/badcode
Hello Mr. Hacker, would you like any file on this server? No problem! (PHP, but don't blame the language for the stupidity of the programmer)2yr ⋅ MyKidsArentOnReddit ⋅ r/badcode
C Italian version 🇮🇹 (Inspired from polish pierogi man Lech Poznan not in UCL xd rip bozo)1yr ⋅ Susimposteramgous ⋅ r/badcode