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 - "just some code"
-
Me: Can you make me some meatballs?
Engineer: No, what are you talking about?
Me: I thought you were a chef.
Engineer: I'm not a chef, what made you think that?
Me: I was looking at your code and I haven't seen that much spaghetti since Olive Garden ran the endless pasta special. I was just wanting some meatballs to go with it.5 -
Is this the code life
Another scrum meeting
Caught in the the Node life
No escape from reality
Open your eyes
Look up to the screens and see..
I'm just a dev boy
Doing some debugging
Because there's warnings here
Errors there
Segment faults
Everywhere
Anytime you distract
Takes another hour from me
From me
*piano starts
Mama. Just committed a bug
Merge the branch to production
Did it fast for milestones
Mama. The repo has just begun
But now they going to throw the stack away.
Mama. U u u uu
Didn't mean to code in LAMP
But it's the only stack i know how to setup
In Ubuntu. Without docker
I really don't get vagrant
*piano
It's too late
My team is done
Some dev is working in Nepal
A UX dev. Now what is that?
Goodbye everybody
I've got to go
Gotta leave this lame meeting
And face the truth
Oh nooooo. I i interns
(they have questions)
I want to debug
I don't want to stay till 3 in the morning
*epic guitar
I see a litlle dev over there
Let's code review, let's code review
Did he do the last commit?
Coding in the white board
Very very frightening me
That's bug(that's a bug)
That's a bug (that's a bug)
What the f*ck did you do that?
Magnificcooooooo
I was just coding and nobody liked it
He was coding and nobody liked it, spare his some time to do his debugging
Easy man. Here go. Will you let me code?
A meeting. No,we will not let you code. ( let me code)
A meeting. we will not let you code. ( let me code)
A meeting. we will not let you code. ( let me code)
We will not let you code
Never never let you go
Never let you code, oh
No no no no no no no
Oh mama mia, mama mia ( dude, you've gotta let me code)
Screw you guys, I'm gonna code and commit. Commit. Comiiiiitt!
*epic guitar
So you think you can review me and spit in my eye?
So you think you can dump me and erase my branch?
Oh baby, cant do this to me baby
I've just have to log out.
I've just have to log outta here
*epic guitar solo
Nothing really matters
The users will not care
Nothing really matters
To them
Any way this code blows10 -
"Today I won't code, I'll just play some games or watch TV and relax!"
"Hmmm... I'll just fix this one small thing here... shouldn't take long. And then its time for some gaming!"
* 3 hours later *
Still coding, wtf is wrong with me6 -
I made an account just to rant about this:
Currently working for a multi billion dollar company and this is the code some wanker decided to write! Now I get the pleasure of reading through and debugging it :D29 -
That feeling when you've been writing some sophisticated feature in Java for 2 consecutive days and you compile the code waiting for errors but it just works fine without any errors.12
-
Ever wrote some code so sweet you could barely contain yourself and want to call some of your friends to share your achievement... then realize they just wouldn't understand.... #needcodefriends10
-
This is the shit I have to deal with in school. Teacher told us to review each others code. This is one of the gems i found so far. Some people just wants to see the world burn...19
-
My colleague just committed some code with description "improved some bugs"
...should I be worried? 😂7 -
Designer: The design is done and approved by you. Set the launch date. We just need to put some code behind it and the shop project is finished.
After the meeting the programmers heard what the designer said to the customer in the meeting.
Programmer: *facepalm*
PM: *facepalm*6 -
I just hate npm dependencies.
If you want to write a small website with npm dependencies (some frontend deps like Bootstrap and some development deps like gulp or babel) you will have more npm dependencies in your project than own code. It is ridiculous, how some lazy developers just add dependencies to their projects, without evaluating their dependencies. The source code of one of my projects is around 4MB (without any dependencies). If you then run yarn as required, it grows to around 80MB (where 73MB are node_modules).
This is just terrible.
I rant about this, as I made the mistake to upload my node_modules directories when restoring a backup of my server. Worst idea one could ever have.9 -
"Running the sample code is easy! Just git clone, make sure python, lua, gcc, docker and cuda are installed, and run ./install.sh. Easy!"
Me: Light 6 candles, sprinkle some thyme water with unicorn tears over my keyboard, start chanting an unholy hymn... shit... some compiler error from a library I've never heard of before.
Why can't these "interesting samples" come with easy pre-compiled binaries...18 -
At a friend's party, I met one of the guys I've known from High school, and talk about what we've become:
Him: ...so yeah, now I study CS, I code some C, I dislike Java, blablablablabla I'm coding some OS and embedded software, blablablabla, and you, what do you code in?
Me: Oh, I learned everything I know by myself, still learning, and I'm mostly doing some PHP and Javascript. Doing websites and apps is cool.
Him: but those aren't programming languages? I mean, you can't manage memory, and blablablabla-
Me: Ó_Õ * Quickly dashed my ass off to talk with some ladies and boozed myself to forget what I just heard *30 -
Just coded for ~14h straight. Started doing some super heavy code cleanup and refactoring. Almost cried when I saw my code from the past.
Maybe it's time to call it a day...4 -
Just downloaded some big ass codebase and the first line i read is:
"// The source code is not well documented, but every advanced programmer will be able to understand it after some time."
Well... let's find out about your definition of "some time", Dickhead!3 -
Shouldn't be necessary if you just write understandable code xD..... Some people just write stories in between 2 lines of code....15
-
Client: I need html code for this search bar *attaches png*
Me: Ok. I will send you the code. HTML is just for front end views.
Client: ok. I will place an order, you can send it over *places order*
Me: *copy 6 lines of code from bootsnipp*
*make some changes*
*submit to client*
Client: Thanks but when I press the search icon it does not display the relevant records.
Me: *smh*4 -
"You guys are taking to long. can't you just copy and paste some code and complete the website?"
Literally fuming right now.2 -
WordPress needs no introduction, it powers a significant portion of the web while having some of the most nightmare inducing code i have seen in all my years as a developer.
Just look at the API, i mean what the actual fuck is that?
get_fucked();18 -
WORST???
Seeing your code, which you were proud about, now being butchered by some interns/newbies 😲
Just like seeing your X girlfriend after long time 😒10 -
I just changed a bunch of comments, log entries, and removed some blank lines from one of my controllers. Zero functional code changes. Everything worked before; now it runs only half the code, breaks, and throws strange errors.
Fucking hell.
Screw today.6 -
Github == Graveyard
Projects thats been left behind,
Pet projects which are never maintained,
Some newly dug graves waiting for git push (might never happen) ,
Decaying code over time.
Just sayin. There might be graves of code which are loved around and are visited...7 -
I just came across some code I wrote a year ago that I don't entirely hate.
I'm legitimately a bit worried.2 -
Looking at code in our workplace.. I realized one thing. Like Devops, legacy code is actually a mindset.
So here goes my thought:
A piece of code is not legacy because it was written ten years ago.
A piece of code is legacy because it looks like a piece of legacy code.
With the legacy code mindset, you end up writing legacy code no matter where you are, when you wrote it.
I was looking at some part of our code which we written in just the last few months, and I can’t help but think that they were legacy, so it really doesn’t matter when it was written!
It is more about how you write your code that determines whether it is legacy :)
Hopefully this was not crazily confusing anyone. Have a good day guys & gals!7 -
!rant
Someone just downvoted four of my answers on Stackoverflow just because I commented on one of his answers that "please include some description, just code won't be helpful"
PEOPLE IF YOU CAN'T ACCEPT YOU ARE WRONG THEN GET THE FUCK OUT FROM OUR COMMUNITY AND STOP RUINING IT.2 -
My school's mascot is the duck, but I like to think that someone had some heavy code to fix up and just took over the campus2
-
Turns out the small company I'm working for is depending almost completely on the new SaaS system I'm building, to appease investors and not go belly up.
I just wanted to move to another country and code some stuff, this is too much pressure.10 -
A random number generator in my code just gave "0000". I even thought that could be some bug and was investigating. How cool is that?2
-
If you're gonna comment a lot or a little, at least be consistent. I just read some code like this:
//prints "are you ready?"
printf("are you ready?");
//get the value
int findVal(int x) {
/* some fucking complex algorithm with no comments whatsoever that seems to have an error messing everything up */
}11 -
Senior Engineer -
Hey. I have a code that hits API to get details and multithreading is implemented. Can you just change the URL formed to hit Api?
Me
Yeah sure why not.
Me
After some time I discover that the initial code itself wasn't working 😐
I realise i need to fix code, fix multithreading and then make the URL changes.
Just finished......Realised had to rant....1 -
So our robotics team just got some code ready and our robots servos are reading hardware fault. Fml13
-
sometimes I hate python....
Ive just chased down a bug where a simple string saved in a simple dict sometimes came out as a f*cking tuple(!) when I needed it!
turned out that at some point this dict got updated with values from some other dict. And at some other point, I decided it was a great idea to rewrite that update code into individual setter's instead ... and of course forgot to remove one the trailing comma's, thus creating a perfectly legal tuple .... *sigh*
No errors, no warnings - just plain corrupt data....9 -
In web technologies lab.
Friend copied some php code from some website and saved it.
Tries to run it and it just prints whatever he wrote.
After thinking for like half an hour he calls me.
Friend: hey u know php right? Why my code is not running?
I check the code in the editor and everything looks fine except he saved his php code with an extension .txt 😑 😑2 -
Just found this piece of code from one of my coworkers:
restMethod() {
try {
// some complicated logic
} catch (WebApplicationException e) {
throw e;
}
}
Why?!
And btw: Hi fellow devRant ppl! 👋6 -
Just found this while trying to understand some code:
```
bool ok = true;
if(ok) {
// lots of code here
} else {
// even more code here
}
```
I thought this was worth my first rant...6 -
I've spent three days trying to upload some code to my ESP8266 and it failed every time. Now I just plugged the Arduino at my Desktop and it works. Notebook USB port does not provide enough current I think.17
-
I am seriously getting pissed off at these so called web developers on Instagram... More often than not I stumble upon an image of vs code with some Lorem ipsum code on the screen.
Just now I saw a picture that drew my attention, so I clicked on to the profile and fuck me in the rectum from a 90 degree angle this is what I see. Visual communication does not FUCKING EQUAL WEB DEVELOPMENT.
DAMN IT, JUST FUCK OFF.15 -
This is just like me when I play with my baby niece to remove some stress from work. Effectively recharges me and can code again even if I'm tired29
-
-> 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 -
Coworker: "Yeah, I know the code module is 25K lines of code, but don't try to break it up. At some point I realized that they just have to be that big."
Me: 😦3 -
Just refactored 100+ lines of madness to 5 (FIVE!) lines of code. It's pleasing me and shitting me off at the same time.
Some people still get paid per line of code, I'm convinced.21 -
So I've been doing some code jobs now and recently they pushed me to a new level.
This company worked with some silly management app made in cpp which they asked me to edit a little bit giving it another style and some additional functions.
Day 1: this code is a mess.
Day 2: this code is a mess.
Day 3: how does this code even compile.
Day 4: I no longer have faith in humanity.
Day 5: I found my first comment (Yay?).
Day 16: I'm done.
Day 19: I got paid.
If you're making a project in cpp just like that dev you do deserve a punch in the throat.
No documentation, no comments, no patterns, just some thick pasta of poorly written code, names like fCalcAllTaxFilesSizeMB....
This haunts me for real.2 -
I'm expecting probably no, but in the name of outdoorsy things not at all related to code, anyone else here enjoy electric bicycles?
Just grabbed this thing and it's absurdly fun, and helps me put some social distance between myself and other riders.28 -
The commonly touted "best" experiences are when you just get told "wow, this code is amazing!"
I hate those code reviews.
The best ones are the ones where I get my code completely ripped apart by 10 different people in 10 different ways. Some of them might be amazing. Some of them might be arseholes thinking slating other people's code is how you climb the career ladder. But they all generally teach me something, and they all cause me to stop and think "hmm, have they got a point, or is my original design better?" The discussion that comes from those reviews is also often very interesting; and (when done well) the whole process can become somewhat of a teambuilding exercise for everyone involved.2 -
Just got my beta access for Framer X. They describe themselves as "Unity for design" bridging the gap between Sketch and React using code-based components. I think it has a lot of potential. Would love some non-designer perspectives. What do the front-end devs here think of it?10
-
IntelliJ has this tutorial where it teaches you a bunch of shortcuts for making life easy, since version 2017.3 or something like that. Most of it is pretty meh, some of it is pretty useful. And I just came across a keybind to auto format code.
What else do I need. If I can quickly format my code and make it look pretty, that's all I'd want.
"Try reformatting the selected code with Ctrl+Alt+L"
*Linux Mint goes to lock screen*
*logs back in, code is unchanged*
Well played...6 -
The code for some of the backend of my 100% custom media server in front of the blurred frontend of my media server. It just looks cool6
-
It's almost weekend!
But wait! My colleague just changed some code in the production environment. Whoop! Guess what! It's broken now
Fuck you, stop bothering me. I have to celebrate weekend with non-existing friends.11 -
I Just created My first code in brainfuck.
My First reaction was why was this made, but as I continued it seemed to make some sense, even though All I was using was some random ascii symbols6 -
So this happened some time ago but I didn't know devRant back then.
In school we had to write some code in Java and before the lessen one of my friends said to me that he already knew Java and that it was like a very easy coding language.
Then, when we actually had to code, he was complaining that his code didn't work.
So I stopped coding, stood up and walked over to him. He had only very few lines of code and after reading the error message I told him that he was missing a semicolon in line X.
He then asked me what a semicolon was. At that moment I thought: Oh, it's just that one thing that you put after ALMOST EVERY LINE OF CODE IN JAVA. I showed him where I find it on the keyboard and then I fixed his code (it had way more errors than just a missing semicolon).
I have no problem with helping other people but if that person brags about how well they know Java and then not knowing what a semicolon was, that's just not ok.2 -
Today I looked at some code from our CTO. He used plain SQL Statements with huge selects and no prepared statements.
I asked him:
1. why dont you build some helpers or even use some frameworks?
2. why are there no prepared statements?
His answer (to both questions)
We do not need that. That just uses too much ressources and time. It's more cleaner and simpler this way.
My Face: 😵1 -
I know I rant about how bad the app is I have to update on at work is but seriously first week into this job I found skeleton code from a taxi app, it wasn't in English and lately I found some code from some sort of funeral app wtf!
This just takes copying and pasting to a whole new fucking level!4 -
It's a pain in the ass that you are given a really short deadline with a huge system scope, i think the clients think that i just throw some pixie dust to my pc then it magically code it self.8
-
*squirming in bed*
If it ain't broke don't fix it.. If it ain't broke don-WHAT THE FUCK IS "payment.needed2"??
Calm down, it's just some bad code but it works, you didn't write it, it's not your probl-WHY THE FUCK DO THE IF STATEMENTS HAVE SO MANY DUPLICATED LINES??
Sleep. Just sleep. -
Just found this comment in some code I wrote a few months ago... don't think I've ever been more honest!5
-
The weekend is here!!!
Time to go out and have fun!!!
Nah just joking. Time to write some quality code after cleaning our company's backend (pun definitely intended) all week! -
This week has been hell, nothing i attempted worked out, so i guess ill just go and write some depression code :/6
-
I think its only reasonable that if I must show u my code during i terview process, I get to see some of the code that I'll get to work with if I'm hired.
Starting to think employers just straight up lie up everything..
Why do i need to find out about your shit code on the first day?!
Cutting edge tech my ass...6 -
So VS Code, you're using ~60% of my CPU and I've let you do that for around 1/2 hour now. Why do you do this? I know your brother can do this as well, but he does have some valid reasons unlike yourself. You're just a glorified notepad with some extensions.11
-
Made me always think something like:
Code: should i delete it or just comment it out?
Files: should i delete this file or just rename it as .old?
OldHW: should i put it in the bin or i can recycle some parts?
Etc...... -
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 -
Life cycle of code
1- See what sound code I have written! It's beautiful.
2 - Hey we missed something last time, just add this bit of tweak.
3 - We need to add some flags for some exception cases
4 - Hey there is a new requirement. Just add some more paths and more flags
5 - More flags!
6 - This shit runs now more on flags than on the design!
7 - Flagception!3 -
let's try something...
Roast thread, please tag and insult your fellow devRanter in this comment section. Get creative in finding swearwords. Too many ++ bombs, poor code quality or you're just secretly in love with some other Ranter and hate it.12 -
Can we talk about something? I can't be the only one...
Code dreams.
What are they? You either sleep poorly, lightly, or not at all and continually repeat nonsensical code that you would otherwise KNOW is wrong when awake, (and it may even be a problem you already solved!) but for some reason your brain just wants you to mull over it over and over again.
I've been free of them for quite some time, but it happened now the past two nights. Drives me fucking nuts.17 -
While working on generic enterprise code: querying databases, calling third-party APIs and just passing data around, I'm thinking: "PLEASE LET ME DO SOME THINKING, LET ME WORK ON SOME HARD ALGORITHM OR SOMETHING!"
When finally working on 'some hard algorithm or something', I'm thinking: "ARGH! MY HEAD ACHES! GIVE ME RELEASE! LET ME WORK ON SOME MINDLESS ENTERPRISE CODE!"1 -
So I was looking through some old files, looking for some help while I was working on a project and I came across my first codes I wrote in school.
This one time I challenged myself and I tried to write the code a bit.....different. When i ran the code it worked as it should, no problems, then he said:" Show me the code how you did it". I giggled a bit and opened it up. I still remember the expression on his face. He wanted to say something twice but couldn't. Then he just sighed and said, please don't do that again.7 -
Do you wanna be a software engineer at Google?
Go to AlgoExpert.io. Pick a question. Read the prompt. Write some code…
JUST FUCKING STOP
Fucking shitty ad popping up every time I watch anything even remotely related to tech or science.13 -
VSCode you fucking piece of shit!
Just got my code working and rewarded myself with tweaking some of the configurations. Coming back to my file and it's all irrevertably messed up with randomly pasted and probably some deleted code snippets.
How's that even possible? 😡9 -
Just received the code for a WP site that needs a redesign... The guy who owns it outsourced the job to some indian folks who filled it with at shitton of plugins, and now it's both ugly as hell and a bitch to work with...
FML.6 -
I hate hearing "this should be a quick one" from the client. Especially when your code base is a fucking legacy with no documentations, no testing, and a multisite that shares the same classes where functions has some crazy if conditions just to satisfy each site's requirements.2
-
Why can't software development just be software development? I hate when laws and politics, etc., get in the way
Look at this, for example: https://arstechnica.com/information...
Apple added some code to make the Chinese government happy, which resulted in a bug, which is stupid!4 -
Great.
I have a demo in an hour for which I need to make some final code changes and tests (about half an hour’s work), and just discovered that XCode killed itself. 🤦🏻♀️
Looks like I’m missing the demo.12 -
For fuck sake I get that people like python but not everyone is going to use it!
Just want a few articles or tutorials on interpreters and would you fucking look at that, it's all just in fucking python using external libraries...
Then I purchased a couple Linux and Raspberry pi magazines just to have a gander at some of the code examples and what do you think every single piece of code is? C? C++? Vala? Nope, fucking python!
I will eventually finish learning what I can about python but there are other languages that exist that isnt fucking python, give us some C, C# or even bloody JavaScript... Please
Ok rant about python over, back to my hole12 -
Me: Startup initialization tests fail so the system won't boot properly it until we fix those issues.
Manager: comment out the lines of code that are causing problems.
🤔 So we are just going to feed power to some hardware and see what happens I guess1 -
I just took over a new project from a brand new client today. It's an Android app that he said needed some updates and refactoring, and he said it wasn't well documented but he would add some comments for me before giving me the code. He gave me access to the code today and one class in it is over 1200 lines long with exactly 4 methods in it... the shortest method is still over 200 lines long. There is one comment at the very top:
// Needs refactored.
... gee thanks.2 -
Every time I read some code of the rust standard libraries or code of other popular rust crates, I feel ashamed of the code I produce ... their level of documentation is just outstanding, mine is ... hardly existing?
Guess a rant about myself :D -
Some motherfucker pulled the entire fucking Lodash library off a CDN so he could use one fucking function.
Buddy, the library is open source, you can just copy the relevant code off Github
This is why websites are slow as fuck, devs import shit they don't need3 -
Last week some Client Service broad called my team the equivlent of "code monkeys" to my face.
I was THIS close to bitchslap the bitch!
Today I just told her I would pass the next two of her projects to my "code monkeys". I could see the despair in her eyes :)1 -
Just finished writing some code.
Got one error.
"Alright" I said, "almost done!"
*fixes the error*
"2589 errors"
I guess someone up there really hates me...1 -
Just started onboarding the new hire and it made me realise how much of a dumpster fire some of our code is
-
I was just commiting some code on GitHub for school tomorrow and I kinda got lost in the commit description..
Ah, it just hit me so hard I had the urge to get it out.. Helped, tho, love you Git -
Just spent three hours debugging why a jquery didn't do some actions with a div through its id. MAYBE NEXT TIME I SHOULD CHECK FOR FUCKING DUPLICATE ID'S AND REMEMBER COPYING SOME CODE THE DAY BEFORE WHICH CONTAINED THAT FUCKING ID. GODVERDEGODVERDOMME.
-
I am going to create a define in my code:
#define BIT_CH CHAR_BIT
Then do search replace of CHAR_BIT to "update" the code. Probably need to wait for a refactor. No idea if CHAR_BIT is even used in our code base. I just want to be a BIT_CH.
I was sitting here thinking what a valid use for an object called BitCh or BitChar. Still trying to come up with some valid reason to create such an object.
And people say programming as an art is dead.8 -
fuck javascript
node.js module system sucks. Like its module system is trash, who will want to download some fucking 1GB worth of packages to create a new project.
People keep on just creating other package managers. Yarn is good enough because it caches your packages but still, i am just from deleting some 2.2Gb node modules from my computer and just whyy ?
An area where internet connection us shitty and expensive it is just not very well.
Fuck javascript is everywhere so i have to use it,
typescript just adds another layer to the heavy lifting. You write some typed code to 'reduce bugs' but you generate much more heavy code. I could write in 1kb js file but i end up getting some 3kb js because what - i used typescript-ügvjpiahdjb
fuck javascript14 -
Just a thought.
If your project has good coverage with tests, it should be possible to develop an algorithm that recreates your production code entirely from tests.
Just look at IntelliJ - its autosuggestions on missing properties/methods are 99% times correct - I only need to hit that ENTER button. Add some AI to recreate some algorithms and there you go - you can use your tests as both: code specs and a part of QA.
Any takers for the next AI project? :)4 -
Why should I make my fucking code messier and write some bullshit workaround just because you’re a stubborn idiot who refuses to upgrade your fucking operating system and browser. ARGHGHGGH1
-
I've been teaching the new interns. Some are progressing really nicely and understanding the caveats and concepts of the frameworks, but others are a big pain in the kernel
I sent them some code outlining what they would do, filled with `// TODO`'s. Every day I would ask them if they had any questions and they just said they were having some progress. At the end of the week, they say "the code that you sent me doesn't work. I ran it and it didn't do what you said it would do." Well that was your job! My bad for having high expectations I guess1 -
90% of beginner questions are so damn annoying. I get it, some people are new and still learning but for the love of God, I just want to tell these kids to shut the fuck up, sit their ass down and WRITE SOME DAMN CODE, instead of bitching and moaning about what they best language is or how to magically read a tutorial and become a ninja in a day.
Fuck.4 -
Just came across this in a website project of my company.... and it goes on for about 5 times of that. But it's not in the html code, guess it comes from some js framework. Not sure if bug in framework or bad code in website.8
-
Don't you just hate it when you have some of the best programmers in the office with you, but none of them can fucking spell! Imagine having to spend more time decoding comments than actual code8
-
I just read this great line in the Google SRE book which I have experienced myself:
"Some of the most satisfying coding I’ve ever done was deleting thousands of lines of code at a time when it was no longer useful."3 -
How often do you get bored (eg. on a bus) and just code something completely stupid on your phone?
(pic is the result of some spaggeti I made on a bus today)7 -
Recently, I had to make a minor modification to some Node.js code a coworker wrote a year ago which buffers stringified JSON into Kinesis. I just needed to add a new key to the input object, it took minutes to make the change, but hours to make sense out the absolute trash spaghetti code this guy wrote. After spending half a day trying to make his code readable, I just got so pissed off. I replaced his 15 files/+1,500 lines of uncommented code, filled with classes, factory functions, poorly named functions and vars, and so, so many spelling mistakes.
We now have a single, well commented, 300 line file that does the same thing.
Get that shit code out of here. -
Just going through some old code from git repo's and code examples and I have a message to every dev out there after seeing some of the code quality...
Never... ever... ever fucking give variables with names like vx, tr and sq.
Give your variables names that explain what they are, it is so fucking hard trying to follow code that has 2 letter variable names and there is a special place in hell for you :-)3 -
I was think of using ajax to pass data from javascript to php because of some validation to my multiple checkbox, then before i go home the idea hit me to just use validation in php with some basic variable manipulation and if else, i just wasted 2 hours of searching just to arrived at a basic solution, i think it's much better to think before you code about what you want to do,but when i open my text editor i get distracted a lot.11
-
Just because OO exists, it's not mandatory.
Some code would be 10(+) times simpler, more readable and more maintainable without it.7 -
Which place do y'all go for developer related comics and memes ? Besides devrant ofc.
I actually wanted to use some in a boring article am about to write. Something with a sword and needle context, like people using heavy frameworks when a small snippet of native code could do just fine.8 -
Created a github open source project for voice recognition for react native Android.
Needed help developing some features and did my research with links to some articles.
Then some guy that showed interest in the specific issue just copied my repo and launched his own npm package with the new features.
Just threw my code in the garbage and just felt so irritated. I did all the research and shared the research links and he just duped me and left me to rot. No credit given.
Fuck that guy. This is not open source.
Rant over3 -
Taking advice from devRant and just working on some documentation for hacktoberfest. Well until I can find a project that I want to add code to1
-
Ugh! So boring writing the same thing over and over! So instead I wrote a ruby script to generate some C# code for me!
Honestly...I just make excuses to do stuff with Ruby 😂3 -
While sitting in a train (5 hours trip) I really want to code something, unfortunately I dont have my laptop with me, so i just connected with ssh from my phone to my ubuntu vps, created some project via npm and use android app to edit the code. It is not perfect but works. Someone else code like that?2
-
We had this new guy working and we assigned him some work to do. We gave him some time to find the way into the code and figure things out on his own.
Instead of doing that, he wrote a paper of 20 pages why WPF would be way better than what we are doing now. There were many flaws in his document as well. Also on day 2 he used resharper to format some code file. Bye bye annotate! His argument was that resharper knew better. But, our code also uses some reflection, so that got broken. He didn't knew what reflection was and assumed resharper "fixed" it.
He doesn't work here anymore now, he felt he wasn't taken seriously. This is just one of many examples of him though 😂1 -
I’m one of maybe the 10% of dev boot camp graduates that had a successful outcome. Most people think it’s as easy as just showing up, write mediocre code, get a certificate then you’re automatically an “engineer” with job offers being thrown at you. It’s not. I already had experience writing code throughout high school and took 2 years of cs classes at university before dropping out. TLDR; only worth it if you already have some technical knowledge or experience otherwise your just pissing away your money.5
-
Modern cross platform mobile app development is a lie. Maybe if you do Apple first, I don't know. Maybe xamarin is better than Cordova, idk. I've spent more time tweaking to one platform than I would have just starting with a platform and writing two or three code bases. I've got more if iOS statements than I know what to do with and the Windows code is some hacky transpiled mess because UWP isn't ES6 ready for reasons. Also, some error and image handling just doesn't translate. All this and I've got significantly less features than I could have implemented in the same time writing in a native language.3
-
An excerpt from the encyclopedia of "Developer Confessions":
At times, when I have no clue what some code does, I comment it out to see what breaks. Sometimes I just want to see the code burn.3 -
I hate legacy code.
Introduced some new changes to our application and voila! A bug in the legacy system surfaces. It was just hiding in there, waiting to ruin my weekend.2 -
Arch I want to love you. But you're so freaking unstable and I just want to code in peace without you freaking out every week about config files being screwed up. Why can't we have the stability of more mainstream distros AND the Pacman package manager + AUR? Some of us have to code for a living you know.
I'm really tempted to just go back to Debian to set it and forget it. PPA's be damned.9 -
Programmers after Writing some successful code be like:-
"Chill, chill just chill"
When that code went into Testing phase:-
"Where are you now? Under the sea.. Under the sea..."1 -
Creating a Microsoft account was a mistake. They just spam your email constantly from different emails they own, and there's no unsubscribe button. Instead, email footer says “this email is a part of limited promotional email series” or some other BS like that. And you bet, there is no email preferences anywhere in settings.
This is why I use email aliases. Instead of bowing to those bastards, contacting their “support” and begging to stop, I just disable the alias I used to create their account. Boom, done. When I need a login code or some other shit, I'll re-enable that alias, get my code, and then shut it off again.
My inbox is _my_ inbox.3 -
Taking over development of a system from some other guy who just straight up dropped it with zero documentation. The code looks like he wrote it after watching some getting started tutorial. There is no structure. Some methods and statements are just empty. And he spelt 'connection' three different ways in the same file.
God help me...1 -
Damn it, it's 3am and I just confused myself with my own code, and edited the wrong file AAARGH
Probably time to get some sleep...2 -
I just hate wordpress. Whenever I have to touch it, makes me nervous.
This time I just have to put some html/css. I was thinking it's piece of cake.
Couldn't be more wrong. This fucker is adding extra tags to my code fucking up what made...1 -
My co-worker had to add some small feature, and while at it, he thought it’s a good idea to “refactor” the entire repo.
Now the code is over-modularized and full of disconnected 100 line files, just for the sake of modularity.
Sometimes less is more9 -
When it’s 3am and you are working on an exception for more than 2 hours and have optimized your whole code just to be sure and remember you are writing swift not java: some ints have low max value like UInt8.3
-
TL;DR: Clients are still dumb.
The sequel to a previous rant ...
https://devrant.com/rants/1210209
——
Client IT Lead: "We've loaded your code into our website, but *this* particular part of it isn't working."
Me: "Fair enough. I'll make a fix and have it deployed."
... an hour later, my changes are deployed, and I notify the client that the fix is live ...
CIL: "Thanks for fixing that so quickly! Just a heads up, but I've noticed that some of our own code needed fixing, so I've gone ahead and made some tweaks <that will most definitely break your code>."
... another hour passes ...
CIL: "Hey, so, I don't know what happened, but that fix you pushed stopped working."
——
🤔🔫 -
I hate so very much about so very many things, I forget some of the things I love.
And what I love is small lines of code that reveal something about their developer. This? This I love to see.
Some guy here studied C at university, decided he liked it so much he would port it over to JS. Absolutely pointless effort, but he decided he would do it nonetheless. The code is clean, documented, just with this little quirk and I'm honestly smiling. You rock, buddy, whoever you are.2 -
I'm curious, what was the most ridiculously otherworldly, the least understandable, eye-opening code you have every seen?
BUT, I mean that in a good way. And what did you learn from it?
For me personally, I would probably say some of the c++ stdlib implementations. Just totally not English in some places. I mean seriously, sometimes asm is more readable than c++15 -
If I had a nickel every time the unit tests failed not because something was wrong in the code, but because someone had messed up the unit test I'd be able to retire early.
I just spent the better part of 10 hours hunting down a bug in some production code only for the test to be wrong because the person who wrote it had mocked the http response incorrectly.
Nothing I did to "fix" the code worked, because nothing was wrong with it...4 -
Helping out a friend how to code, and he said:
"Can't we just use a string? An array is just like a string anyway."
We were looking at some setting types in Visual Studio. -
People who put stickers on laptops... Are they badges of honour or aspirational?
So, if you code in VB6, but want to write Reason code, do you have VB6 stickers, showing you have lived through it, or Reason stickers, hoping that recruiters read your laptop stickers.
Or, is it just some undirected mess when you are handed a sticker and you put it on---like a reflex action?8 -
So just saw an email from our team's vice manager about need to improve code quality by using some new system.
Well that set me off on a huge rant about all the issues I see in my team and what exactly needs to change... (just some new sytem he's pushing isnt going to help)
wonder if i might get fired... even though i m right...
And so much for my plan to update docs... I've forgot what I wanted to do...2 -
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 -
Oof, scope creep
Come back to an 8 month old project and I can't update the website because something in webpack needs something in python to compile... Um why. Literally just a poster with some images and a markdown parser.
So I spent 5 hours and 850 lines of code later modernizing the code and... I have the same website again but now it compiles. Woo? -
I started to teach my partner some programming basics (web, just html and some css for starters), since they asked me to. So far we haven’t killed each others, so it’s going much better than expected.
Also, it seems to be a very common misconception that one needs to be a special breed of person to be able to understand and write some code.7 -
So, I was fixing some code today, and stumbled upon this. Is it just me, or is this really an example of bad bad practice...? And, no, there was nothing to be executed after this function was called.6
-
Copy-pasting 90% of our entities including logic and merging some - creating thousands of duplicated lines - and then creating views for those abnomalies just to speed up the ORM fetching which could have been done with a single join...
Took me some time to delete all of that fking shitty untested code full of bugs... -
Who doesn't know the moment of absolute heartattack when you accidentally press/drag something or press some weird hotkey combination and something on screen flashes, disappears, groups your code, opens some random file, starts your email client or just simply closes what you were working on without any confirmation window3
-
Today, my fellows not a rant, but a glimp of blissfully sent client from heaven. Doesn't complain at all. He is not a fuckin jerk, he just trusts my judgment both in code and looks. No one will ask me to adjust some petty thing for some obscure mental fixations! Join me in this party!4
-
This just happened. I have to tell someone how stupid I felt a few minutes ago.
I am working on a script that is supposed to rename some files in sub folders of the current folder.
I used ChatGPT to help me out with the last part of finding all sub folders. Copied the code into VS code. Changed the path from “/path/to/folder/“ to just “/“, ran the code. It took a bit too long time to finish. Then VS Code asked for permissions to my reminders… “Why?” I asked before I realized that I confused “.” With “/“ for current folder…3 -
How I always feel about Xcode when compiling Swift code, opening storyboard files, or just in general.
We need to make some of these stickers. ++ -
I know that if something looks stupid but it works, it ain't stupid... but this is just plain borderline.
Basically, a cast from int to String to int to String from some legacy code I'm working with7 -
When I was starting programming (learning Actionscript 3) loong time ago I for some reason didnt stubbornly write code into .as files... Instead I just attached code to timeline keyframes in Flash...6
-
It is funny that every non-programmer person refers any code computer executes to as "app".
Just wrote a script which does some routines during startup of PC for a friend of mine. Cringed when he said "Thank you for the app." -
Sometimes I've looked back at some code I've recently written and thought, this makes no since... Instead of rewriting it, I just leave it confident in my brain at the time...
-
Agencies... Just hate when people are given only time enough for doig crap code, because "there is no budget". Hate even more to work on changes on top of it, because people just dont get why you take so long to do changes that supposed to be simple, ignoring the fact that previously they asked for some slap-dash shit. What do they think, that with time the code cleanup and tidy up itself?
-
Ever had the experience of looking for the perfect js library to do some small job for you, after hours of evaluating, trying to tweak the one that seems closest to what you want, you end up thinking I should rather just code this myself.3
-
!rant
Just wanted to let you know that i discovered a cool site to test out angular,
https://stackblitz.com/
Pretty much like jsfiddle and co, but does the setup for you and the editor feels like VS Code
may be can be useful for some of you2 -
Computer programming teacher wanted us to write some pseudocode to solve an algorithm just so we can practice writing some code and solving problems. The teacher needs a copy so I spent about 2 hours today rewriting all of that pseudocode because she wants it handwritten...10
-
Working on some 2 year old php code don't know who has written it.
Found a function with some 500 lines of code and there is 3 times MySQL connection is initiated overriding same fucking variable with hardcoded database parameters in all of them
What the fuck man😦😦😦
Plus I have just started revewing the code there are tons of files and everywhere connection is hardcoded.4 -
There's no provisioning script. Code repo's there, but no configuration files. Missing folders that break the app. No documentation on what to install, what directories to create, NO instructions. Nothing. Just an empty Ubuntu vagrantbox and a git repo. Took the entire morning and then some, just to replicate the dev environment. Fuck
-
*Writes magnificent class for company that makes code safer and faster. Nothing proprietary but super useful.
Me: yo boss I just wrote some sick shit, can I use it my projects too.
Boss: No, all your codenz belong to me4 -
As a kid when I was coding I used building blocks and I used some yesterday for Lego robotics at a science center and I felt really dumb because over 2 years since I was 10 I used actual code like typing it and it feels much better than blocks and just over all building blocks just make me feel so stupid😵2
-
seriously considering migrating from code to selling snacks, becoming a barista or whatever
some people just drain all my motivation to code even personal projects
feel like i'd be happier, and less stressed, selling t-shirts by the beach 🫠16 -
Why are you trying to multithreaded c++ file i/o? If you can't write c++ code that's faster than your hard drive, please just don't write c++.
Literally no complex calculations, just some insane string formatting.10 -
Biggest hurdle in my Dev career?
To be as good an architect as the developer I am.
Challenges: You'll have to convince fellow architects, business clients, junior developers, mid level developers. Some understands UML, some only wants POC, some wants to see code, some just wants a PowerPoint deck, and some just wants to see the cost benefits only. -
Visual Studio Code !!
It has tons of features, form keybinding, to language support
I just love the inbuilt terminal support
And with git integration and some plugins, there's absolutely no need for separate git client -
Hey, I need to get something from the database here. But I've already created the connection somewhere else. Oh... I know! Let's just copy paste it here, here and here... Maybe just here and here too... And some more over here...
- The thought process that probably went through the head of the moron who wrote the code I started working on2 -
Last day at work: goodbye overnight sessions breeding over some arcane legacy code that blew up in prod or manually restoring dozens of backups because the customer continued to work while systems went down due to power failure.
Colleagues last commit message at that place: It just works (Friday 8pm then shipping the code to prod)2 -
More and more getting myself caught thinking about the code more than writing it. I mean I draft it, it is usually very shitty at the first moment, and insted of refinifng and adding spaces to moments I just sit think, write some ideas in my notebook, search on Stack overflow, listen to the music, and wait until the code talks to me.
I know it sounds like some hippie shit, but it actually happens and really solves the problem.
Anyone has the same thing? -
How to interpret when you receive bugs reported for your application?
Should I be happy that someone is using them or just be sad that I gotta fix them and how poorly I wrote the code.
Note: will obviously consider turning some of them into features. Though not all.2 -
Just a small discussion topic, if you could look through the source code ad have full access to 1 project/application/game/moon base forever, what would you choose and why?
For me, I would love to go through the source code for the game Hyper Light Drifter, would love to see some of the inner workings and just learn new methods of doing things.10 -
I begin by just writing my ideas and them attempting to roughly image their execution in my head, and then start to write the code. I found this method to pose the smallest amount of holdups and issues. Of course, you might have to rethink some procedures but it mostly works.
-
Try to avoid writing code that just works because one day some of your colleagues will have to refactor all of it and changing 70 files aint something someone would enjoy doing.1
-
The problem: callback hell. Code would be indented by three hundred fucking spaces just to do some async work. Your code would end with thirty lines of closing curly brackets
Solution: async and await.
The problem, reborn: NoSQL. Code is indented by three hundred fucking spaces just to run a query. Your query ends with thirty lines of closing curly brackets.4 -
I just realized that I subconsciously believe more lines of code means slower code.
It's not intellectual. I understand that little lines of code often are just calling other code. That this is not how Big O works or does not replace benchmarking and that some data structure requires a lot of code for immense speed up. E.g: B-Trees with sizes at page size for big amounts of data read from a secondary storage location.
But still, when I see a function with just 3 to 5 lines, my inner monkey believes it must be fast.
Know your biases, I guess.3 -
I just realized I do actually whiteboard. It's just that I do it on the computer using Visio...
Maybe everyone else on my team does too just they used an actual whiteboard...
Still doesn't quite explain some of the crap that shows up in the code though...3 -
My idiotic teacher doesn't know the difference between Java and JavaScript , asked us to use a old version of Code::Blocks(some c/c++ IDE) just because she thinks that a update would modify compiler in such a way that basic code would never give the same output , she blames the compiler just because she isn't capable to see her mistakes and gives me bad grades just because she walked through college and I didn't.2
-
I just copied the exact same code from another program into mine, actually left out a loop because I didn't need it. Also took some other stuff out, nothing much, just some var = othervar that I didn't need.
The other program, from where I copied the code, works fine, is fast, I see no issue, has been in production for a while now and no complaints. Mine, WITH THE SAME CODE, doesn't move. I don't understand how this is possible.21 -
Thank God for devrant. I am literarily fuming right now. Just removed some redundant (or so it seems ) code last week and already suffering the consequencies. Crazy commenting screwed me up really bad.3
-
Need to do some PHP for my class next week, problem is I hate PHP so I just distracted myself and wrote a bunch of Ruby code today...4
-
Hey curious... what motivates everyone to code?
I've actually finished a few apps to get rid of some pain points at work...
and cuz i wanted to do some real coding...
https://github.com/allanx2000/...
https://github.com/allanx2000/...
Actually this may be the first time I've actually written any personal code this year...
So I guess for me I just have to be pissed off enough to actually bother trying to fix something.9 -
so weird not to have my code crash...
before I'd check it every few hours and reboot if it has crashed
but now I check and it's just churning along
the bug was easy to fix once my brain cleared some4 -
So my friend and I have been casually talking about developing some indie games. I, being the one who knows programming, tried convincing him to learn some code.
Me: Hey, did you read the books?
Him: What books?
Me internally: ‘ok, maybe he just used some of the online guides’
Me: How’s [code learning app]
Him: Oh! I downloaded that the other day!
Me: Oh cool! What’s your account name?
Him: oh, I downloaded it but never actually opened it
Me internally:’fuuuuuuuuu-‘
Me: Did you learn any programming?
Him: nope
Me: WELL THEN FUCKING LEARN IT!!!!!
We don’t really talk to much anymore.1 -
some ppl seem to take too much pride in making everything configurable, tbh sometimes it just seems they're too lazy to make a decision
why not just ship the compiler with an empty text file and let the user "configure" the system it with code :/6 -
How is it called when I rant about something my colleagues experienced and I just supported his debug session? Third party rant? Anyway, here's the thing.
Other team built some project specific code right in the heart of their software, which in itself would be worth a rant. But as you might guess, it's getting rantier.
For a new project the same code is used, but needed some tweaks. Now guess what happened:
1) Someone took the code, refactored it, made project specific stuff configurable, everything works fine now
2) Someone changed the code completely for the new project, everything seems to work fine for 5 months, then the old project needed a new release 💣 -
"let's just copy and past the all the code with logic and smack on some if statement and change some texts for localization"
What the fuck, why? -
I was assigned a task to troubleshoot some buggy code. I am a developer and I don’t know how to get started. Does anyone else experience this kind of anxiety? Where you’re asked to apply your skills and suddenly your brain just shuts down and you feel like you know exactly nothing? I’m older than most coders in my field. Onset of some kind of brain disorder?5
-
So I am a Ruby guy since I don't now when. Probably forever. Lately I have to code Groovy. People are telling me all the time that Groovy is like Ruby. Let me tell you: No! Groovy is not like Ruby. Groovy is shitty Java with a slightly more usable syntax. Nothing more. It is so so tedious to code and reminds me why I stopped coding Java like 8 years ago. The fact that some features resemble Ruby syntax makes it even harder for me because I cannot code and facepalm at the same time. And I automatically type Ruby code all the time because it looks so similar in some places. I don't have that problem with other languages. Just Groovy. And the fact that Java people like it tells me how bad Java really is. It's just dirty. Guys, I feel so dirty now. And showering this morning didn't help. Had to get that off my chest. Thanks for "listening"9
-
It would be nice if I didn't have to come in and code on your bullshit product for your bullshit company so I could actually do some code and be happy about it.
If I wasn't so dependent on a regular income I'd be out and doing my own thing already. Money doesn't motivate me to code, it just creates the necessity for me to code for someone elses shitty ideas...5 -
So I just realized (while rewriting some code) Python can't import stuff from a sibling directory without voodoo tricks. Seriously. In 21st century.25
-
I fucking hate vendor prefixes. HATE.
Got some nice JS code? Well it's about to get ugly 'cause in our browser, the API needs some special name treatment or it feels offended.
Got some nice CSS?
You're welcome, it just grew 3x in size because "ugh, I ain't havin' the same flexbox as lousy Chrome over there! I'm special, I'm -ms-!"
Fucking bullshit.1 -
I code for 2 1/2 days straight, I'm in the zone, no comments, because I'm not in some comp sci beginners class, finish up, test it the only problem is with... All of it... Just considering writing another program to comb through that one and find the mistakes for me3
-
Reading a post on Quora lead me here. At first, I didn't like the look and feel so I hit f12 to see if I code see the source code. One would think that after x hours spent coding at my work desk, I would just want to sit at home and watch tv or play games. However, there is something fulfilling about seeing a coded product and taking a quick glance at some source code.4
-
Shut down the bootcamps. The market is over saturated. Most are just showing YouTube videos anyways as a big chunk of the curriculum. They make people think anyone can code, but you really need ambition and an ability to accept failure when your code doesn’t work (not just memorization skills or a can-do attitude). Even though some states do have regulations, they rely on the public to report any illegal activity. That’s why a lot of scams persist. They’re also making the debt crisis worse with ISAs.10
-
Just modified some reverse shell python code, which could handle multiple clients but one at a time, to allow one command to be ran on all available connections.
I either adapted it to be a useful admin tool or the beginnings of a bot net...1 -
Had to port a python code some other guy wrote using opencv for some image processing stuff to Java. I thought "how tough can it be? Let's just try it out on python first just to verify the results", only to waste an entire fucking day trying to install opencv first and make it work and to add to it the crappy opencv documentation were no help. In the end I had to just give up on this shit and decide to just do the Java implementation which I later verified from the python guy's results.
-
Today, coworker looked at some code of mine and asked me why I was repeating code and doing things foolishly, I told him I just wanted it to work and would make it pretty after. It felt really good making my code readable after knowing that it already worked.1
-
Just wanted to work on some of the weekend ideas... I thought let's just install vs 2017... While installing I found out that I can't open any other vs... Not to worry, I thought, vs code may save the day...opened vs code... "Hey... There's new update... since it's normally very quick to update vs code lemme just install the update while vs 2017 is getting installed".. BAM!!! ... Vs Code update process got stuck for 20 mins..."Can I cancel the update? ".. BAM AGAIN!!! now vs code won't open.3
-
Just married, sold my expensive laptop to pay some debts, and waiting for a very cheap refurbished laptop that I just bought. Can't wait longer!! Need to code something in React!3
-
Just went over some of my old horrible code from before i started studying. I litterally went from 104 lines of if/else statements to about 15 lines with loops. Then down to 2 lines with lambdas...
I saved 102 lines of actual code. And the runtime! I had a loop count to 10000 with no body! It helps to study apparently :/ -
I just had a Rumpsteak.
Tasted like dry, raw meat with some sawdust on it.
Hell if I printed out my code and ate the paper it'd been better than that.2 -
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.
-
I always print out a hard copy of whatever code I'm working on, then go through the code and annotate it with a pen until I feel that I have some insight... it's usually either that or I'll just walk away and come back later2
-
I just spent 6 hours searching for the reason my code ONLY works when stepping through the breakpoints. Turns out I just had to add a single line of code to my procedure (chartObject.Activate) to make it work. I'd be lost without those 3 year old posts on some shady Excel VBA forums.
Thanks for documenting that, Microsoft! -
!rant
Today I learned you can basically just copy and paste python code into a PHP script, add some brackets and change some functions and it will just work.
I guess this saves me having to rewrite this very dodgy pseudo-random number generator I have to make!1 -
For F^^k sake Microsoft give us some way to protect .net code from easy reflection / decompilation ..... Obfuscation just doesn't cut it.1
-
As a dev, I have to reuse a lot of codes again and again. Some I've written, and some of them I found after stucking my head for 1 hour on StackOverflow.
Now, the problem is every time I need the code, I have to search again. Some of them I saved in note apps but organizing code snippets & finding them with a quick search is a mess.
I was thinking of building a code snippet organizer where developers can save code snippets in any language (have syntax highlighting), search quickly, share with anyone, create buckets, manage multiple accounts etc.
Let me know if it's a good idea or not. Would you be interested in using something like this? Is this even a real problem or it's just me?15 -
!rant
finally after months and months of just planning and doing boring stuff a piece of code that was really just fun to code and plan for some days:
i just wrote my first "real" parser for a simple DSL. so much fun! i just really can recommend that to everybody.
i've use a parser combinator. the concept of this parser combinator ist to combine simple parsers (like when it starts with a number or a "-" and continues with numbers then its an integer etc) into a big one. i've written it in c# and used "Sprache" first and after some time i switch to "Superpower". a really great lib, but lacks a bit of documentation. anyway, i've your're interested in these things and want learn how your "daily code" gets parsed i would recommend that to you! :)
greetings to all fellow devRanters and happy coding / parsing! :)1 -
Typescript is a PIECE OF SHIT that adds 3 problems for every 1 it solves! Messing with so much shit from its linter and builder just so some OOP fools can code JS like *TAB* *TAB* *TAB* again!12
-
Doing another FE assignment these days. In this one they have some clear requirements and some not so clear ones ex. "make the existing code better". And it's for a team lead position so I have to pretend I know what I'm doing instead of just implementing the feature they want.2
-
The dev behind me just send some code changes to another dev because those two dont want (or are just too stupid) to merge their code with git...2
-
God damn the last few days:
JUST give me some modular-ish code that is a bit more explicit and doesn't measure every fucking thing over and over.
Like I get how taking a couple .lenght and a bunch of other variables adds up to "Make a meat lovers pizza".
But fuck man when the code goes all over the place just give me a block of code that measures all that shit in ONE PLACE a god damn pizzType variable that I can use elsewhere and just fucking know what is going on.
Every damn corner becomes this maze of measurements that you cant be sure is exactly the same unless you fucking watch every damn variable, I get how that happens but god damn.2 -
Finally decided to do some planning before writing code but now I feel like I'm just procrastinating around writing the code.
The struggle is real.2 -
I've just published my first npm module/package .For so long, I was feeling bad that I've never shared any code via npm before. So, today I thought of sharing any old code that myabe some people would find useful . I did (also had to add some lines and remove alot of lines to keep it clean and simple) and for my surprise, in few hours it got 45 downloads! although it's angular (1 not 2)3
-
I swear the longer I use AI for auto complete in my IDE the worse it gets
today it can't even get the syntax of basic method calls right
last few weeks it was failing to rewrite code I already had in another part of the codebase and was just hallucinating confused garbage instead -- it knew what I meant but it was just not there right
when I first got it I could write comments and then autocomplete the code but that stopped working at some point and I just thought maybe I was asking things that were too complex for it, but now I'm thinking all these things degrade over time and can't not degrade for some reason
they keep claiming they don't learn but if they degrade they must be doing some sort of feedback system
I remember back when they did IBM AI and such and that stuff degraded as well, then AI fell out of fashion for a bunch of years3 -
Has anyone else used CodeBeat before? I just started an open source project that I plan to publish onto NPM so I created a public GitHub repo. Saw a marketplace tab and thought what the heck let's try it out. Found automated code reviewing software and gosh darn! Their GPA style grading system makes me want to write some pretty efficient code!
Has anyone else had the pleasure of using it?1 -
Ya know when somebody else is on a project and you see their code and it's just sorta stay away from that bag of crazy? Like, some people I work with I see their code and it's fine, then I see some people's code and my eyes start to bleed.
-
I'm slowly realizing how much goofy code I put in my branch and overlooked. This code review is going to be interesting...
Some examples:
import plots as lel
<h4 id="title">Crunchatize Me, Captain! </h4>
go.Scattergeo(name="cheese", ...)
webster = { ... }
The commit messages are even worse.
- 'horizontalize' link list
- very messily hack in <feature>
- partially refactor some of the awful code from previous
- Remove one annoying space
- make background color less annoying
- remove seemingly useless property
- minor fix
- Apparently it's possible to center a DIV. Who knew?
- Made some cool bar graphs
And then there's just a bunch of reverts.2 -
Do you guys still see the relevance of using code freezing instead of just properly managing versions, repositories and branches in a cyclical manner, given how advanced software practices and tools are supposed to be?
To give some context, the company I work for uses the complete trash project management practice of asking teams to work on a sprint basis, but there is still a quarterly milestone and code freeze to commit to and it's where shit hits the fan.
Development teams rush features at the end of the quarter because they had to commit at the very least to a 6 months in advance planning (lol?) and turns out, not being able to design and investigate properly a feature combined with inflexible timelines has high chances to fail. So in the end, features are half-assed and QA has barely any time to test it out thoroughly. Anyways, by the time QA raises some concerns about a few major bugs, it's already code freeze time. But it's cool, we will just include these bug fixes and some new features in the following patches. Some real good symver, mate!
Of course, it sure does not help that teams stopped using submodules because git is too hard apparently, so we are stuck with +10Gb piece of trash monolithic repository and it's hell to manage, especially when fuckfaces merges untested code on the main branches. I can't blame Devops for ragequitting if they do.
To me, it's just some management bullshit and the whole process, IMO, belongs to fucking trash along with a few project managers... but I could always be wrong given my limited insight.
Anyways, I just wanted to discuss this subject because so far I cannot see code freezing being anything else than an outdated waterfall practice to appease investors and high management on timelines.8 -
At work, when I try to find the best place to implement some code, I read the current code to get why it's here, and if I'm at the right place to do my stuff.
Sometimes the previous dude writes a shitty code because, well, Drupal 8 and he didn't have much choices to make his stuff work.
But some other times just reading the code feels like double checking if I did all my vaccinations. When these moments occure, I activate the annotate mode in PHPStorm so I can see who wrote this piece of dumb shit code, so I can insult him in my head while doing my stuff.
Sorry pal, I'm not paid enough to write a WORKING code for you at your place, but at least you'd know that if you were drowning, I'd share my point of view about this planet's overcrowding. Fucker. -
My CSS-only hamburger menu.
It's cool and all, just a few lines of code, but some days ago I tried to do a 2 sides hamburger menu.
Based on that I just copied it and changed every left for right. Worked. Like. A. Charm. I had to apply some z-index stuff of course but nothing out of ordinary.
I'm so cool. I'll upload it to GitHub ASAP, but it's not a priority rn. -
Why does Bitdefender always have to delete my shit? I just want to compile some code!
link.exe? Defenetly malware, I should delete it for the 20th time! You want to run some unittests? No, that's malware, better block this too.12 -
I've just tried those streams of Java 8. And I can't understand, how on Earth I didn't try them before. They're magnificent.
Hovewer I have some doubts about using them in production. I think no one else will be able to understand what code with streams do.2 -
Just purchased an import car from japan, what do you guys think, should i do a custom infotainment system on a raspberry pi maybe write some code so it'll show all my car info? Or do you think it'll be too much of a pain in the ass5
-
Bought great book from this Spanish company on Drupal. The book is well structured and the examples are excellent. Just some typos that they mistranslate from Spanish.
But thought it was weird that the code examples were not available online. Sent them an email to request for them.
They answered that the code is not online beacuse their students have to remake the code using the book in their courses. And ask them if I was interested in the course.
Fuck them! They are using opensource code but their examples are not open source because of some elementary-level school mentality that their students might copy the code and somehow not learn well.
They are fucking adults ffs!
Ps: Even though their answer piss me off, they still have the best book I've read on Drupal.2 -
When it's 2:45am and you've just finished rewriting a large piece of your code and all your tests pass. A normal person would probably be asleep already. A sane person would go to sleep.
What would you call a person who stays up at this hour just because he likes the tunes a bit too much? :)
https://music.youtube.com/watch/...
just some good tunes and all the green tests.... :dance:5 -
My first words to one fresh graduate , which just started his backend path:
Untested code is a garbage waiting to be collected. Even if some companies / teams somehow manage to do miracles and to work with untested code... that's just a pre-death fantasy of a dying man. -
Had to add some functionality to another guys GUI code.
He gave me a "template" file (copy of another module), pointed at several places and said: "Make your changes here, here, and here. Do not ask why, do not even think about it. Just do it." -
!rant
Just posted some swift code to a server, in a few hours I should have all the prime numbers from 1 to a billion!4 -
Just gave a try to Stackblitz browser based code editor. I tried it for developing Angular app. It's amazing, supports npm and some Angular CLI features as well!
-
Update to my last rant*:
I got to know what my colleague did as he "rewrote" my code:
He just searched some GitHub-Projects and used the good old copy+paste method.
Awesome bro, "rewriting" code until nobody's understanding it is the best method to improve code.
*https://devrant.io/rants/735762/...2 -
I suggest my company interns to follow WWC (women who code) community. After sometime I saw, some people started following that. I just felt happy for them. 😊
-
I'm going to pray tonight that a judge puts an injunction on a new tax law tomorrow. Just found a problem with some code and I am rushing to fix it. I could use the extra time.1
-
so i was validating some user data using ajax in a facelets page.nothing was actually being validated when i deploy the application in tomcat..i thought it some sort of a bug on my code and after checking for the greater part of today i just couldnt find any bug.So i decided to deploy on GlassFish and it worked perfectly fine..fuck containers!!!1
-
So ive been cleaning my room and i found some old notes that i had, it was some lines of code that i thought up when my professor was explaining us the proj. Now my question is how does everyone else take notes of ideas or solution they come up with? even if its just random ideas.3
-
I just spent like an hour trying to fix some piece of code and guess what was the problem? a fucking TYPO! That was so frustrating LMAO (laughing but crying inside) T-T1
-
I just wasted half an hour of debugging because the NPE-analysis of our tool had thrown some serious-looking errors.
It turned out the client had checked in broken code into VCS 🤷6 -
How to fuck up a simple feature in terms of usability and functionality and take two freaking years (!) for it?
Just use some low code dogshit like the crap that SAP provides.1 -
The reason I even stepped back into the coding field is owed to a friend I made at my current job. He showed me some funky stuff done with code and I just couldn’t stay back I haven’t stopped coding since.
-
My friend Just completed his notice period in my company, but now he's saying that I forgot to copy some code for reference like their architecture and authentication code, so, he's asking me to share the repo code of my company. The company has deleted all his data while he was leaving. So what should I do? should I share the code without including .env files or what should I do?10
-
!rant
Just started a side project, helping a friend make his Android app more stable and add a couple more features. We'll release the sources sometime later.
Gotta say, his code is just terrible. And it runs on top of some code written by someone else, and that's even worse.
But I don't know how I got the motivation to spend the whole Saturday cleaning it up, fixing warnings, making abstractions, extracting features to separate classes, converting some stuff to Kotlin, even adding a couple coroutines. It felt good fixing bad code.
Maybe because I have some coding freedom I kinda miss at work.
Maybe because the project is not that big.
Maybe because I know the guy has many skills, coding is just not one of them.
Maybe because that project has some cool in it I can't even describe.
Maybe because that's entirely within my skills but challenging enough to have fun working on it.
Or maybe is just the mood of the moment, and in a week or so I'll lose all the motivation, as it happened too many times.
🤷♂️2 -
Spent like half an hour messing with our web app code crashing on a cryptic error just to discover that a Chrome extension released a buggy version (automatically installed, of course) which crashes all pages using it (there are even some big pages in production being affected like something from atlassian).
Great, just wonderful job guys... -
Some days I just can't seem to get any of my code working. What makes it worse is that it gets 'harder' to figure out the longer it takes because the stress of it all really wears me down...2
-
Some Coworker - developing about 20 years with WinForms and very ugly code.
Me - Junior Dev about 4 years now started with WPF and not long ago with MVVM.
Me trying to teach him some MVVM... Just frustrating. Like talking against a Wall..
Getting a headache now. I need a stressball -.-1 -
I was working in my windows VM in class, just typing some C# code, when suddenly... "Updates are being installed".
Without notice, it just shut down while I was typing stuff. How??5 -
Building apps in 30 mins at conferences.
First 5 mins: I'm gonna do the entire thing using just some boilerplate.
After 25 mins: I'm just gonna copy some unimportant code from the one I already made... ...And it's done!
Footnote: The people who put themselves up for it are always great! I've learnt a lot from such guys. Massive respect ✌️ -
How am I supposed to start learning pentesting / hacking when kali linux is shot down by the devRant community?
Yes, I would rather start with some source that would get me writing code to do it, I just don't know which is it. Maybe sourceforge?5 -
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. 😯
-
"Anyways trust code that you wrote before but... never rely on that!"
I wrote some code mounts ago, now when I want to refactor it see a bunch of shit, I delete them all and after hours write exactly the previous code!!! just because i don't put some STUPID comments... 😑1 -
Ever tried to code a plugin for SonarQube? ... Yeah, don't do that. Documented API? Nope. Just some not-helpful-at-all-tutorial.
Largest undocumented code base I have ever seen. It's unbelievable. At some point you decide it's better to look at the code of other (undocumented) plugins to extract any API methods there.
Hep from the (otherwise pretty active) mailing list? - You wish!
The best thing is when you discover on Stack Overflow that the thing you have been trying to do for two weeks (and someone else was too, apparently) is not possible with their API.
PS: Maybe this has changed since their last version but some months ago it was every bit like this. -
Why is iOS debugging so fucking useless? Instead of having a normal stack trace which takes you to the line of code that went wrong it just takes you to the bootstrap line in AppDelegate with a random code and basically says "Fuck you, figure it out yourself". Their stack traces are just as useless. IS THIS WHAT SOME PEOPLE CALL THE PREMIERE DEVELOPMENT EXPERIENCE, GODDAMNIT? at least Swift is nice tho, unlike Objective-C4
-
Just experienced the other side of "but it works on my machine"
Had problems with some code, stopped by professor office asking for help, downloaded the .sh from our git and it magically works -
Sometimes I just code some ugly crap that does the job and create a To Do to revisit it later and try to make it elegant.
When I revisit the code I always can't believe that I thought it was bad.
Seems like my past Me is a better programmer than present Me. Ouch. -
Me from the future
Only because if I say enough nice things about him, he might not come and kill me when he reads and maintain some of the code I wrote the other day....
me > You heard it me from the future, right? your cool! right?... I didn't want to! There was more code like it! I just followed what was written!!!
me from the future > Run!
me > (⊙_⊙') ohh shi.. -
just wanted some help from you people..
if anyone knows some sort of Code Snippet Manager or Gists Manager.
I want to store my code snippets (public and private) with the following abilities:
1. Search the snippets
2. Tag the snippets
3. Code highlighting
4. Cloud Stored Snippets
5. Is free
I've found Cacher and Lepton but Cacher allows only Public snippets in the free version and Lepton lags search ability.
Anyone know a better client for this purpose?8 -
The moment when I wrote a puzzle solver in C.
Not the most exciting thing to write but it felt great at the time.
Before writing every line of code without thinking some steps forward I decided to write it as pseudo code in notepad.
The very moment it was converted to C it just worked, writing it was beyond pleasure, just pure bliss. -
Jesus Fucking Christ can you just guess what the code is doing instead of me feeding it to you like a fucking baby. TRY TO HAVE SOME SORT OF INTUITION DAMNIT I’M TRYING TO HELP YOU SO YOU DON’T LOOK LIKE A DUMBASS.2
-
When you get called from someone at two employers back because of some Python code you wrote back then asking why their changes in the code do not work and you know exactly by the way they talk they just messed up the indentation. *facepalm*
#InTheWrongMovie
Why do I put documentation in my files when people do not know the basics?2 -
Why do I always get the response: "just comment your code better" whenever im looking into ways to make my files smaller and more pleasant to read by abstracting big chunks into different files.
Or when i want to generate some documentation with storybooks or something.
Is it just me or am i that rebellious by wanting cleaner code..2 -
When you realize you are blocked ........
Background:
A simulation I am working on stopped working due to some linking errors again. I looked it up online and followed some suggestions. Deleting the project from work space and reimporting it. I also created a new workspace and compared binary files with another similar class. The makefile seems to be detecting it. It just doesn’t agree with he file syntax although it’s correct. Oh no ....
Me: “You gotta be kidding! I just want to code .....!”1 -
Hackerman strikes back. Always thought the new knowledge about stego tools, reversing, enumeration, privesc were just my private amusement. But could now use it, hopefully resolving a severe crash by dropping our binary into radare2 (cutter) and ghidra, identifying some dangerous code.
Also it gives you new angles to look at things. E.g. the vectors your code might expose...3 -
JUST FUCKING NOTHING WORKS!
ERROR HERE ERROR THERE.
Then i tried to copy the exact sample code and it ALSO DIDN'T WORK.
AND THEN FUCKING VSCODE shows errors THAT AREN'T EVEN THERE. THEY MAYBE WERE THERE 10 MINUTES AGO. IS THIS SOME FUCKING INTERNET EXPLORER SHIT. ALSO COMPILING THROUGH IT DOESN'T WORK JUST THROUGH THE COMMAND LINE. AAAAAAAAAAAAAAAAAAAAAAAAAAAAH FUCK IT8 -
One thing I would really like to be able to do: always understand my own code.
Boy it irritates me when I forget to make proper documentation and have to loo back at some code I wrote days before. Knowing what I was thinking at that moment would be just great. -
He you all, I'm in London between 27th and the 30th of July. Wanna meet up, grap some coffee, just chill and talk some code?
Hit me up below!!1 -
!rant
So I just read that PHP v7.3 and v7.4 is actually focusing on more user friendly code.
It look long enough, Christ. Hopefully I'll be able to get hang of the syntax at some point now.5 -
I just was wondering, how https://phantombuster.com does all those automations on a scale? I mean, I can surely write some code that will work for one user(may be just for myself), but how do I scale it up for millions of users? how does it work on millions of LinkedIn/Youtube/Twitter etc user sessions?
Can anybody give me a hint?5 -
Spent half a day working on some code to add some functionality. Ran into some binary assumptions and found workarounds. Got everything implemented and close to start testing things. Not a lot of code, but a lot of places that needed careful attention to detail. Started looking at the final code needed for initializing things. Found that all the code I wrote would not be needed if I just initialize some things differently. Realized I don't need all this code. The code is literally redundant.
git checkout <changed files>
Okay, now I understand the code better. I am ahead because I am not maintaining code I don't need. Half a day of reading the code helps me understand everything that is there.
Life is good. 😀 -
Some of you can probably relate, I've been learning to code since about 13 and it all obviously began with copy pasta code claiming proudly that you would have made it, then there were those kind of dicks which either have proven that you copied the code or pointed out how bad the code was, I've hated those kind of developers.
Welp, I just turned 18 with a lot of experience gained and I really just became that kind of person over the years, no regrets :^)1 -
Starts a new project in school with a colleague. Write some code, a lot of code, just to find out, that he "optimized" my code and now all of my code looks completly different but does the same thing wiht same performance.
Colleague: The code is now better
My Face: 😫 -
!(rant)
I'm a student and I'm currently working on a project.
How do I get it to execute blocks of code depending on the type of value it receives in a variable?
or maybe
Should I just use some other method or workaround to do it?
I'm not sure if I should post my question on SO.
(I think it's a dumb question)
--
If it gets (request.getParameter) a string { execute code }
else if {
//gets an int
execute code
}4 -
I just learn to speak and explain stuff as humanly possible. Most project managers are like us, before we learned how to code. Just read some books on people management (like Crucial Conversations) and you will know how to manage PMs expectations.1
-
Really hate it when a project is switching focus every month or so. You start focusing and committing a lot of time to make things work. Taking initiative to enhance things. Then some weeks later management is switching focus and you have to port all fixes in the new code base. Then some weeks later you have to work on the things you did before but with some adjustments that result in the old code not being possible to use and you have to port fixes again. When complaining you sometimes get the question "how hard can it be, it's just some code". Some motivation is lost every time. And repeat this like a "while true" loop.
-
Ok......so we working on this system with a friend
we have deadline today
he's the one who wrote the code
I'm just implementing some features
maaan the dude is just not responsive to questions
and project structure and code is bad AF no comments or docs
WTF!!!!!!! -
Why on earth would anyone agree to work in a company that sends your code to some other team to check it then you get stupid comments like yes it works great but make the code look like the code in that system we made 10 years ago so everything can look the same. Easier for maintenance.
That is not how programming works ...
Code has an essence to it...
You cant just make me break the ...
Honestly id rather work for less money and never have my code questioned on the bases that “it should look like...”1 -
Hey all, just want to say thanks in advance. Last night, my friend and I were in a project together (realtime), and I was teaching him about some basic Keras models in python, stacked with tensor flow. When we were at school the previous day, he was really interested in the actual concepts behind the code, but when we were actually making the model, he seemed kind of uninterested. I suspect he was just getting distracted, and its better to write down the code and go over it at school, but is there some way I can try and make it more fun/interesting for him?3
-
when you type in a bunch of jarble to fix your lack of code experience and it ends up actually working some how. (・・;)
Just one of those, I know what makes up a car mostly, but do I really know how to assemble it? hahaha -
I just fixed some weird bug in legacy code which was caused by UI that contained text input fields embedded inside of text input fields.
How can anyone even think of this as a good idea?!
Needless to say, the UI was just broken. Maybe not a few iOS versions earlier. But definitely on the current iOS.2 -
Some senior just pushed some half assed typescript code generator that generates stupid types that make everyone's life difficult.
Who need transparent type inference? Just use type guard everywhere.
Can't reason with the particular individual.
Please release me from my misery.
In house built == shitty version of original open source library. -
I'm working on some custom software for work, and I've been keeping a changelog. I use three main headers: Added, Fixed, and Changed. Under what header should 'general stability improvements' go? These stability improvements are too vague and broad to specifically mention what changed (because nothing changed, just some source code was re-arranged/re-worded) What category would you put this?
Edit: This changelog is for the `non-tech` employees5 -
Been looking into some of my old code (an OBSE plugin). Wanted to know how something worked I made over 10 years ago. I look through the code and some of it makes sense, some of it looks really messy compared to what I write now. I want to remake some of this code to work on a different game now.
I have some code for threading that I have no idea where it came from:
https://github.com/Demolishun/...
It allows transferring data between different threads using mutexes. It is really really simple. I searched github to see if it came from there. There is stuff with similar names, but the code is way way different in those. I honestly don't see whey this code needs to be any more complicated than it is. I wonder if it is because I don't know something or I just like simpler solutions. Maybe there are use cases the other coding solutions have that solve particular problems?
Anyway, I plan to pound out an SKSE version of this plugin. I have been wanting to make this for some time now. I don't necessarily have a need other than the fun factor. My lack of providing good directions for use on the OBSE version kept people from using it. I will try and do better on this version.2 -
Man people posting video of them copying code from code pen and say it’s their most creative login form so far
Like you can say today I’m gonna show you some code I found, but saying it’s your own code is just pure dumb, you are not that creative, you are dog shit1 -
What a day. I was cleaning up some of my styling tweaks for this react app; removing superfluous rules, nailing some hard to pin alignments that have been off up until now, and removing unused files and code in general.
I managed to delete an entire folder. I'm not sure how I did it, but apparently I had highlighted the folder when wanting to just delete one file via vs code. This was hours of uncommitted (yeah, my bad) tweaks and cleanup.
But - I still have the app loaded in my browser. I can't see the prebuilt source code, but I can see the compiled, raw main.chunk.js which gives me the exact code albeit not in the format I need.
So that's my day. Re-tweaking, re-adjusting everything while working my way down a compiled javascript file from top to bottom while explaining to my team why I haven't pushed my changes that I was just going to clean up.
Now I'm having a beer.3 -
It's one of those days when I'm debugging some code
and then I noticed a breakpoint I have deleted just popped up again by itself
my visual studio might be haunted -
Going through code of a bluespec verilog core
This language is some jungle shit !!
is there any intuitive HDL exists or it’s just a myth3 -
Any way to run some python code in android without losing my mind !? It is just a code which queries a simple api once a minute and logs it into a sqlite db. I want to use my phone as a substitute for a server instance, cos i dont have the monies to buy one..😬.. SL4A aint working.. P4A webview isnt working for some reason.14
-
Hello, I'm kinda stuck in this problem: Lets say, I want to give each of my users a dedicated IP address. How do I do it? & what's the best way to do it with python?
No need to share code, just some instructions/guideline would perfect. Thanks in advance.19 -
When do we consider to "hack" some code in?
I am ashamed that I have to ask this. but the codebase is such a mess that simply adding another function to pass some information to 5 different classes that should not know about this. just to make it work. feels awful to me
wait why do I have feelings I get paid to maintain this shit.2 -
Okay, here is the thing. I'm reviewing some changes about a new Pop Up component made in React.
Everything starts as usual; seeing the new code, what they remove, what they added. But for some reason one of my fellows decide to change the whole structure and changing component site to another folder, renaming and doing a lot of stuff not related to what we were suppose to do in that dev.
Am OK with improving code during new additions or tweaks of code but this... this goes too far.
Now am not sure of pushing all the changes to master cause I can't ensure everything will be fine... crap.
That's all, just needed to spell it out. -
Hell, I always thought I was a team player, but is it a great week being the sole developer (all the other on vacation). So I didn't get interrupted all the time, read overblown PR. Still, even in their absence I spent about three days fixing their build issues and PR's, but I could sit down and read the code, some documentation to get a better understanding why it all sucks and what we should do with our pain in the ass build system.
It's really a blast, deleting some stupid code, removing superfluous dependencies and above all leaving snarky remarks in the commit messages and code comments. Just letting some steam off. Code is where my devrant is. -
I think I'm supposed to start this with some kind of no rant tag, but I've never been good at following the rules. I just watched the first episode of the third season of Rick and Morty. Best ep I've watched yet!
That is all, go write some awesome code.2 -
So this https://devrant.com/rants/7347385/...
Then today I was supposed to merge code written by some who left at the end last month. QA just passed it now. Yea that branch is nowhere to be found -
Just found some of Andrei Alexander's I'd videos on YouTube. Specifically the cppcon 15 talks. Does anyone else here know of talks or books etc all that can satisfy my near-juvenile love for fast code.
-
Had to refractor and abstract some code into an angular 2 component so it can be reused by another. Well I could have just copied and pasted the code from component 1 to 2, that would have been a lot more faster than making this piece of code separate. The later is better, removes code duplicate and your code reads better.
-
I'd like to follow along with some react tutorials, but pretty much all I'm finding are ones that either just have blocks of code (with little to no explanation) to copy/paste or just a link to github.
Do any of you know of any good, well explained tutorials I can follow along to that actually explain what they're doing (and actually end with a sample project, so not just theory).2