Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "old code"
-
My 9 year old son checks out the source code of every website he visits. If he finds something he doesn't understand, he bounces it off me. I love the snot outta that kid ❤️❤️❤️.20
-
Me: I need a Windows PC to test my code on.
Server dude: We don't have any free, but I can setup an old server for you.
Me: 🤔 .. I'll take it!18 -
Yeeeeeeeee! My granddaughter yelled up to me, "Grandpa, I'm programming!" She was doing some kid code game thing. Ten years old. I can hope, can't I? 😁16
-
A guy on another team who is regarded by non-programmers as a genius wrote a python script that goes out to thousands of our appliances, collects information, compiles it, and presents it in a kinda sorta readable, but completely non-transferable format. It takes about 25 minutes to run, and he runs it himself every morning. He comes in early to run it before his team's standup.
I wanted to use that data for apps I wrote, but his impossible format made that impractical, so I took apart his code, rewrote it in perl, replaced all the outrageous hard-coded root passwords with public keys, and added concurrency features. My script dumps the data into a memory-resident backend, and my filterable, sortable, taggable web "frontend"(very generous nomenclature) presents the data in html, csv, and json. Compared to the genius's 25 minute script that he runs himself in the morning, mine runs in about 45 seconds, and runs automatically in cron every two hours.
Optimized!30 -
Was going through some old gadgets n found this fossil.
Give me the fucken code Blackberry and I'll catch it for you.4 -
This code looks pretty old, I wonder if I can delete th.... what the...
(src: twitter/@iammerrick)4 -
Your app works.
You do some changes.
It doesn't work anymore...
You restore the old code.
It still doesn't work... WHY?4 -
Friend: "Don't all computer science people learn multiple languages so they can use the right one for the job?"
My reply:
We learn multiple languages because some asshat before us had a hard-on for it and now we need to keep that shit running and we don't have time to rewrite it.6 -
Having to learn "Modern web technologies" from a 60 year old woman who has never heard of HTML5 and build her website with tables. And we even had to code on paper. Fuck sake, so much time wasted6
-
Improving an old JS code, replaced all 'var's with 'let's. Previous guy wrote a comment above his variables, which is now saying:
"letiabes"17 -
Started learning C++, coming from Python.
Just spent ~25 minutes searching for a problem - My code wasn't working like I expected.
Problem: Didn't compiled the program, kept running old code, didn't noticed8 -
Seen at work in code:
<!-- DO NOT REMOVE CONTENTS PLACED HERE //TODO: Would have loved if some one also had said why we should not remove this -->
Lol1 -
Me: Why is there such a delay between the app and the hardware device?
Colleague: Ah, same old same old, TCP is just an inefficient protocol. We should stop development and build our own replacement to TCP.
(PS. The actual problem was his code)9 -
Trying to extend 15 year old code.
Found
#define private public
at the beginning of a sourcecode file....
Time to go home.8 -
Crawling through some old code and asking myself:
-Who wrote it?
-When did he write it?
-What did he think then?
-Me
-Last week
-I have no idea -
My dad said if I fix his old car then I can have it once I pass my driving test. I can't seem to find the source code...18
-
All these people talking about learning to code at school makes me feel old. There wasn't even an option to learn programming when I was at school. Had to teach myself!4
-
Give me a 10 year old application with no comments, layers of spaghetti code, global variables, embedded SQL, and a text editor with no debugging; just don’t make me write Excel formulas.6
-
Just found an EPROM (Erasable Programmable ROM) from my dad's old stuff.
Yeah, there's a window for UV light, if you wish to erase your existing code/data!
Thought you people can relate.....11 -
When your code changes don't give different results and after an hour you realize that you're still editing the old version....7
-
I'm currently rewriting the heart, foundation, core module of my company, that's written with my own shitty legacy code that is old, is dirty, but somehow worked flawlessy during whole 4 years. I'm afraid.4
-
When you touch your code that was written 2 years ago. It's like looking on pictures of young yourself, naive and ambitious ;)1
-
That moment you realise why you enjoy the dev life again.
It's been a long time since I've had a solid day of coding, just coding..., no meetings, no wild requests, no crazy issues, no data fixing because someone can't type a number correctly, just me, myself and that keyboard going on a field trip of quality coding time again.
Ah, it's a good day to end the week on!rant holy shit no meetings no problems lack of bau devlife those feels straight code quality code time back to the old days3 -
Holy shit i've found my father's old books back from the 80's for basic and comodore 64. He learnt from thoose and used to code a lot of games and office softwares on that old beast. 😮1
-
Once i found a legacy code where the old dev avoided the execution of some lines by wrapping them with a
if (1 == 0) {...}6 -
Me when I'm updating my projects:
"I put some new code in,
I took some old code out,
I put some new code in and I tested it all out, I fixed some major bugs and I pushed the update out. That's what it's all about!"5 -
Bought a 27" 1080p monitor and decided to use my old monitor besides it in portrait mode. This feels so good, portrait monitor's good for reading tutorials or for writing code. My coolest setup so far!6
-
Decided to update an old project. Turns out I wasn't stupid 6 years ago and my code still makes sense :)))4
-
"There’s a subtle reason that programmers always want to throw away the code and start over. The reason is that they think the old code is a mess. […] The reason that they think the old code is a mess is because of a cardinal, fundamental law of programming: It’s harder to read code than to write it." - Joel Spolsky8
-
Love reading through old code and seeing things like this
var hasFailed = (errors.length > 0)?true:false;
Makes you wonder what their thought process was when writing it :D5 -
Found this gem in some old piece of code:
public static void printStackTrace(Exception e){
e.printStackTrace();
}3 -
I love coming back to old code from when I was learning a new language and cleaning it up/making it better. It confirms that’s I’ve learned something :)4
-
Keeping old and unused code blocks commented out and not deleting them immediately is the equivalent of leaving that bottle of soy sauce in the fridge even though you know very well that you won't use them ever again.8
-
when your co-worker instead of commenting a piece of old code wraps it in:
if (false) {
...
}
Took me 2 hours to figure out why my changes weren't working.3 -
-> everyone at the company uses git
-> asked to change some stuff
-> boss says "don't remove the old code, just comment it in case we need it in the future"
-> ...
-> ???3 -
I’m reading through the Apollo 11 source code like a 13 year old that just found out what porn hub is.13
-
I don't really drink alcohol, but every time I look at my (old) code, it looks like I was drunk when writing it.
-
Do you know what i hate most?
... commented old code!
What is the fucking purpose to comment old code IF YOU ARE USING A VERSION CONTROL SYSTEM?????
Commented old code is shit, because it fucks the readibility! I saw entire class full of this shit!
DELETE IT, YOU DON'T LOSE IT YOU MORON!!!!5 -
Was forced to code like this:
if(condition)
{
//code
}
Instead of this
if(condition){
//code
}
Also I should mention that this happened 4 years ago and my mentor (27 years old economy major at the time) did not know how to use git, we stored projects on a shared networking folder.16 -
I dont like it when i have to edit an old code made by a previous developer, i dont want to touch that spaghet.1
-
When reading your old code, there are two feelings you may have:
1. I was such a dumbass back then
2. I was so thoughtful back then
If its #2, seek a position outside development, like product management, your coding career is probably over.3 -
🎵Junior guy, its junior guy.🎵
🎵making your code base look like a fry.
🎵a file here, a file there,🎵
🎵adding useless code now everywhere.
🎵at the end , he uses old funcs,
🎵but forgets to delete his useless code chunks🎵
🎵Junior guy, its junior guy.🎵
🎵making your code base look like a fry.6 -
You know you learned a lot in the last year when you try to change something on a website you made 1 year ago and it is almost impossible.
The code is not well structured. PHP mixed with HTML, functions that should be organized as a class etc.
I really, really, need to refactor the entire site!4 -
Any project that started out with "All you have to do is make a copy of the old code. That should take 2-3 hours..." and ends with a huge list of change requests that takes days to fulfill.2
-
When you watch the new Jason Bourne and see people from CIA hacking a laptop from an Old cellular with a "shell code", or other people saying "use SQL to hack the database"3
-
I recently came across my old interview assignment code which I had written while I was still in college. Oh my God, it was cringy! It was such crappy code 😂
My coworker (who had interviewed me) saw it too. He was surprisingly very chill about it, saying that the code is not bad, it just shows a lack of experience. I think I will choose to believe him 🙃4 -
At my current project we use SVN, but today I noticed a colleague of mine uses another version of version control as well.
Example:
V1:
console.log('Hello, world!');
V2:
//console.log('Hello, world!');
document.write('Hello, World!');
V3:
//console.log('Hello, world!');
window.alert('Hello, world!');
//document.write('Hello, World!');
Every singletime Ive to remove 40 lines of comments before Im able to follow the code and refactor it.3 -
A manager, a mechanical engineer, and software analyst are driving back from convention through the mountains. Suddenly, as they crest a hill, the brakes on the car go out and they fly careening down the mountain. After scraping against numerous guardrails, they come to a stop in the ditch. Everyone gets out of the car to assess the damage.
The manager says, "Let's form a group to collaborate ideas on how we can solve this issue."
The mechanical engineer suggests, "We should disassemble the car and analyze each part for failure."
The software analyst says, "Let's push it back up the hill and see if it does it again."1 -
Employer asked, whether I could tweak the site's admin template that was made in 2005.
It uses tables to generate new webpages.
It uses php.
UI is a nonsense spaggethi crap.
Whole thing is shit.
Well, for good money I will just write everything from scratch. Took me ~10 hours and I already have the functionality that was in the original crap. Crazy how these 'devs' scam people!14 -
3 Years into coding and I still have no fucking clue on what 99% of the lines in a sample code means. And I'm already 18 Years Old... Beginning to think this line of work isn't for me T_T12
-
Programming commandment: Thou shall, from time to time look at your old code, introspect and improve!
-
Found my old code.
You gotta admit, that's some clean code there, considering I learned C# only for a year at that time.
But those comments....
VeRy WeLl WrItTeN, vErY dEtAiLeD, vErY gOoD9 -
Why did I volunteer to this shit...
I am supposed to maintain 4 old websites (like they were written 10+ years ago..). It's written in PHP, before mysqli, so all the calls to the DB is with mysql functions.. Now the server is to be updated and run PHP7.... guess what? those functions don't exist any more.... Now I have to patch several thousand files to use the mysqli functions... And no, there is no reason to rewrite it more than that, as I'm also developing the new versions om the sites, but those are so far from done and the new server needs the update as soon as possible, so bodging the shit out of this one...
Oh god the amount of repetitive labor 😫☹😭
And I'm not getting paid, because I'm doing it for my scout group... Tho they pay some of the Pizza 😜10 -
Everyone is on their vacation and I am in good mood so time to refactor some 3 year old frontend, angular, javascript code. After 5 minutes of looking, some great quality of code snippet on the image below.10
-
Just finished recovering all deleted files from my old hard disks I found in the attic, just for fun.
I was hoping to find some old photos or something. Instead I found my awful old Qt code.
Back when I started the recovery it was sunny and perfectly clear outside. As soon as I found the code the skies went dark and now it’s raining like hell and lightnings are blasting.
Wtf i just summoned2 -
!rant
To the Devs at OnePlus,
Who ever wrote the code that lets me swap the 'back' and 'show recent apps' buttons so they're like my old phone.... You're a fucking god1 -
started converting VB code to JS.
* lets refactor it when we are on it *
After 3 hours, with refactored code not working, uses the old logic.3 -
I just did a code review on an old project of mine. 10k lines altogether. 5.7k TODO's. I can't even.4
-
older clients are returning with my old projects and asking for improvements, I did buy a few very shitty scripts from the internet/ and used one of my friends custom php cms for the other client because I REALLY needed money and they needed the projects yesterday.
Now I'm looking at the code and can't start working because of how messy it all is, I want to remake it all with a good framework and system, but it would take too much time (and they want it fast) and they wouldn't want to pay for the improvements because what they have now works..
I guess the shit you throw out when you're younger does come flying back like a boomerang..3 -
Scala reminds me a lot the good old days of Perl. we use to call it "Write Only Language".
Only the one who wrote the code, understand it. As long as he written it no more then a week ago4 -
I've just read my code from project finished 16 month ago. Let's just say that was an eyes opening experience.1
-
That fealing when someone that picked from the graves an old project that you've started when you were just a noob developer... and then you look at the code... and then the shame.2
-
So basically, we're all just constantly writing legacy code of the future. RIP programmer kids of today.4
-
Working on a damn old Android app's source code so it's usable in more recent versions (back when 2.2 Froyo was new). So much has changed in the Android SDK...1
-
900 lines to build an HTML select list which displayed the months from January until the current month, for picking which months data to display seems a tad excessive... probably good the guy who did it doesn't work anymore.4
-
Sometimes I look at my old code and just keep asking myself...
Were I drunk when writing it .. or am I too sober too understand it... -
Several months ago, I wrote the most beautiful Java code of my life. It was shelved and never merged because it added minimal overhead to every call on the system (I'm talking super small relative to the functionality it provided). I've been asked to resurrect it, but master is too different, so I'll have to rewrite it all. 😭 Since that code, I've been doing research and prototypes - nothing production, and looking back on this old code nearly brings me to tears. I might actually get back to writing code that people will use.
I'm just really emotional about it, and I don't know why. -
How I feel when im asked to add functionality to a project that was built like 10+ years ago and needs refactored in its entirety but the code base is so terrible that youre honestly better off just starting it from scratch but you are thrown into 5 other million things and there is no time to do it so you just shit out the bare minimum code that will not break the rest of the application.4
-
Had to look into some old code today and had the "Is this my code?! This can't be my code!? No one else worked on this code, so it must be mine... But, but, it's so... good! And clean! And logical! And well documented! This can't be mine... Can it!? Hey! It works!" moment.2
-
When you look through two year old code and have to make it conform with your new and shiny code.😀1
-
Maintaining old code as comments, coz... you never know when that bug in your commented code turns out to be the next big feature.5
-
Fine don't take my suggestion during refactoring old code. Keep the python code over 100 lines of code...we could have cut it in half, but whatever
-
That moment when you go to your web development lab, write ES6 JS and your teacher tells you you are doing it wrong.
"That's not going to work in JS!"
You know something? SCREW YOU OLD MAN! 😕😠😑2 -
Me.
Because every time when I see my old code, I begin to criticize it and think how can I improve it. -
Note to self:
Fucking comment your fucking code
So I finally got time to work on an old project and now I can't figure out what does what.6 -
That moment when code reuse makes you reuse reused code and you actually reuse a BUG.
You decide to go for code reusing when your boss asks: "Can you add an edit popup besides that 'add customer' popup button?". You do some little tweaks to the "new customer" code and it allows that to save over an existing entry, cool.
However, after a lot of time spent on reviewing the resulting PR, turns out there was a dormant bug on the code you reused, and it woke up with its new use.
That code was a bad copy-pasta from another, bigger form, which included a whole bunch of optional fields. As it was only used to save new entries, those now missing fields were simply being saved as empty. But as you reused that to save existing entries, you were now cleaning up all those optional fields without noticing.1 -
"Okay, my query uses wrong date format."
"Why the hell I´ve put that join there? That´s not needed!"
"Why the hell I´ve joined the tables in THAT order?"
Joys of looking at your old code.2 -
My biggest fear about publishing open source code is people looking at it and having the same reaction a have when I get back at my old code.2
-
The happy moment you start a new project a Find that you can use your old code, then realizing you don't remember how it worked but use it anyway.1
-
Anyone else feel that the main code base they work on is so old and clusterfucked it could do with a rewrite?5
-
Ahhhh.. the great feeling of starting a new project at work after the stresses and health deterioration of maintaining old code bases.
-
Nothing more depressing than a response like "No, no, no, we can't remove this old code. It doesn't matter that there's 0 references as of 3 years ago"3
-
...
Person me = new Person();
me.setAge(20);
int newAge = me.getAge();
System.out.println("Happy birthday! " +me.getName+ "You are now " newAge+ " years old!");
Happy birthday to me!😎🎊🎉🍻
(Probably stupid code 😂)10 -
*opens the code of an old project still running today*
*see the horror spaghetti code*
*decide to modernize it with good code and practices learned by the years*
*can fucking decide where to start *
*réalise it is impossible *
*rewrite it from scratch in a few hours*
*be proud*
It's really rewarding to go back to old projects and give them a good hug. You réalise then you really got better5 -
going over some old code in the project...
thinking what garbage is this?
oh oh it was junior me :(5 -
When someone copy and pastes code, repurposes it and leaves in the old comments that just confuse the hell out of the next dev.1
-
I'm looking at old code that I wrote around half a year ago, and noticed that my coding style changed over time (relying more on arguments to pass messages between commands and functions, rather than sourcing the result of a command). I feel like this old code isn't truly mine anymore. It's thousands upon thousands of lines of code though... Given that, would you rewrite it or just move along with the existing design? I mean in my opinion the current code really sucks.4
-
Having to use Xcode 4 alongside the new 8 to support old iOS versions. I almost wrote the code twice, once in Swift and once in Obj-C.
-
One of my favorite things to do in Secondary School was to go around telling people I had written a program that uses the 'Doomsday Algorithm' which sounded really cool and always scared those who didn't understand it.
Truth is, the 'Doomsday Algorithm' is just an Algorithm that used to determine the Day of the Week of a given date.
I wrote this when I was 13/14 years old and I'm still super proud of it today.... well I mean I probably would be if I could read my own code.1 -
Refactoring a method of a 5 year old system. Probably one of the ugliest code I have ever seen. This is just a little piece of the ugliness6
-
Just received a CD that contain < 5gb worth of stuff from my fileshare at my secondary school.
can't wait to find a computer that still has a cd drive so i can find out what coding wonders I have on here...1 -
When you find a new use for an old app I wrote and still have the source code...
And now I'm late to work... -
TFW you open a brand new project after working on lines of code for months.
>closes last project
>at least 400 lines of code
>be me: "good bye my old friend."
>opens blank document
>anxiety
>hello darkness my old friend
>Aghhhhhhhhhh3 -
Every month I re-evaluate the code I had written previously to compare my progress in coding standards...
Turns out I need a time machine to go back in time and slap myself1 -
I fucking hate shit/incomplete code tutorials, especially ones that reference old/unmanaged libraries. Fucking waste of time!!!!9
-
Sometimes when I read old code of mine I'm ashamed. But more often when I read others I just feel better.
(I'm talking about other webdev freelancers, not OS projects or so...) -
that feel when I am the only one in team who knows at least one framework.. and coworkers refuse to learn and instead copy and paste code parts from old, insecure apps into new apps... 😐1
-
Porting a very old program I wrote from Console to WPF app... looking at the source code, I'm amazed that it has been working all these years...1
-
Because almost all the answers from stackoverflow are still optimum, even if it's 7 year old code, all it needs is some good ol' spit shine refactoring
-
Reading through old post-it notes and found a TODO that says "fix code" with no indication of a project it refers to lol1
-
When you look into the code of old developers with nice comments such as "What a fucking retard he is trying to book in the past". Just laught .1
-
I have a friend which have a hoarding disorder when it comes to coding. Here are some of the things he does:
1: If he rewrites, remove, or in any other way refactor a function, then he keeps the old one in the file commented out.
2: If he deletes a class then he takes the code and paste it into a class that he have just for old code. AN ACTUAL CLASS! Not just some random text file somewhere. Even though it is commented out, he leaves it so that you can initiate his garbage.
3: In point 1, the code is not pasted on the end. It inside all the other actual code.
So if you try to help him with something, then you have to dig through a mountain of shit just to find some code.5 -
A colleague is walking me trough some of the source code because we try to fix an issue.
colleague: Oh we don't use this anymore
Me: ...
LATER
colleague: This part we should refactor someday
Me: ...
LATER
colleague: Oh I think this is old code and does not exist anymore.
Me: .. .. ...
Great Colleague BTW :)
PS: fix will be posted Later.3 -
Last year I wrote a sudoku program which did solve easy sudokus but messed up on harder ones. I had got bored after a bit and forgot about it until today I thought I'd rewrite it using new stuff I've learned since and make it work properly.
So I opened it up and look and I'm like 'WHAT!?' because I don't understand what I wrote. After a bit I start to get the idea and see that it was kind of smart even if long and complicated.
If anything, it shows how much my documentation skills have improved.
Now I just have to work out how to redo it in a way I understand.7 -
One of the best feelings is when you're hip deep in code refactoing and you're delezing old code with your new and shiny code.
-
!RANT
Bet the diff between a beginner developer and an intermediate developer is where to get code snippets either from old codebases or remote resources. -
It has been over 5 years developing C#. Every time wanna do events and subscription I get lost and open my old code and relearn it again 😐😑3
-
Have some downtime today, so since I lucked out and found some old backups (from before I used Git) of a project I was planning on revisiting, I decided to fire it up and see what I can do to get that going again.
And discovering just how much my coding style has changed since then...
[Code is in PHP, for reference]
* Virtually no documentation (whereas my current style is near-obsessive with PHPdoc blocks)
* Where comments exist, they only use // and are a full tab after the end of the line
* All assignment operators are dutifully aligned on tabs
* Have to update the entire codebase because it relies on deprecated `mysql_*` calls
* Have to flip all of the quotes throughout the codebase because I used double-quotes as my primary at the time instead of single quotes.
* Also relied on magic quotes for injecting variable content into strings
* Associative array practices varied; sometimes the names are encased in double quotes, but I just hit a block where it's all leaving it to the compiler to interpret unquoted string literals
And perhaps the most egregious so far...
* Any time we get database results back the process for cycling through them is to do `$count = mysql_num_rows($result);` (or $count2, etc.), then do a `for ($i = 0; $i < $count; $i++)` (again, or $j, $k, etc.), instead of just a simple `while ($data = $result->fetch_assoc())`2 -
Me maintaining my own old code, questioning why the fuck I thought it was a good idea to intertwine UI and logic. I gave up trying to do some major updates and started work on version 2 instead.
-
Would there ever be a day when I would look up some old project's code and won't say "WTF was I thinking!"8
-
Started pushing a few old projects to my GitHub account to populate it a bit.
Found a year-old homework in C++ that was graded 95 or 100.
Run it to check it first aaaand... Fails with 7 errors and 30 warnings.
Fuck.2 -
Guys, I'm a freshman just out from college and I'm arguing with a 30+ so called senior software engineer we should not store our assets in file server. He insisted S3 is not needed. Wtf man, and he say use svn instead of git if I want to use version control!!6
-
> mmmmh this old code I wrote for my previous job could be handy now, lemme just git pull the thing real quick
> clone the repository in my new pc
> can't deploy because I intentionally didn't commit any of my old credentials, no env files other than the example, and everything is smooth clean to prevent some dumb fuck like me from just grabbing the project and do whatever
There's an old IHateForALiving giving me the middle finger. -
Old but eternal!
99 bugs in my code
99 bugs in my code
Apply one fix, compile it quick
101 bugs in my code -
Want to get last value of a list?
value = 0
for value in list:
pass
working with 10 year old code :/2 -
My code works.
Well, it should, but not like this.
I've set some datas to a nested form, saved by a variable named 'stat1', however the code won't work unless I use a variable named 'fields'. Not 'stat1'. I'm only 24 years old and I already feel too old for this shit.3 -
There was a "Snake" game on an old windows machine that came with the source code. I was able to tweak the code enough to add interesting twists to the game. From then on I was hooked.
-
I’m thinking of replacing my dev duck with baby yoda.
Btw he’s 50 years old, and I bet his psychic abilities could help me run my code better.7 -
Do you ever look at old code from years ago a think “god that was bad”? I’m so embarrassed by something I wrote on 2010, it’s shockingly bad!
I actually feel a little low and think maybe I’m not very good! Of course now my code is so much better but think to myself, is what I’m writing now gonna be the same down the line?2 -
My first day of Launch Academy is tomorrow. Correcting a decade old mistake of not going to college for Comp Sci as originally planned. I'm excited, any tips on injecting a ton of code into your brain at once?6
-
The moment when your code is like,
Yeah I'm working, not throwing errors, but not doing anything closely related to the things I should do.
Fuck this construct, I'll recode the whole thing and stop using any two-year old legacy code, for this project -
At my old company one of our directors referred to a QR code as "heiroglyphics"... That struck me as pretty incompetent for the director of a tech company
-
I was a Windows user from the start had an old windows pc og and ever since that computer and my first HTML book I've wanted to code and design as a passion hobby and now work
-
Hello everybody,
I am 17 years old, I love to code and I cannot decide which new language I should learn.
What do you think of Rust and Crystal? What would you prefer? What is better?11 -
Starting the Monday with a good old heap corruption in a c# project that uses only managed code.
Occurs on 2/3 PCs.
Today is going to productive :/ -
Sample code from an old boss... with Vector datatype. "Just copy paste. I have already tested and it works"1
-
Had to play with old code of mine today. I wrote when I just started working a few years ago. Had a bit of shame be mostly a good laugh at pass me. Dam I used to be bad1
-
Never realize how much you hate yourself until you dive into code on an old project.
Damn comments that mean nothing 😣2 -
I spend all day figuring out how an old POS code works because manager asked me to... but then he sends me an email **in the afternoon ** that gives me a bit more context n info...
-
Transferring our website from (outdated) SAPUI5 to VueJS.
It's so painful to look at 6 years old code... And at least 10 different coding styles.3 -
6 weeks of working on some crackpot bull shirt half ashed code just to end up using a pre built theme that works like a charm... Wish I had thrown this old code out 6 weeks ago.
-
Habitual of pressing ctrl+s many times because of so many crashes in my outdated pc.
Today I tried to press ctrl+s while writing on a physical paper.2 -
Long story short : I meet people and do code at Ancienne Gare, my favorite bar. Means "Old Station" and indeed is an old station "refactored" as a bar.
-
Refactoring code that I've wrote like a year ago, made me realise how much I've grown in the past year, do you guys ever go back to old code that you've wrote?3
-
Never opened a long forgotten program you wrote to be astonished how it was well implemented?
Usually looking at old code the reaction is "WTF!did i wrote this crap?" but in some cases you can find hidden gems. -
#define AUDIOLB_EXIT_ON_ERROR(hres) \
if (FAILED(hres)) { goto Exit; }
#define AUDIOLB_SAFE_RELEASE(punk) \
if ((punk) != NULL) \
{ (punk)->Release(); (punk) = NULL; }
Looking through old audio code I wrote. Found these macros. Will most likely reuse for a new project. It works damnit!
Do you feel lucky?!7 -
Refactoring some horrendous old ass (ruby) code and I come across
`schedules.each |do|`
okay. Where does `schedules` get set?
`schedules = [create_schedule(args)]`
Cool. An array that never has more than one object in it. Good code, guy.2 -
!rant
When you get the go ahead to scrap the old legacy code and design it from the ground up
feels_good.jpg -
After 12 hours I've managed to delete old and obsolete code from my project... Well, from part of it... Okay, small part... From 10% of it...1
-
"I don't think anyone will mind if we update and make all old code incompatible."
- every reat/soap service the day after you finish development. -
New year old me
Fucking Windows
"You have written a lot of code lately it would be ashame if I just crash"
*Bluescreen*
"Configuring updates"
Fuuuuuuuuuccccckkkkkkk
Luckily I saved my code5 -
I can't delete old useless code, I am afraid of deleting it and I always end up commenting it as if I am giving it a chance to prove itself. #rant3
-
Every time I read "IDGAF", I can't help but parse it as a Doom cheat code, trying for a moment to recall what effect it had.
Boy I feel old1 -
The confusion, regret and self loathing I feel looking through old code is only comparable to how I feel seeing pictures of a gangly, 15 year old me on Facebook.
-
I've been spending the last few days reorganizing css, js files, removing old code and rename directories. Yep its that kind of week at work...
-
New piece of code which should work perfectly and solve your problem but it is not working just because you forgot to remove an old piece of code you were trying to fix the same problem! Fuck my life!1
-
Update to Doomsday !rant which can be found here: https://devrant.com/rants/1000628
Hey Everyone I'd like to let everyone know that I finally found the original file for my Doomsday Algorithm and thought it would be fun to show you the dirtiest code I've ever written (I was 12 when I wrote it).
here is the github link, https://github.com/LiamHolmesEPD/... , and I'll likely update it will more cleaner languages in the future.2 -
Aaaaaaaarg GCC! Stop caching my failures. I do correct my code, stop pulling the old copy from /tmp you bloated piece of C3
-
Damn it's hard to alter code, on a big (side)project, that is pretty shitty... And it too big to start over.. :/
I'm just gonna run with it and rewrite the damn app piece by piece as I am writing new features..
It's by the way a project I kinda quit half a year ago or so. Now it's coming back., but better. :)1 -
I took a project. Wild mix of php and html including db stuff and data processing. About 200 files, some 3000+ lines long with if else cases processed in another template/logic behemoth...
I wrote a js file included it at the footer of the monster and update dom + data via ajax on my own api implementation because I'm too afraid to write in any of those files.
I've been told its quality code and well documented3 -
2 seconds after I checked in some work on a web page, co-worker runs to me, freaking out because "This is not how I wanted it to look!" and waving a printed mock-up in my face.
I inherited a shitty, bloated, broken, 10-year-old site with dumbass CSS, but I did my best to work with it. I'm not surprised it's broken, so calm the fuck down and let's talk about what you're seeing and I'll happily fix it. It will be okay! -
I just had to re-run some old scripts written in python, after a year and a half without using the language. Much spaghetti code, but strangely inebriating. 😯
-
First contact with code was about 10 years ago, trying to customize my own server of the old Tibia (pre historic mmo game) with lua language
-
So actually on the note of my last rant. What music does everyone code to? I code to EDM, JPop, Vocaloid, old video game battle themes and Heavy Metal.
One Punch Man opening is a favorite when deadlines draw near.9 -
At once upon a (7 years old) time when I need to input code to cheat on AR/GameShark for playstation.
That moment just calls my nature..
To hack stuffs. lol. 😂😂 -
The feeling when you create an enlarging fractal similar to Levy C because you want to draw simple Hilbert's curve with an old code you wrote when you were a noob.
I was an awesome noob apparently. -
What's your favorite editor for Web development? Using Coda on the Mac and good old UltraEdit when on Windows (with custom theme). Tried Sublime and MS Visual Studio Code but they never stuck.17
-
Occam's Razor. When you think you're investigating a hack but it's actually your old neglected code causing trouble..
-
Wrote a method a while ago to simplify a task.
Today I found some old code from a previous dev which was almost identical.
I'm either on the right path or were both on the wrong path. 😂 -
Spent the day refactoring old copy-pasted astronomical code with minimal commentary, cryptic variable names and missing mathematical symbols. Self documenting code my ass.1
-
Found this in a shell script. Instead of just one regex, why not use grep and sed, even though you could have just done it all with sed!
IMAGE_TAG=`grep defproject project.clj | sed -e 's/^.* \"//' -e 's/\"//'`2 -
At the place where I am interning right now, most QAs that file bugs are running code that is nearly 6 months old. 95% of the bugs they file don't exist anymore in the current code -_-
This is in spite of testing environments available with the latest code deployed :/ They just refuse to use them!1 -
That moment when you feel old. In the before time, In the long long ago,,,, explaining Code pages.....Ibm939 vs ibm943 vs 1208. SOSI’s and so on.1
-
I have been writing code in swift for such a long time now any other language feels old and really clunky.
-
I only prefer { on same lines if not used for class constructors & try catch blocks..
Other than that, I adapt to the existing codebase styles, to not fuck up things further, even if it makes no effing sense (old project, styles & best practises changed 'a bit')..
So I guess I'm being influenced most by the old code and pass devs on the projects..1 -
Sometimes, when I look back at old code, I fell like when naruto is getting his ass kicked by sasuke while remembering the...Almost good times they had
-
Bricked my old Galaxy Tab 10.1 after trying to install Marshmallow on it.
// Sticking with code from now on1 -
So the project I'm working on atm and ranted about a couple of days ago... There is absolutely no documentation and the code is at least ten years old.
At least I can contact the old dev, but he's slower at replying, than reading the code through and figuring it out 😐1 -
Cleaning up some old. NET code and found this gem. At least it might be readable once it is rendered to the browser.1
-
Apparently I just realized we've been migrating our system in the wrong order....
The cross systems dependencies are like spaghetti code....
Data Flow: Old -> Upstream (that i need) -> Old -> New
So in order to migrate a feature to the new system... I still need our old system... indirectly...
WTF?!?!?!
I thought Topological Sort was a topic taught in CS... and everyone but me were CS graduates....
How the fuck did they screw this up?!?!?! -
When you a find a phantom function that looks important that doesnt get referenced, but the application is so big your not sure so you leave it.
-
We had a 65y old teacher who was mathematic, she didnt even know how to ctrl f, or to make the font of code bigger. Context: 1y software engineering bachelors degree.
-
Having to change the data type of a column in the database of an app is just the worst! I always forget to code the migration of the old data :(
-
A second questionable alternative is pretending to be coding when yoi're not. Put an old program listing on the corner of your desk. Then go right ahead and develop your requirements and architecture without your boss' approval
Code Complete -
Fixing and extending some old code, cursing the fool programmer... then version control blames yourself.
-
Spent days wedging a new application into an existing PHP single sign-on "implementation" only to discover the backing stored procs in SQL are broken and have been for years... fix them, and everything else breaks. *sigh*
-
Looking back at the VBA code I wrote for work about 10 months ago makes me realize how much reading the Clean Code book by Robert C. Martin did for me, because holy shit my old code is unreadable...2
-
There is little as delightful as opening an old VB.net application to find that there's fifty obscurely named event handlers - each with their own block of largely duplicated (but subtly and crucially different) code
-
Started a new job. Saas solution 10 years old. Not a single page of documentation....... Spent last three days trying to find code connections. #nodocumentation #y-u-no-doc2
-
Started a new contract, nearly end of first week without access to code repository. Spent all day helping on old contract and looking up Archer gifs for our internal messaging app.
-
[GIF] This code looks pretty old, I wonder if I can delete th.... what the... https://twitter.com/iammerrick/...
(Sorry, I was not able to download the GIF from Twitter's app) -
WTF ! Spent the whole day yesterday refactoring an old code and today a new requirement came, which adds a new functionality changing the entire code again.
-
Ok so slowly learning C also figuring out how to get a few Legacy Opengl code examples to compile. (yeah yeah it's old yada yada) maybe I should try finding unconventional ways to help aid with my learning.
-
Still working on this oldass project. Casting enums to different enums.. longass methods call another longass methods at the end...
-
I was trying to complete some computer science coursework on an old school computer running Netbeans...
It took 10 minutes and lots of freezing to write one line of code which doesn't even work. -
Going through old code
And it's beautiful
Probably my best code ever
And it feels good
I am not that bad actually -
Yesterday I tried to change a part of my old code (wpf app) and guess what happened?
Whole app didn't worked then. :D
I had to stay away till 2am and work 5 hours to fix it.