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 - "code hell"
-
Reading devRant feed is so fucking hard nowadays. Every other rant is about Windows rebooting, Google being evil, Quantum beating Chrome, M$ users being cunts and all these fanboy shits.
Fucking hell. Write some actual code and rant about some solid problems rather than being a stupid fanboy.12 -
click click...
*reload*
_________________
| |
| This will be wra|
| |
|_________________|
hm.....
ah...
*hits ctrl+s*
*smiling*
*reloads*
_________________
| |
| This will be wra|
| |
|_________________|
what the f..
..
..
hm....
hm....
aha
ctrl+alt+t
*confidentiality*
sudo sublime /opt/htdocs/learning_css/wrapping_text.html
********
o.O but my code ....it's here.....but why wasn't it showing....
*just to be safe*
ctrl+s
*reload*
_________________
| |
| This will be wra|
| |
|_________________|
meh..... what was I thinking
*wastes time restarting xampp*
*searches CSS everywhere*
*steals working code*
*eyes red as hell*
*it's 3 am*
*after 1hr*
*accidentally reloads*
_________________
| |
| This will be |
| wrapped |
|_________________|
o.O
*blinking in confusion*
what the .... how did it work....
I changed nothing.....
*realises*19 -
A: "You write code? Can you fix my computer?"
M: "No, that's not how it works, bud"
A: "Why? It's both computer stuff."
M: *points to the greasy tire shop* "Let's go get your car painted there*
A: "Hell no"
M: "Why? It's both car stuff."
😂4 -
dad: what the hell do you do again?
me 1st time asked: I'm a back end web developer, i write the code you don't see that makes things you do see work.
me 90,000th time: internet stuff.
me 83,881,178th time: computers!4 -
Friend: Can you teach me to code??
Me: Hell yes, bout time you came to your senses.
Friend pulls out iPad: Okay, lesson one!
Me: Did you actually just pull out an iPad? Get a fucking computer or laptop!9 -
JuniorDev: I made some changes to your code and it seems to work better.
Me: Awesome, thanks dude.
Inner-me: Who the hell does he think he is.7 -
Okay, time to delete my old Skype account
1. Enter Skype name
2. Reset password
3. Captcha
4. Complete email
5. Enter email code
6. You are logged in now, please complete your profile first
7. Enter birth date
8. Add your phone number or second email address
9. Create new outlook mail
10. Got access to profile settings
11. Click on delete profile
12. Stop please first verify your email again
13. Enter code
14. Check all checkboxes that I am really sure to want it deleted
15. Click delete button
Fuck hell and that all again for my second account7 -
drunk me: "let's just code a bit right before going to bed!"
*codes and then goes to bed*
sober me: "when and what did i do here?"
(...)
also sober me: "how the hell does this work?!"9 -
A method that contains over 9000 lines of code.....
Are there really production codebases out there with stuff like that? If yes I am scared as hell because I don't want to work with that kind of code once I graduate
Tell your stories!19 -
I'm so fucking tired of all these "teach kids to code" and "everyone can code" shit.
It's genuinely not for everyone. Some people are not meant to code, so stop trying to force it down everyone's throat because we're going to end up with a lot of people doing it because of a nice job and shit, not because they want to.
I get many of these programs and shit are to expose people to it and all, but fucking hell stop trying to make everyone fucking programmers23 -
Yesterday was Friday the 13th, so here is a list of my worst dev nightmares without order of significance:
1) Dealing with multithreaded code, especially on Android
2) Javascript callback hell
3) Dependency hell, especially in Python
4) Segfaults
5) Memory Leaks
6) git conflicts
7) Crazy regexes and string manipulations
8) css. Fuck css.
9) not knowing jack shit about something but expected by others to
produce a result with it.
10) 3+ hours of debugging with no success
Post yours27 -
Why do people (Some devs too...) bloody hell think that devs have Hard time fixing the Semi Colon issue, we have a lot of other issues to figure out, like the Structure of Data, Code Fragmentation, API Creation, Invalid Data Handling, Injection Prevention. But no, since we are developers, we are having sleepless nights because of one fucking semicolon? FUCKING NO, it hardly takes 30 seconds to figure out that there is a missing semi-colon. Really People, stop the ; thing!10
-
Fuckin hell!!
Code works everywhere except at one client. Ok, I check logs & see something missing.. I go check the code that handles excel files.. try catch and do nothing.. great.. :/ ok let's log this shit to see what is not ok...
Insert logs, build, update, run.. now it freakin works o.O11 -
Why the hell am I 200% more productive at 2 am? Makes literally no sense. I JUST WANT TO CODE LIKE THIS IN THE MORNINGS17
-
I don't know why people call themselves "Developers" when they really just download a WordPress theme and adds bunch of plugins without touching a single line of code.
What the hell is going on?9 -
Teamate: Hey I'll checkout you're branch to see what you've got done today.
Me: ...Ok.
Few hours later Teammate forgets to change branch and overwrites all my code in my branch causing merge hell and creating hours of more work.
Me:...what in the f***?!6 -
This ist basically my daily work. I have to write Java code in excel files which then are being converted into a DSL and then again being converted into Java code. On top of that many wrappers were built which abstract all this things away..
We have about 30 such excel files which contain about 50000 business rules.
There is no version control for this tables and 5 different team are working on the same tables parallel.
The name of this framework is Drools or as I call it: HELL 😡16 -
Tried to modify a script again which pretty much installs a ready to use vpn server on a server.
Tried to modify it so that it takes arguments instead of manual input.
It is, fucking, yet again, quitting right after an apt install command.
Error exit code? Oh no, a perfectly fine fucking 0. Which means it ran successfully.
Successfully my fucking ass. You aren't even through half the motherfucking script!?
Fucking hell. Fuck my life sideways.26 -
YoU nEEd tO tHInK MorE LiKe oUr nOn tEcHnICal UsErs
That's your fucking job you powerpoint monkey, I'm writing code since age of 14, I distrust everything that doesn't spit out logs of what it's extacly doing to my console including you, my gf says sudo to get my attention, how the hell am I supposed to know how normies think16 -
I swear 90% of people who apply for a dev job couldn't code to save their fucking lives.
Like wtf? You can't apply for a job as a commercial pilot, then turn up and announce you've never flown a plane before, so why is that accepted as being somewhat expected in development?
Fucking hell....9 -
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 -
Do you really expect that I can debug in a few minutes, a part of the software that I didn't build and have never seen before and have no knowledge of the external, third-party web service that code is reaching out to?
Dude, flippin' chill, take a walk, grab a drink, pop some popcorn and give me some time to figure out what the hell this code is doing so I can properly debug it!
You know what it turned out to be? Wrong test data used for the 3rd party service. So in essence... Nothing was wrong! Frickity frack!2 -
Lead: "We write SOLID code"
Me: *opens a controller file*
Controller: "I'm 8000 lines long and hell yeah I'll access the database and file system directly!"5 -
Google: You need a fast website to rank well.
Me: Ok, so why does your Google Analytics, Google Tag Manager, and Google Optimize code drag my site down to the seventh circle of Hell in performance?
Google: You need a fast website to rank well.
Me: ...3 -
Whenever a language has a goto statement I can't resist :
On error goto hell
// code
Hell:
// error handling3 -
I am really going nuts about everyone using ChatGPT. Had literally discussions 'bUt cHaTgPt sAyS iTs TrUe', when the docs said clearly thats not the case.
Also the "code" produced is just what the hell?!
I hope this damn hype will end soon12 -
Spectrum Dev: Hmmm.. what should I use for an error code...
Another Dev: The hell should I know.. what's your favorite letter?6 -
Functional Programming. Because Moores Law has moved from making processors faster to multiplying cores, and we may eventually have to code on machines that have 1024 cores or more. Mutable state will cause all kinds of hell in those scenarios. We already have problems with it when we have like 2-3 different threads.4
-
Dear Developers,
A. Please put your fucking functions in files with names related to the purpose of the functions.
B. Don't define your database management methods in your goddamn configuration file.
C. In addition, fucking document your shit at the top of the file if you refuse to abide by request A.
Someone is going to maintain or modify this code after you, and that person will have a hell of a time with it.3 -
"We decided to use RxJava while you were on holiday, as it basically makes it impossible to write bad code."
You what now?!
....
*Looks at code*
Bloody hell.8 -
Worst code review experience?
Hard to pick just one, but most were in a big meeting room with 4+ other developers not related to the project and with some playing Monday-Morning-Quarterback instead of offering productive feedback.
In one code review, the department mgr reviewed the code from a third party component library.
<brings up the code on the big screen>
Mgr: "I can't read any of this, its a mix of English and something else."
Me: "Its German."
Mgr: "Then why is 'Button' in English? This code is a mess."
Me: "I'm not exactly sure how I should respond, I mean, I didn't write any of this code."
Mgr: "Yes, but you are using it, so it's fair game for a code review."
Me: "Its not really open source, but we can make requests if you found something that needs to be addressed."
Mgr: "Oh yes, all this...whatever this is..<pointing again to the German>"
Me: "I don't think they will change their code to English just so you can read it."
Mgr: "We paid good money, you bet your ass they'll change it!"
Me: "I think the components were like $30 for the unlimited license. They'll tell us to go to hell first. Is there something about my code you want to talk about?"
Mgr: "<Ugggh>...I guess not, I couldn't get past all that German. Why didn't we go with an American company? Hell, why didn't we just write these components ourselves!?"
Me: "Because you gave a directive that if we found components that saved us time, to put in a request, and you approved the request. The company is American, they probably outsourced or hired German developers. I don't know and not sure why we care."
Mgr: "Security! What if they are sending keystrokes back to their servers!"
Me: "Did you see any http or any network access?"
Mgr: "How could I? The code is in German!"
Monday-Morning-Quarterback1: "If it were me, I would have written the components myself and moved on"
Me: "No, I don't think you could for less than $30"
Monday-Morning-Quarterback2: "Meh...we get paid anyway. Just add the time to the estimate."
Mgr: "Exactly! Why do we even have developers who can't read this mess."
Me: "Oh good Lord! Did anyone review or even look at my code for this review!?"
<silence>
Mgr: "Oh...ok...I guess we're done here. Thanks everyone."
<everyone starts to leave>
Me: "Whoa!...wait a sec..am I supposed to do something?"
Mgr: "Get that company to write their code in English so we can read it. You have their number, call em'...no...wait...give me their number. You keep working, I'll take care of this personally"
In they nicest way possible, the company did tell him to go to hell.17 -
166 lines of if else hell just to decide between prod and sandbox.
Run the same query multiple times to get the same data.
And that's all written by our code review team lead.
What a mess.2 -
HELL. YES.
I wrote a complex grid rendering system in c++!
It accepts pixel values and * values (Grid values)
Works very similar to WPF grid, which I LOVE.
The few lines of code needed (On the front end, at least) to do this are in the comments. VERY FUCKING HAPPY RIGHT NOW.13 -
I finally ended my first side project ever. I challenged myself to write a Tetris game in vanilla JS (with the less possible lines of code), some algorithm was tougher than I expected (2d array hell) but I made it ! 500 lines of JS code, I feel I could refactor some stuffs now...4
-
(Forgot to post this a few days ago. Was just too tired.)
Finally finished the code review from hell.
The patch on top of the PR is +1448 -1114, and nearly all of it is rearchitecting, not moving.
I think I spent six days on it, 4-5 productive hours a day? Seems like a lot. This codebase is a bitch to work in.
I’m spent.1 -
If you write a tutorial or a book with code samples please take the time to ensure that (a) you cover everything that is needed to get your samples to work properly and (b) that your samples actually to work.
It is frustrating the bloody hell out of me typing your code character by character into my machine just to have my compiler screaming at me.
On that note: just wasted a week on rewriting a whole bloody library that was "broken" just to discover that the library works just fine but the freaking tutorial on the very page was faulty.5 -
Ok, so when I inherit a Wordpress site I've really stopped expecting anything sane. Examples: evidence that the Wordpress "developer" (that term is used in the loosest sense possible) has thought about his/her code or even evidence that they're not complete idiots who wish to make my life hell going forwards.
Have a look at the screen shot below - this is from the theme footer, so loaded on every page. The screenshot only shows a small part of the file. IT LITERALLY HAS 3696 lines.
Firstly, lets excuse the frankly eye watering if statement to check for the post ID. That made me face palm myself immediately.
The insanity comes for the thousands of lines of JQuery code, duplicated to hell and back that changes the color of various dividers - that are scattered throughout the site.
To make things thousands of times worse, they are ALL HANDED CODED.
Even if JavaScript was the only way I could format these particular elements I certainly wouldn't duplicate the same code for every element. After copy and pasting that JQuery a couple of times and normal developer would think one word, pretty quickly - repetition.
When a good developer notes repetition ways to abstract crap away is the first thought that comes to mind.
Hell, when I was first learning to code god knows how long ago I always used functions to avoid repetition.
In this case, with a few seconds though this "developer" could have created a single JQuery handler and use data attributes within the HTML. Hell, as bad as that is, it's better than the monstrosity I'm looking at now.
I'm aware Wordpress is associated with bad developers due to it's low barrier to entry, but this site is something else.
The scary thing is that I know the agency that produced this. They are very large, use Wordpress exclusively and have some stupidly huge clients that would be know nationally.
Wordpress truly does attract some of the most awful "developers" and deserves it's reputation.
If you're a good developer and use Wordpress I feel sorry for you, as you're in small numbers from my experience.
Rant over, have vented a bit and feel better. Thanks Devrant.6 -
Employer: "Welcome to your internship. We need you to code VBA"
Me: "Ok."
Me internally: "Oh. Visual Studio. Ok."
Me internally after 1h of coding VBA in Excel Plugin: "Burn in hell MS"2 -
I think I want to quit my first applicantion developer job 6 months in because of just how bad the code and deployment and.. Just everything, is.
I'm a C#/.net developer. Currently I'm working on some asp.net and sql stuff for this company.
We have no code standards. Our project manager is somewhere between useless and determinental. Our clients are unreasonable (its the government, so im a bit stifled on what I can say.) and expect absurd things from us. We have 0 automated tests and before I arrived all our infrastructure wasn't correct to our documentation... And we barely had any documentation to begin with.
The code is another horror story. It's out sourced C# asp.net, js and SQL code.. And to very bad programmers in India, no offense to the good ones, I know you exist. Its all spagheti. And half of it isn't spelled correctly.
We have a single, massive constant class that probably has over 2000 constants, I don't care to count. Our SQL projects are a mess with tons of quick fix scripts to run pre and post publishing. Our folder structure makes no sense (We have root/js and root/js1 to make you cringe.) our javascript is majoritly on the asp.net pages themselves inline, so we don't even have minification most of the time.
It's... God awful. The result of a billion and one quick fixes that nobody documented. The configuration alone has to have the same value put multiple times. And now our senior developer is getting the outsourced department to work on moving every SINGLE NORMAL STRING INTO THE DATABASE. That's right. Rather then putting them into some local resource file or anything sane, our website will now be drawing every single standard string from the database. Our SENIOR DEVELOPER thinks this is a good idea. I don't need to go into detail about how slow this is. Want to do it on boot? Fine. But they do it every time the page loads. It's absurd.
Our sql database design is an absolute atrocity. You have to join several tables together just to get anything done. Half of our SP's are failing all the time because nobody really understands the design. Its gloriously awful its like.. The epitome of failed database designs.
But rather then taking a step back and dealing with all the issues, we keep adding new features and other ones get left in the dust. Hell, we don't even have complete browser support yet. There were things on the website that were still running SILVERLIGHT. In 2019. I don't even know how to feel about it.
I brought up our insane technical debt to our PM who told me that we don't have time to worry about things like technical debt. They also wouldn't spend the time to teach me anything, saying they would rather outsource everything then take the time to teach me. So i did. I learned a huge chunk of it myself.
But calling this a developer job was a sick, twisted joke. All our lives revolve around bugnet. Our work is our BN's. So every issue the client emails about becomes BN's. I haven't developed anything. All I've done is clean up others mess.
Except for the one time they did have me develop something. And I did it right and took my time. And then they told me it took too long, forced me to release before it was ready, even though I had never worked on what I was doing before. And it worked. I did it.
They then told me it likely wouldn't even be used anyway. I wasn't very happy at all.
I then discovered quickly the horrors of wanting to make changes on production. In order to make changes to it, we have to... Get this
Write a huge document explaining why. Not to our management. To the customer. The customer wants us to 'request' to fix our application.
I feel like I am literally against a wall. A huge massive wall. I can't get constent from my PM to fix the shitty code they have as a result of outsourcing. I can't make changes without the customer asking why I would work on something that doesn't add something new for them. And I can't ask for any sort of help, and half of the people I have to ask help from don't even speak english very well so it makes it double hard to understand anything.
But what can I do? If I leave my job it leaves a lasting stain on my record that I am unsure if I can shake off.
... Well, thats my tl;dr rant. Im a junior, so maybe idk what the hell im talking about.rant code application bad project management annoying as hell bad code c++ bad client bad design application development16 -
When you live in a 3rd world country, get a relatively expensive 16mbps connection (that's still very unreliable), and try to clone WebKit… why the hell is it so large even with `--depth 1` and `--single-branch`? Why doesn't `git clone` support resuming/incremental cloning? Is this even 2018?
I want to code but life is actively fighting me right now. I hate this.
/rant26 -
Bloody hell I have been stuck for two hours on a problem and couldn't find any solutions. So naturally I asked my Senior for help. I was trying to export a js file like :
---------config.js--------
module.export = function (app){
//code here
}
-----------Index.js------------
var config = require('./config.js')
config(app)
but it would throw an error saying config is not a function. Wasted two hours only for my senior to point out that I missed an "s" in module.export 😑
Feels so stupid. bloody ass.6 -
SeniorDev: "If we were only allowed to use C# 6 features, we could reduce our code base by 30%"
- other devs nodding their heads in agreement -
Me: "So, are you going to change our entire code base to be C# 6 compliant?"
SeniorDev: "Uh, oh hell no."
Me: "So those C# 6 features are going to reduce our code base by 0%?"
SeniorDev turns around without saying a word.
Getting a bit awkwardly quiet now. Better watch my back.4 -
In my office they forced us to use Darwin Box. We need to login and click on clock in once we come to office. Fucking irritated. Who the hell remembers to clock in.
I wrote a simple Python code to clock in and made it as launched jobs.
Automatic clock in. *No Worries* 😅
#ProudToBeDev
Here is github:: https://github.com/Gowtham95india/...5 -
Every time I look at some code and say "what the hell?!" the code refactors itself before my very eyes.2
-
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 -
Am i the only one who is so sensitive about indentation? It really pisses me off when i see code with bad levels of indentation because it completely overtakes my years of programming experience and i understand nothing. Also indentation level should be 4, not 2. Who the hell uses 2 level indentation, you don't deserve a keyboard.9
-
Outsourcing front-end for web is like playing russian roulette, but with 6 bullets in 6 chambers.
You shoot yourself in the balls (or ovaries)... HARD.
I don't know how you can develop in a complete nightmare of a SCSS file - 3500 lines of insanity.
This dev must have changed his mousewheel at least 50 times!
SERIOUSLY, why the fuck use SCSS when you piss everything into one single fucking file???
What drives me completely nuts is the fact that he even used an @import to include his custom.scss file... how many more IQ poins are needed to realize that you could SPLIT your spaghetti into smaller, sane files?
I need a whiskey...3 -
Reviewing old code. First thought always starts with "What the hell... What did I do here?"
Best case scenario: " oh.. Oh! I wrote this? Nice."
Worst case scenario: "I hope nobody has seen this... Oh God the header has my name..." -
- Let's write some code to check for memory leaks
- Oh shit, memory is leaking like crazy
- In fact the program crashes within 10 minutes
*Some hours of debugging and not finding the cause later*
- Starts thinking about the worse
- Hell yeah, the memory leak is caused by the code that checks for memory leaks. But fucking how
- Finds out the leak is caused by the implementation of the std C lib
- In the fucking printf() function
- Proceeds to cry5 -
OMFG I don't even know where to start..
Probably should start with last week (as this is the first time I had to deal with this problem directly)..
Also please note that all packages, procedure/function names, tables etc have fictional names, so every similarity between this story and reality is just a coincidence!!
Here it goes..
Lat week we implemented a new feature for the customer on production, everything was working fine.. After a day or two, the customer notices the audit logs are not complete aka missing user_id or have the wrong user_id inserted.
Hm.. ok.. I check logs (disk + database).. WTF, parameters are being sent in as they should, meaning they are there, so no idea what is with the missing ids.
OK, logs look fine, but I notice user_id have some weird values (I already memorized most frequent users and their ids). So I go check what is happening in the code, as the procedures/functions are called ok.
Wow, boy was I surprised.. many many times..
In the code, we actually check for user in this apps db or in case of using SSO (which we were) in the main db schema..
The user gets returned & logged ok, but that is it. Used only for authentication. When sending stuff to the db to log, old user Id is used, meaning that ofc userid was missing or wrong.
Anyhow, I fix that crap, take care of some other audit logs, so that proper user id was sent in. Test locally, cool. Works. Update customer's test servers. Works. Cool..
I still notice something off.. even though I fixed the audit_dbtable_2, audit_dbtable_1 still doesn't show proper user ids.. This was last week. I left it as is, as I had more urgent tasks waiting for me..
Anyhow, now it came the time for this fuckup to be fixed. Ok, I think to myself I can do this with a bit more hacking, but it leaves the original database and all other apps as is, so they won't break.
I crate another pck for api alone copy the calls, add user_id as param and from that on, I call other standard functions like usual, just leave out the user_id I am now explicitly sending with every call.
Ok this might work.
I prepare package, add user_id param to the calls.. great, time to test this code and my knowledge..
I made changes for api to incude the current user id (+ log it in the disk logs + audit_dbtable_1), test it, and check db..
Disk logs fine, debugging fine (user_id has proper value) but audit_dbtable_1 still userid = 0.
WTF?! I go check the code, where I forgot to include user id.. noup, it's all there. OK, I go check the logging, maybe I fucked up some parameters on db level. Nope, user is there in the friggin description ON THE SAME FUCKING TABLE!!
Just not in the column user_id...
WTF..Ok, cig break to let me think..
I come back and check the original auditing procedure on the db.. It is usually used/called with null as the user id. OK, I have replaced those with actual user ids I sent in the procedures/functions. Recheck every call!! TWICE!! Great.. no fuckups. Let's test it again!
OFC nothing changes, value in the db is still 0. WTF?! HOW!?
So I open the auditing pck, to look the insides of that bloody procedure.. WHAT THE ACTUAL FUCK?!
Instead of logging the p_user_sth_sth that is sent to that procedure, it just inserts the variable declared in the main package..
WHAT THE ACTUAL FUCK?! Did the 'new guy' made changes to this because he couldn't figure out what is wrong?! Nope, not him. I asked the CEO if he knows anything.. Noup.. I checked all customers dbs (different customers).. ALL HAD THIS HARDOCED IN!!! FORM THE FREAKING YEAR 2016!!! O.o
Unfuckin believable.. How did this ever work?!
Looks like at the begining, someone tried to implement this, but gave up mid implementation.. Decided it is enough to log current user id into BLABLA variable on some pck..
Which might have been ok 10+ years ago, but not today, not when you use connection pooling.. FFS!!
So yeah, I found easter eggs from years ago.. Almost went crazy when trying to figure out where I fucked this up. It was such a plan, simple, straight-forward solution to auditing..
If only the original procedure was working as it should.. bloddy hell!!8 -
I have a love and hate relationship with programming. You'll see me as the happiest and most motivated person ever. The next minute, you'll see me as an extremely depressed suicidal person. Then when a code works, I jump like hell.1
-
Frigging hell, the worse part of solo projects is being forced to code back and front end.. My eye can only see consoles :(1
-
That moment when you know you thought you where genius, but after a month you revisit your code and have to ask what the hell was I thinking.1
-
okay, i'm still a newbie to (unmanaged) C++, but looking at a colleague's code, what the hell is all this cryptic shit 😵 all this unreadable templating stuff + typedefs, 8 different copy operators in one class, i'm getting headaches just looking at it3
-
This week has been hell, nothing i attempted worked out, so i guess ill just go and write some depression code :/6
-
Can't say I am a religious type, not really into discovering/discussing religions and comparing them either... BUT I do hope there is someplace (like hell on steroids!!) for developers who don't test their code before checking it in and/or puting it on production..
Also another question, can I plead not guilty due to insanity when killing such devs?!? O.o FUuuuuuuuu!!!!2 -
Have you ever looked at code you had written years or even decades ago and asked yourself either:
1) How this this even work?
2) What the hell does this do?
3) or, I can’t believe I wrote that. (In horror or serendipitously)5 -
When your pm forces you to push new features out too quickly and you're slowly digging yourself into a messy hell, knowing you have to one day refactor thousands of lines of code.4
-
Anyone else annoyed that they can code a really good website (as in PSD to HTML) but just aren't creative enough to come up with a design? I find myself on Dribbble a hell of a lot of the time coding designs that others have done out of boredom, but stunned by how amazing their designs are. I'm just not creative enough.13
-
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 -
Ask a developer to code entire night
Developer:
😏🤓No Problem. I was born to play with fire 😤😎
Ask a developer to complete the associated documentation in next couple of hours
Developer:
😳🤬🤯 Better call the devil to take me to hell 😱🤒🥵6 -
Why isn't this working? I've wrote this same type of code at least 1000 times. Why must there always a problem? Literally every time I try and get something done there is always some stupid error and it's PISSING ME OFF. WHAT THE HELL IS WRONG WITH MY BRAIN AN...oh...I misspelled "fucntion"8
-
Is it common to look at code you wrote 1 to 2 years ago and think "what the hell was i thinking, this mess needs refactoring"?10
-
When will medium and its coding tutorials die out already? Why the hell are every fucking post of this plattform so cringy af, like tf why you start your tutorial with a fucking irrelevant meme you dumb asshole? Your code snippet is mostly garbage and you aint explain shit; I am not even sure if the code is yours. Go eat a dick and learn the subject properly before even start to teach people online.6
-
HELL WEEK is coming!! they are going to make us code IN PAPER again.... no compilers, no way to check for errors, time to die again4
-
Me before learning to code: Wow Programming is so cool, I am gonna be the Mozart in coding !
Me after learning: what the hell...3 -
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 -
Fucking people, why the hell are you reading into things instead of asking for clarification if something is unclear?
So much time, sweat and tears wasted on miscommunication.
When I said, "there might be a problem in the way component X method Y was implemented", i didnt mean go refactor the entire code of the component. Why waste 2 days of work on unnecessary refactor that nobody wanted and breaks changes + the bug is not fully fixed 😤13 -
Fucking gnu gettext, fucking .po and .mo files and fuck the fucking poedit. Why in the fucking hell a damn i18n solution used by so many languages doesn't support correctly fucking utf 8 characters in strings inside the code, I mean, WHAT THE FUCK, this is my second day trying to make the fucking Python gettext module to translate the fucking word "está" because I've a fucking big code base programming in Spanish that need to be translated. This is the fucking 2016 and we still have problems with fucking special characters? I mean CMMON1
-
Short story of a developer
0) Don't know how to do something
1) Search for hours on internet
2) Find only crappy codes
3) Try a crappy code
4) Realize that it works only for who created the code (What the hell...)
5) Cry
6) Ask on forums
7) Get downvote without any reason
8) Receive useless answer
9) Delete project4 -
Compiling software on Linux:
Python interpreter? Easy peasy, just some dependencies here and there. Make does a good job.
Linux kernel? Piece of cake, 20 years of development will be freshly served on your machine after one hour compiling (I have a pretty powerful computer).
Tensorflow? Fuck this shit I am outta.
What is your story with self-built software? Which piece of code has the most terrible dependency hell?5 -
This was when I was pursuing my bachelors degree. One of the professors was of the opinion that only her code was right and anything else is wrong! For example if she did something with a for loop and I did the same with a while loop, my answer would be wrong -_- What the hell -_-
(Also, often her code would be wrong too and sometimes wouldn't even compile.. She used Notepad btw)10 -
Sometimes at the end of the day if a solution to a problem seems inefficient I just leave the task rather than writing buggy code. It gives me a day's time, away from the screen, to come up with much better and elegant solution which I eventually code up the next day.
After years of experience I have realised that its better to wait for a day and not write inefficient code rather than trying to fix a hell lot of bugs later.4 -
Just spent the *entire* afternoon trying to figure out why the hell my code runs fine locally, but doesn't when our CI server builds & deploys it on AWS.
...and I've now, finally, figured out it was all because I forgot to check a damn file into Git 🤦♂️
I'm simultaneously relieved, annoyed & embarassed.5 -
My intern was trained on 1 semester of Java, followed by 2 of Python, so there’s been several conversations at the office that boil down to:
“What’s *not* to love about Python? It’s easy to pick up, and forgiving as hell!”
“What’s *to* love about Python? I like being able to understand how my code is structured!”
As a WordPress shop, the discussion is moot, of course...4 -
After long hours of intensive coding and no caffeine, goto bed because u realise it's 2AM. Wake up next day, look back at the came code, "what the hell was I tryin to do!"3
-
Calling all Devs 🤙:
What's the _best_ worst code you've seen in the wild in your corporate codebases?
Include a snippet of the traumatic lines in your comments!
I'll start with a classic:
$send = $enabled ? true : false;14 -
Spent 5 hours working on a solution for a hash difficulty comparison/scaling algorithm. after a bunch of different iterations and approaches, I find that my problem can be solved by the attached equation. Its such a simple answer but no way in hell would you be able to discern the amount of time and brainpower that was put into it. The git commit is literally 10 lines of code total, but I guess its not about the amount of code, but the time spent thinking about it thay counts?6
-
"Okay, my query uses wrong date format."
"Why the hell I´ve put that join there? That´s not needed!"
"Why the hell I´ve joined the tables in THAT order?"
Joys of looking at your old code.2 -
Client doesn't want me to use internet, while connecting to their vpn to code. It's a security 'violation', it seems. Do they think I am Denise Richie to code without internet? And the catch is I code for OpenFlow with OpenNetworkLinux+OpenNIE. I mean, do they even understand what Open means in all these?11
-
I'm pissed off as fuck. By far these were the worst fucking 2 weeks in a very long time.
My grandma died. At work I had to do shitty tasks and IT support for stupid end users, like an overpayed PC technician. I couldn't find any time to write a single line of code on any of my personal projects.
And I still can't find a fucking developer job. I feel like I'm stuck in this IT hell forever.
Kill me3 -
I show code for some cool but simple stuff to my gf.
She "how the hell are you able to come up with this shet? Who taught you to program? "
Me "Patience, enthusiasm and google"1 -
So fucking tired of priority shifting. How the hell is anyone supposed to get shit done with 500 fucking meetings and between each one you're told do something different?
This is critical you must do it now! No this!
My response, fuck you I'm going home my head hurts let me know what you'd like me to code and when you've decided add a day for annoying me.2 -
Let's try this.
In the project I'm working there is an strict rule : NO COMMENTS!!!
I mean wth, the times I've spend hours trying to understand the crappy legacy code in VB.Net that has been there almost decades, that wouldn't happen with comments, I know i know there are some supernatural developers that think in binary and their eyes work as compilers, but I'm not like that, so seriously go to hell.
P.S. Of course I follow that rule, after all, my code is so damn perfect that even a baby can understand it.
jkundefined devops etiquette stupidest pichardo for president stupid stupider stupid stuff jk rant code smells comments3 -
Who the fuck wrote this code? After checking the git history..oh its me only,, who hell can understand this code..😀
-
I have been very inactive in these last couple of months but I really need to rant right now:
I am working on a project, which is also part of a contest, with a few of my friends. I asked one of them to write a bit of code and some documentation about it, here's the result:
He wrote half a page of text with plenty of spelling mistakes and grammatical errors but here comes the even worse part:
Instead of just leaving the code in its own file he copied it into the word (libre office writer) file as well. Now I have got 3 pages of non-indented code with a few comments flying around here and there, weird variable names and a lot of commented out pieces of code.
Bloody hell I feel like I am the only one in this team taking this contest serious.3 -
What the hell is wrong with using GitHub, or Git??? A client told me he’s concerned because it’s been, in his words, “compromised” and the admins can “see our code for trouble shooting purposes” and he doesn’t feel comfortable with that…🤨 like…no one wants this code my dude, like the fuck!?! We’re already using a skeleton project from someone else’s git, yet you dnt want this project on there??? Ooooor, is it because you dnt know how to use it??? Nor do you want to take the time to learn it??? 🤨 fuck boy. 😡😡😡😡😡😡🤬🤬🤬🤬🤬🤬🤬14
-
i was on vacation. one week in denmark without a computer.
7 days without a single line of code written. i am scared to boot my pc because i can not tell if i am able to write an application anymore.
But hell i need this. I feel so unproductive T.T
Wish me luck3 -
Why won't you just approve my PR???
Whats wrong with you?!
I don't understand your cryptic one-sentence feedback. I'm not even sure you understand what you're asking yourself.
What the hell does "make it a transaction" mean? Don't give me pseudo-code examples that don't even work fucking asshole!
Its a small change that does NOT need a canary build dammit. Don't go testing the ORM, its a goddamn standard library. Why does working with you make everything so complicated?!?!
The code fucking works! There is no need to make it comply to your specific tastes goddamn it. Working with you is like pulling teeth!
/endrant9 -
I have a coworker who, when frustrated with a bug in his code then finds the simple solution, loudly exclaims "You Idiot", or "Ah dammit", or "What the Hell?!". He also belches loudly, and says a few other humorous things throughout the day. It has inspired me to make a sound board that would say whatever he would say in a given situation. Don't think it will ever get built, but it sure would be hilarious!2
-
Phantom Code: Code that was written in dose state with very little knowledge what the hell fuck you were doing 😧😭
-
I was stuck at this error for the 4-6 days.. Did lots of research on stackoverflow, Google, YT.. Asked my peers tried like hell. Finally one of friends told me you aren't giving I/p and how can you expect an o/p there is no error neither in the compiler nor in the code..
Me: ;_;10 -
Me - sits down to code
Windows - need to install small update
Me - skip
Windows - HELL NO UPDATE
6 hours later.......
Update faild.3 -
I've been working for the last 5 years on some large legacy code used in production, more than 100K LOC, poor comments (when existing) often outdated, huge parts of code that can no longer be reached, over-engineered class hierarchy, functions of thousands lines, huge parts of deprecated code that cannot be removed because "someone might still be using it". Statistically, every small change caused 3 new issues somewhere else and every bug fix or new feature required 10 times the time that would be necessary with a decent codebase. But after five years in hell I can finally say that... Oh wait, nothing changed, the code is still legacy and nobody is going to do anything about that.1
-
I am sitting on a fucking vibrator!!
PoV: Writing my code, minding my own business, listening to lofigirl.. private Schema<?> asSc
<rrrrrrrRrRRrRRRRRRRRHHHHHHRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRHHHHHRRRRRRRRRRRRRRRRRHHRHRHRHRHRHRHRHRHRRRRRRRRGGGGGRRRGGRGRGGRGRRRRRRRRrrrrrr.><KNOCK KNOCK KNOCK KNOCK KNOCK KNOCK><3.5sec pause><rrRRRRRRRHHHRHRHRHRRRRRRRHRRHHRHHRRRRrrrrr>
hema(Type ty
<hhRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRrrRRRrRRRRRRRrRRRRhhRHHrHRHHRRRrrrrr>
pe) {
How the hell am I supposed to concentrate when my neighbours are trying to make me cum with a drill.
Swear the God, my ass is on some serious vibro.10 -
Was helping an intern with testing and he was trying to hit a specific branch in the code and just couldn't get there. Spent probably 20 minutes trying to figure out what the hell was going on since by all reasonable logic the code should run. Getting other developers involved trying to figure out what the hell was going on. Then discovering he was using a stub of the class with the method we were trying to reach overwritten to simply return null. Pretty much just wanted to go on a walk at that point.
-
What is this 'cutting edge dev tech' y'all talking about? Does it count if I somehow manage to add support for MS Edge?? 🤔
Hell.. I'm stuck with COM+ & activex, so if anyone who gets to use fancy pants new techs would be so kind to ping me and let me know how it even feels to code like it's 21st century, that'd be great..2 -
Just watched episode 3-6 of silicon valley, where Richard loses his girl over tabs vs spaces. Made me kind of mad.
How the fuck is tabs vs spaces still a struggle? Unless you're using fucking Notepad++ to code, your IDE will FUCKIN REPLACE TABS WITH SPACES! IF YOU INDENT WITH SOMETIMES THREE, SOMETIMES FOUR SPACES, THEN BURN IN HELL! JUST USE YOUR IDE WITH YOUR TAB KEY AND END THE WAR!2 -
Why do big companies hire such loser engineers ??? I mean what the hell man. When you are hiring a fresher to code they should at least know how to apply/write a for loop. I once had a colleague who assigned each array element individually instead of writing a for loop and asked me why I refused to approve his stupid code. What do I reply to this ? It was so dumb, I could not articulate an answer.13
-
This pic is from my class messenger group.
Translation:
Dear teacher! Our group have chosen another web builder for the project, we hope it's not a problem...
Yeah, I use templates which I can copy code from to my group's site, but for the love of *!#* life I consider myself a noob beginner even tough I've been in this field for a year or two now but I can code with more confidence now. What the hell are these people going to do if they only willing to rely on school and wix...
But I can always be wrong, these are just my thoughts.6 -
debug hell
senior: i'm going to read the code changes of the PR that caused this bug, many files , lots of lines of code to see if i can suss out this issue
me: skimmed the PR, i give up, unga bunga time, time to compare the variables in the debugger between the different implementations, found the difference
due credit, the unga bunga approach worked this time, might nto always work3 -
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 -
When you see
int i = 0;
while (int i == 0) {
//Code where nothing changes i
}
If you're going to create an infinite loop you could at least write it as
while (true) { }
and save me a little time wondering what the hell 'int i' is for!3 -
Why is it ok for a girl to live off her husbands salary and not vica versa? Like fuck it ill do the dishes and play games all day and to hell with my 9 to 6 job. Starting to seem the only way i’d be able to code what i want not what im asked too 🤷🏻♂️8
-
When someone copy and pastes code, repurposes it and leaves in the old comments that just confuse the hell out of the next dev.1
-
What the hell did I miss?
I've been seeing lots of dev communities joking/not joking about replacing C++.
Did we somehow replace all C code in literally every embedded product overnight?10 -
My brain these days-
1] Okay I will get this done today
2] Oh wait how does this work
3] What the hell is happening
4] Going deeper down the rabbit hole
5] I am so lost. HELP
6] Okkk, this makes sense, but I have to figure out how another 10 parts of the code, to see how it works and then add my code
7] I wanna give up.2 -
FUCK YEAH! FUCKING HELL FUCK YEAH! IT FUCKING WORKED! THE FUCKING CODE FINALLY COMPILED PROPERLY!
What happened:
I was trying to use the Adafruit Feather HUZZA esp8266 with the AdafruitHTTPClient Library... and it didnt work... then I downgraded THE FUCKING FIRMWARE FROM 2.5.0 TO 2.4.2 AND THE BLOODY THING COMPILED!3 -
I just solved a recursion problem without using recursion.
Yes, it's roughly 4 times more code, but at least I understand what the hell is happening.4 -
When I'm still a beginner in git, I always use git push origin <branch_name> --force, for the sake of pushing my code on the master branch. My co-worker always complain why the hell there's always conflict on the master branch.2
-
Writing my code, go to run it and boom its not working. I pull up stack over flow to get some insight. At this point i was working on my code for countless hours and became a bit annoyed so i decided to copy what someone wrote on stack over flow delete my code where i thought it was flawed. I run it and Blam bugged the hell outa my code. So i undo go back to my original. Turn to a friend and ask what do you thinks going wrong. He resets my browser and there it goes it works. I just kind of gave him a blank stare and thought to myself Im a dumbass!1
-
Every developer thought what the hell my colleague is writing in code.
After watching own code after a year, who the hell is the developer.
Oops it me. No comments :) -
Golang code review be like
> oh no, you used prohibited `else` keyword
Context? Dosent matter. Its banned, mkay?
Fix? Oh you know its hell to read now22 -
If it weren't for poor documentation I'd be retired by now.
We didn't all write your library. In fact, only you did. So, some helpful documentation would really help us all out. Can't believe the number of times I need to read source code to figure out what the hell you are doing.3 -
I just hate how my body believes that coding time and snack time are synonyms. Like ok, i might have been eating some chips or noodles while i was doin' the thinking, but hell, i cannot just empty 2 or 3 bowls of food each time i have to open and IDE.. How can you guys keep yourselves busy from eating when you fight the evil forces of bugged code?3
-
Got into this compitition of Blind Code
Idea crazy a F!!!!
Mind prepared for something challengy! What I get? Greatest of 3 Nos in C... Poker Face😐
Confident a hell..With the monitor OFF, Ran down the keyboard on fire!
With the compilation result, BANG!
#include<iostream> instead of <stdio>.
FFFFFFFFFFFFFFFFFFFFFFFFFFFFF
My Mind BLINDED!7 -
> Seeing ugly code and annotating to find out who the hell wrote that.
> Seeing your own name.
> Going back to what you were doing...3 -
Fuck the design guidelines that change every fucking day. It makes Front-End an unbearable hell. I'm seriously tired of having to code stupid shit for exceptions exceptions exceptions.5
-
Devs with young kids: how the hell do you do it?
I am a foster parent for my cousin who is 4 months old and I don’t know how in the fuck to make this work. How do you do it? How do you balance code and kid?
For reference I work full time at a tech support place, I go to school full time, and I’m trying to pivot into software development, which means any free time is spent coding/studying code/building a portfolio. Problem is I don’t have free time because of the baby. How in the hell do people do this.3 -
Spent almost two days debugging the hell out of an interrupt handler only to find out that my reference code (official example from the vendor) has some wrong function calls damn it.3
-
Today was a bad dev day working on a shitty React project. Not that React in itself is bad, but it can be hell to work with when the code is a big pile a crap full of anti pattern code. I spent the day refactoring to try to fix a bug, but to no avail. It would take days if not weeks to put some order in this mess and to prevent such bugs.6
-
Best client I have ever experienced. Kappa
So, I got job to recreate one old website, because the old one was incredibly fucked up. She told us, it was made by someone retarded.
The code was fucked up even more than UI. It was definitely written by some kind of idiot. Diacritics, mixed languages, no OOP, no FW, just copy&paste. Yeah copy and paste for every page.
The DB was another level of shit. Inifine is not enough to describe it. Column names with whitespace, diacritics, uppercase, lowercase...pure hell. Yeah and I had to import it.
Whenthe new website was ready for testing I got an email from her that it was her who made the website... HER!! Fucking hell, no more of this please!1 -
to whomever it may concern...
if i wanted to do code review keeping in mind how asshole you have been and made it my personal vendetta, i would not review it at all.
i would let you and your shitty code rot in hell. -
Not actually solving the problem in an error and instead implementing a workaround thinking "no one's going to read this code anyway" when I'm actually just condemning my future self to a lot of hell.1
-
Have you ever lost faith in coding while reviewing someone else’s code?
I did that mistake today! So annoying! I threw my laptop in the corner and picked up my phone to write this!2 -
I told you fucking moron clients doing that "little" change would be complicated and in the worst case it would end fucking up your whole spaghetti crap. A really HUGE spaghetti monster of that you aren't aware because you guys don't know a shit about coding conventions.
*Clients call me complaining about their software is broken*
-Hey, we're in serious trouble. Our users aren't being able to see the proper calculated values. Why that little change had so much side effects?
- I already told you why.
- Can you fix it asap? Our clients are complaining.
- No. Deploy an old copy of the affected modules while you give me a prudent time to refactorize that crap.
- Refactorize?
- ...
I used to work in their place, 3 years later I quit that crappy job and decided to make them my clients. I escaped from the micromanaging thing but I didn't from their ugly practices.
Anyways, I have to fix this shit asap. Money talks, at least until I can find a better client. -
"Refractor this method to reduce its Cognitive Complexity from 110 to 15 allowed."
*Pan*
Ok let's do it :
label : for(....) {
if(...){
for(.....){
If(...){
....
break label;
}
}
}
}
*Pan Pan*1 -
This started off as a rant but it soon grew way too large to fit in 5000 characters, so I had to take to my Medium blog instead.
Here, y'all, have a lesson in web design from hell.
https://medium.com/@linuswillner/...2 -
The moment you realize that you have successfully beaten reality with your unit-tests...
There are unit-tests for ...
... the api returning a 408 Http StatusCode when an internal request times out.
... the react app take this status-code and fires an action to display a specific error message for the user.
Every bit of code runs just fine.
Deploy this hell of an app on the server. Dandy Doodle.
Do a smoketest of the new feature.
FAIL!
Chrome starts to crumble during runtime. The api Request freezes.
Firefox takes the 408 api response but fails to interpret it in react app.
So I began to wonder, what the hell is going on.
Actually I recognized that I had the glorious idea to return a clientside error code in a serverside api response.
Glorious stupidity :/
Finally I fixed the whole thingy by returning an 504 (Gateway timeout) instead of 408 (Clientside timeout)
Cheers!2 -
I need guidance about my current situation.
I am perfectionist believing in OOP, preventing memory leak in advance, following clean code, best practices, constantly learning about new libraries to reduce custom implementation & improve efficiency.
So even a single bad variable name can trigger my nerves.
I am currently working in a half billion $ IT service company on a maintenance project of 8 year old Android app of security domain product of 1 of the top enterprise company of the world, which sold it to the many leading companies in the world in Govt service, banking, insurance sectors.
It's code quality is such a bad that I get panic attacks & nightmares daily.
Issues are like
- No apk obfuscation, source's everything is openbook, anybody can just unzip apk & open it in Android Studio to see the source.
- logs everywhere about method name invoked,
- static IV & salt for encryption.
- thousands of line code in God classes.
- Irrelevant method names compared to it's functionality.
- Even single item having list takes 2-3 seconds to load
- Lag in navigation between different features' screens.
- For even single thing like different dimension values for different density whole 100+ lines separate layout files for 6 types of densities are written.
- No modularized packages, every class is in single package & there are around 100+ classes.
Owner of the code, my team lead, is too terrified to change even single thing as he don't have coding maturity & no understanding of memory leak, clean code, OOP, in short typical IT 'service' company mentality.
Client is ill-informed or cost-cutting centric so no code review done by them in 8 years.
Feeling much frustrated as I can see it's like a bomb is waiting to blast anytime when some blackhat cracker will take advantage of this.
Need suggestions about this to tackle the situation.10 -
Why the hell are senior engineers coming to me me to debug and figure out issues? I don't even own this code..why should I care? Does your brain stop working as soon as you see the stack trace leave the code you have written? You are getting paid more than I do so go figure it out yourself. Why are you asshats even getting paid more than me? How did you even get there if you can't debug? Again why am i getting paid less than these asshats7
-
Worst: Spending a week in npm, node, react hell trying to triage a ReactNative iOS/Android app that even the OG dev couldn't fix and FAILING.
This is the only code in like 20 fuckin years that beat me.
Best: Watching the fall of western democracy with a giant shit eating "I told you so" grin.6 -
Today I wrote the most epic code.
The kind that breaks your brain, but when you're done with it you know it's time to go home and kick back coz you've done good.
It used recursion, did backflips to avoid unnecessary db calls, featured no code repitition. Hell I even commented the business rules it was following in there to explain what was happening.
I hope it works tomorrow when I test it 😂😂😂5 -
Me: *randomly streaming myself code just because*
Friend: "So what are you doing"
Me: "I'm trying to parse a file. The specs are here - oh"
Friend: "Oh?"
Me: "I set screenshare to vs code only, so you can't see it"
Friend: "It's alright, just pass me the link"
Me: "Well, this is vs code, so I might as well check if it can display websites"
Friend: "No way you'd need that,"
>browser
* simple browser
Friend: "Please no"
"Enter url here"
Friend: "Stop!"
*loads website*
Friend: *dies of bloat*
Me: "All hail the bloat"
Friend in heaven: "Stop, your bloat will drag me down to hell"
So yeah, bloat can be useful sometimes4 -
I would not consider myself an overachiever by any means, but I must say, I'm quite satisfied with my contributions this year at the new (relatively speaking) job. I got to go back to writing code almost every day, all day, and that sure as hell beats being in meetings all the goddamn time.2
-
If the codebase quality drops below levels measurable by way of "WTFs per minute", determine further negative code quality by counting the amount of times per hour you wonder if you're in Hell and what exactly you did to deserve this torment
-
Generator functions should be treated like sorting algorithms: Not worth your time if all you have is 4 or less async instructions.
Callback hell is actually kind of nice and warm when you're a just a few levels down. If you're really confused by your obfuscated code, you suck at node. -
Is it so hard for other people to write code as if there will be other eyes watching? When will people learn that a programming language is what bridges the communication gap between humans and machines? If I can't follow your code, you wrote it poorly. Period. At least document what the hell is going on. Be considerate of the next person. Unbelievable.
-
<rant>
How the hell do these people have a senior position?
<rant-cause>
Sdev:"The are no vulnerabilities in my code because i have Avast running at the same time"
</rant-cause>
SecOps: "<insert potoo bird reaction>"
</rant> -
Might start asking monthly or weekly questions just for the hell of it so heres number 1...
If you have a prototyping/code naming convention, what is it and why?4 -
When you start at a new company, look at extremely complex code and ask yourself every second line: What the hell? Have I ever wrote code before?2
-
I hate it when you ask a question on so and include the complete code and everything and just get a -1 and no comment or anything.
What the hell. I doing wrong, please tell me !!!5 -
Having a CTO who was a strong backend developer, has zero understanding of UI/ UX and frontend part of code is funny as hell, weird and scary at the same time.2
-
You know I really hate uncommented legacy code especially when it was written by the PM himself years before and will never admit fault with this God awful unholy hell spawn
-
When you're not confidant enough in your own code ... but you should be:
Me: "Why the hell is this duplicating data?!?!?!"
-time passes-
-figures it out-
Me: Wait that returns an error wouldn't that be ...
Yeah there was an error on the god damn screen in the status box I created telling me what was going wrong but I just ignored it... I was knee deep in code and my own UI was telling me what was wrong ;)2 -
Hello and welcome come to hell for developers. Take a seat at any open computer.
You may have noticed we did away with the fire and brimstone.
Instead we just have you maintain the legacy code from your first job.
It's genrally html, php, javascript, and css all on the same page and all mixed together.
We would say have fun, but that's not really the point. -
Untested code has bugs that cause catastrophic failures in code and I get asked "How the hell did you even find that?!" by a manager on another team.
I pressed enter to post form data. -
First there was Lo-Fi hip-hop then it started with Merkelwave and now there is Code-Fi. It just like Lo-Fi but for programmers.
Sometimes I really wonder what the hell is going on on the internet today.4 -
I've noticed that lately I've not been putting a lot of effort in making my code clean, and in learning new stuff, too. If it works, that's enough for me. I just made some endpoints in node and it's the biggest callback hell you'll ever see, but I don't fucking care, tbh. Is it time for me to change my work field? Have you ever felt this way?3
-
Hate grows inside my soul when you are talking about a new feature and it's implications in the code base. Then you suggest a first approach, everyone agrees but one, someone whos rotten soul is craving for bloodshed, someone who says something like "Hell now, that's too much work" and then after hours of arguing he/she/it proposes the exact same approach... saying it's a better way.
-
Today I was forced to write spaghetti code.
When your database structure isn't set up properly, that happens...
I'm already sure I will need to revisit this piece of literal shit when we revise that structure. Though, it'll be much easier and logical, and I'll probably be able to just delete a big part of the code and implement it as intended. -
Hell yeah !!!
They leave shitty code unfinished module for me to get done!
I better write from zero for the entire module!
Fuck off!!!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 -
Maybe im wrong but still, damn policies, at my job i need a code review and a commit review before committing code and Im ok with that but hell, I was required to run the api tests when I only modified 2 front end file, i mean seriously i need to run c# tests after modifying angular components. It just seems silly and foolish and a complete waste of time to run the tests for all the projects when i didnt even modified one.
If you work with me and know who I am then stho and accept it. :prant policies job tags are traps fbi putin has nothing on me like really angry angry deletefacebook pichardo for president hello nsa -
Attending in a local game jam with some friends.
One of the team members wrote the worst code I've ever seen. After him realizing that it's buggy as hell he left to sleep having me fixing his mess at 4 am to somehow get something done by the end of the event.
It resulted in me rewriting nearly everything he had done.
Guess which team didn't manage to have something playable in the end...1 -
How hard can it be to refactor this 170 lines file?
- a single “data” variable used to store everything
- arrays inside arrays inside arrays (see prev point)
- operations with a lot of obscure sideEffects
- $data[] = something (which in magic php land means $data.enqueue()
Why is such… biological matter… even allowed to code? Fucker’s pretending they are a senior for four years: how in hell didn’t they learn to code in this timeframe?7 -
A "safe" Ubuntu update decided to fuck with my AMD drivers and after rebooting, a nostalgic black emergency terminal greeted me with some cryptic message containing hex code as if any mortal user could make sense of it.
To add insult to injury, local mirrors don't have 18.04 which makes apt vomit errors during software installation.
How the hell does the most well known distro out there manage to have problems like that?6 -
My company ex-IT Maintainer, left a long automation script in c++, bit of python 2, and bash for our server which developed long before i went to junior high school. and now, the system is outdated, and have a compability problems. so i got task to give it a fix.
when i opened the source code up. i was like; holy shit who the hell write a code especially c++ all aligned to the left, Yes All of it, not a single line are indented. but in the other side the code seems maintainable, and after autoformat, autoindent and couple of fix later, it was readable. I am just wondering who the hell in the world write a code with a style like that ???? i knew he was aware of code style and indentation since he wrote couple of python scripts. Unbelievable.
sadly i cannot show you the pict cuz of company things. -
So ok, today was a crazy day.
New sprint, new ticket.
Work on the bug tickets first he said ….
Sure can. Oh had I just known that this very first innocent looking ticket is the way to coder‘s hell ….
‚Access of undefined‘ it said. Easy to fix, I thought.
Until I found the very same code twenty-fucking-two times over about 50 files!
Who would guess that exportSingleOperatorBooking, exportSeveralOperatorBookings, exportAllOperatorBookings (… and more) could in practically be the same? Nah, they all use different interfaces.
Oh wait, the alias type of the extended sub-interface of file misc.ts is the same logical content as a differently named interface below another different interface with the same content as in another ts file?
Wait that can‘t be. Riiiiight?? 😳
8h later I have barely scratched the surface of refactoring this shitshow of a project.
But no, I refuse to put the same error handling multiple times in different places.
I could have been done already. I could have saved my soul, my sanity. But I will be brave and strong to save the innocent developer that will cometh after me. For I shall be rewardeth for my sacrifice.
Amen.8 -
These people belong in a specific kind of hell....
I have to bodge several thousand lines of code where this is the standard....
Can't wait till we begin coding the replacement :D1 -
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 -
Today I had to spend the whole day fixing a stupid bug in a legacy application in a completely different tech stack than I'm used to...
At my company we have an Internet application running where we can upload a word document and using some mailmerge variables magic, can set those vars and receive the personalised word doc back...
Now this is great, when it's working, and is used in various projects we have up and running... Suddenly the application decides to crap out for no apparent reason and guess who drew the short straw....
Anyhow I ask our sys admin for the password to the server, I remote desktop to it, turns out its a fucking Windows 2008 server...
But wait it gets better, the application, a shoddy mess of c# code, is not under any sort of version control, has to be developed on that same server and to top it all of, I have to follow some obscure barely documented deployment precedure to get my changes live....
So after a lot of cursing on the dev (not working at the company any more) who did the original setup, and hours of painstakingly piecing together how it works and what went wrong and how to fix it, I finally managed to get it working....
After this rant, I'm mailing my technical lead about this in the hopes we can get someone to do it right (yes, I'm that naive)1 -
Had a little fight with my elder cousin, and he said just because I can Code , does not mean I know everything( made me feel like I'm a genius 😄 ')
We weren't even fighting about coding or related to it...
Then where the hell did that come from !? -
Does anyone have problems with Android instant run?
Fucking hell, I spent one hour yesterday debugging an error, until I noticed that the code in the APK wasn't updated, because it was sending an error of a non-existent line.
Sometimes it works okay, but damn...2 -
In my company one of the tech leads created a “framework” for other devs to code on. His main goal is to restrict devs from doing whatever the hell they want and follow his platform. But that makes everything so complicated. If I need to find where it sets the connectionString, I’d have to go 7 levels deep in the code. Do you agree with this whole approach? If they wanted to standardize the dev process why can’t they document it and enforce it in code reviews. Restricting devs will lead to workarounds. They will find ways to do stuff by hacking the “framework”5
-
/rant on
React Native is BS for Android. Outdated as hell Gradle builds (1.x for certain plugins I mean wtf) and it targets outdated SDK and build tools... Why no simply code for system your software is meant to work :P
/rant over
In seriousness, I get the concept of build once deploy on all platforms ala Electron but better but hell why is the tooling so outdated?1 -
I now understand why people say python is such a damn hard language to keep big projects. I'm so hell lost in all those code indentations and lack of conventions!!!!
GET ME BACK TO RUBY PLEASE I BEG AAAAAAA4 -
The deepest and darkest circle of hell is reserved for people who write single line commit messages which have nothing to do with the code they committed
-
Starting work like "How the hell am i going to do this !!"
ending it like "was that even a task !!"
the excitements and horrors of code. -
React Native, Flutter, Xamarine, Cordova hope all of you fucking burn in hell! Piece of shit solutions...
Just want to simply enable remote JS debuggin but the fucking app stops reloading when that shit is turned on. Now how the fuck am I supposed to know what the fuck is wrong with my code, disable remote JS debugging and app loads again.
Fuck this shit!6 -
Finished a validation library and knowing the common excuse for not using code already written (devs come down with 'not invented here' syndrome) is "I would have used it, if there was documentation". Spent this week documenting each class/method, diagrams, scenario based code examples, sent to my boss for review ...
Boss: "Wow...this is fantastic. All our libraries should have this level of documentation. You even updated the project's Nuget package to include a link to the documentation. Devs won't have an excuse now. I'll clear your plate for the rest of the year so you can get started."
What the hell did I just do to myself? FML.1 -
going through a rewrite is hell. the first stage you will be disgusted with how they layed out their code, contemplate the dump, eventually rewrite the entire thing, then cry throughout the entire process into your gallons of therapy iced tea.
I don't even know what half of these API calls are for. -
I'm contributing to a project that allows you to control your Linux desktop from your phone. I managed to implement controlling your PCs volume form the phone. At first the code was ugly as hell, include a fucking long bash statement, but I even managed to turn it into a nice solution.
A few weeks later I was invited to meet the core developers. -
My brain hurts from trying to figure out this unit testing crap. Is it just me or is it really a struggle to test your front-end code? I'm using jest and enzyme to test our React app but complicated parts of code with multiple state changes or calling props is making my life a living hell. I mean I usually just debug by console logging everything and it works lol...but my fucking boss has forced me into writing this unit testing crap. FML.7
-
#weeklyrant: a rubber duck AI that responds to your jabbering and helps you to find that stupid forgotten ; in your code. And comment the hell out of your code so you will understand later on.
-
What might be a legit reason to commit a target directory with thousands of compiled crap the code in the very same repository generates? Why the hell would anyone want to do this?4
-
welp I went from "gosh rust makes programming so stupid because I don't have to keep anything in my head like in JavaScript, if it compiles it runs zzzz you can literally be wasted / in dementia and write working software now"
to "I wonder if I can inspect how long threads are waiting for mutex locks to squeeze the hell out of performance"
new code golf23 -
Cause when you die or exit from process it doesn’t matter how it happened, was it kill -9, sigkill or sigterm. As long as you go to hell / heaven / you name it and not to /dev/null you can still try to segfault the universe. Just give me the code !!!
And it aligns well with depression, alcoholism and lack of sleep. -
confessions[0]
I got into hell and sinned there.
This was a few years back when I was getting into webdeb. I was working with WordPress at that time and a start-up asked me to help them build a website on WordPress through a mutal friend. That was my first WP site and it is a jungle of unorganized code. I didn't bother making a child theme, overwrote PHP files without documenting it and changed CSS in the orginal files. Instead of a child theme, I made a monster.
The worst part is, that site has never seen an update coz an update in WordPress would undo all my work. I should prolly burn the server the site is hosted on to purge my sins. -
Make the development environment, the code base and the documentation cleaner for the new hires.
My predecessors copied whole repos without clean-up and doc and let me figure out what was working or not. They just 'made' it work. The CI process, if you can call it that, is unstable and overengineered as hell.
I don't want new hires to feel the same dread I did trying to repair other people's stack of mistakes.2 -
I find it hopeless to achieve anything with applications aimed at non-devs, such as PowerPoint. How the hell can it be so difficult to use the same theme in one presentation as in another? If it had been code, I would just have copied the XML, XAML, include, link, script or whatever code in whatever language on whatever platform from the old project and pasted it into my new project. But with "user-friendly" apps I have no control of how anything actually works. I give up, my presentation will be unthemed. Maybe it's for the better anyway, less distracting graphics.5
-
The project that I'm assigned to was developed in haste because of some competition with other vendors.
The Devs who worked on the original code didn't really follow each others spacing conventions. So now there are files which differ in spacing. A lot. And I'm used to the standard 8 spaces=1 tab convention.
Every frikkin time I have to even look at the code, I have to refactor it (but not save it) and then undo the refactoring because when I try to check in the refactored code, every line shows a conflict.
Every line.
So if I have to work with code which was written by more than one person, my life's a living hell.
Ctrl+Shift+F people! Use it or lose it!6 -
A colleague told me today Bootstrap and others CSS frameworks was shit... I answered him if you have no time to deal with CSS hell on a project with people not able to produce good CSS code, you need to use this.
What do you think about that ?8 -
I hope there's a special kind of hell for project leaders / execs that make the decision to take down the documentation for older versions of a software.
I know we should have upgraded a long time ago, but come on. I have no clue what's going on now, and not much to go on either! All the documentation links in the configurations just redirect to the project's github repo, and I sure as hell am not going to read the whole source code just to find the possible logic behind the issue!
Ugh... Days like this frustrate me so much...2 -
It makes my blood boil when my colleagues (who have been here for ages) know that maintaining dependencies in code is important but don't even action it because they give the excuse of having no time or the pressure of finishing it on time.
It angers me that I'm now in .dll hell and they don't even consider the time or push a valid case to fix the issue. It also frustrates me as I've realised that they have grown complacent/indifferent, not even attempting to change it.1 -
So we're using Jira Wiki for all the documentation related work. It's hell rich with features as they describe. But for me easiest way is to write doc on markdown and then copy paste on Wiki. Highlights code, format tables and aligns paras perfectly.2
-
Dude how the hell are u even staying at home, I have been home for like a week now and IDK what to do, im bored as fuck.
Umm okay try writing my code in prolog, u would wish the inverse.6 -
I started a new job, got through on-boarding and took my first ticket. Made my modification to the code base and the tests fail .. each time I run them .. on different tests .. randomly.
What the hell have I gotten myself into?3 -
There's a special place in hell for JS people using `.then()` and `.catch()` instead of simply `await func()`.
Why have 5 lines of code with an await, when instead you can have 5 nested `.then` callbacks.
And yes I know there are some cases where async/await isn't applicable, but that's rather rare25 -
I thought my code was bad and that was why it was taking twice as long as any other group to run
No it’s just Illinois the state my group was assigned has almost 2000 more data rows to scrape compared to any other group. My code wasn’t running slow. It just had longer to run
I’ve spent 4 days trying to fucking refactor and improve my code Ignoring clean code and attempting clever code to run faster and now I need to revert back to clean code since no one else in my group would be able to understand or work on the damn file if I left it at clever
Fucking hell 😫1 -
C is one of those languages that I have no idea why I really even mess around with it. It's cool, and useful, and all that jazz. But holy hell messing up one little line of code is the death of everything.
One forgotten semi-colon, and you whole program is gone. It will mess up other lines of code, which will mess up other lines of code, so on and so forth. I've even had times where I have to almost rewrite little programs I'm playing around with because of how much little errors can mess it up.
Don't even get me started on compiling. I don't even want to get into it now.1 -
I hope people who store data in unstructured binary format without documenting what the the actual logic is have a separate room in hell.
I hate this legacy s***pile of visual basic code that has this abbreviated function names everywhere and the 'developer' (really should be name jack***) instead of documenting his custom solutions just thought out some custom data formats and wrote really long and bad code around it to transform and decode it. Clr sql makes it impossible to debug so wherever you are my dear predecessor I hipe you rot in hell2 -
Why the hell did you put the promo code field on the login form? What type of fucking eCommerce site are you?4
-
I'm given a simple assignment to update email templates. I tot it would be a breeze.
It turn out SURPRISE! After the updating of template is done. I deploy the code in the development environment.
I tried to access the email template like how the user will see to verify all is good. It turn out i am facing error.
So uhh ok, i went to check the logs to see what the hiccups. It turn out that a table is missing. But this is production code. So my question how the hell did the production environment has the table but dev don't.....6 -
Note to self: when you extend a functionality by rewriting a relevant part, remember to mark the old code as deprecated or delete it.
AKA "why the hell I´m not seeing anything in logs/db that reflects my changes" T_T -
yeah we have a guy that actively paints himself into corners. last time was an api he was saying yeah there just this last field to put in, then when you open the code because of the bs reaspn he gives you for not finishing it you realize you have to wreak everithing and start pver cuz there is no ways in hell this would work. and thats just the tip of the iceberg....
-
Updated today:
VS 2017 15.3
dotNet Core 2.0
SSDT 17.2 (I think)
SSAS VS 2017 Package
SSRS VS 2017 Package
> Where the hell is the SSIS VS 2017 Package ???
VS Code 32bit
> Found 64bit is out, manually uninstalled 32bit, installed 64bit
Also wrote seed data for my program so I can continue development. -
Before: why the hell my code isn't running?!! FML 😬
After: How and why the fuck is my code running!! -
Comments throughout code with things like "changed to fix bug #". And commented out code all over.
We have source control, why the hell are you doing this? -
I once had this discussion with my manager
Me: Hey i have an idea to improve our overall system but since it requires design changes which may break the system , can you provide me an experimental environment to implement and test it.
Manager: you should write code in a way you can flight it (disable/enable any changes)
I was totally out of words.... Who the hell flights a system design change?! -
What do you guys think of forced linters (checkStyle) on java assignments?
At this University we have a submission system that checks for your code where if a line didn't match the coding specification then it's an instant zero.
Being experienced in programming before going to a university, this somewhat surprised me, it also has unit tests implemented in it where it checks against input and output.
Would love to hear your thoughts on this. Is it too much for people who unlike me never seen code before? Or let them have hell and understand how to deal with it? I personally think it's too much for beginners.3 -
I earned the title of "sql king" due to the complexity of the sql I write (not proud of that because it makes maintainability hell) . It's pretty cool except sometime I feel like I can write shit code and ship it to production just because none can review my code properly or rather spend enough time understanding it,
basically I am not challenged enough...
What do you guys do if you are not challenged or bored ?
Never contributed to an open source but it might be the solution4 -
What in the actual fuck is vs code doing with the language servers? I am idle for minutes, but the language servers are constantly are roasting my cpu harder than linus doing code reviews.
Fucking hell, I can't enjoy the music in the background, with the cooling system crying.3 -
How do you guys explain to your CEO, PM, boss [whatever] that you cannot give them accurate time estimates for debugging? 😅
If something i made has a bug, and uses external libraries, not even debugging my code (more like, how i used / implemented something has a problem), i obviously have to first of all check what the hell is wrong ! I dont just make bugs for fun and happen to know exactly what is the problem and therefore the solution ... -
I'm currently working on a project in my spare time for which I haven't yet written much “real” code; it primarily consists of nothing other than extremely bare-bones pseudocode (hell, one of the lines literally reads “DO SOMETHING WITH THE API”), and it's already at a length of over 6KB. This is going to be a long-ass project.2
-
Had a definite week from hell... a bunch of prod issues that only I could fix (that's a whole other rant for another day!)... a piece of code totally kicking my ass for days... a hosting environment that was unstable seemingly every time I needed to do something in it (and that killer piece of code could ONLY be properly tested there, naturally!)... a service that my app depends on flaking out with no indication what the problem was and another team responsible for it that is based off-shore so aren't responsive when I need them to be... a metric shit-ton of procedural bullshit dropped on my head... an immense amount of stress due to the lead-up to a prod rollout next month that absolutely CANNOT fail without huge ramifications for the business but not enough help to ensure it gets done.
But, with all that said, I DID manage to get that killer piece of code working late on Friday after slamming my head against the wall for over a week on it (and ultimately re-writing it from the ground-up on Thursday and Friday)... so, the week of hell ended on a high note at least, which is always a Very Good Thing(tm)!2 -
True story:
While doing a CR stumbeled upon the following line, with no documentation attached:
CONST = "{0}{1}{3}//{4}{5}{6}//{7}.{8}" -
Only half dev-related but AAAAARRRGGGGHH it sure as hell is a rant.
Doing a programming course, and I'm supposed to provide flowcharts of the code. I just spent over TWO FUCKING HOURS working on one in LibreOffice Writer, saving in between to make sure it didn't mess up. But of-FUCKING-course as soon as I do the final goddamn save for the chart, it just magically disappears. My hate for word editors burns with the intensity of all the fires of hell, and almost even rivals my hate for M$...2 -
I'm sorry, but who thought eslint or any linters for that matter were a good idea.
Started a new vue project using the cli, installed tailwind... oh what's that you don't like the line length... get out of here. It's an SVG and using a class-based framework. The hell.
Any way of removing eslint? I just want to code and not get bs warnings because of an svg length or because I add one to many classes.16 -
How can I get started in open source? I tried forking a repository and do a bug fix, but their code base was ugly as hell and makes me unsure about what open source projects to contribute to.6
-
Imagine the nooblet hell it would create if Python would throw actual errors all over the place if pep8 has been violated...
If only...
sidenote: I post this rant because I had to help my girlfriend and her project partner (for her study) because partner refuses to write readable code (no comments in the code at all as well) and both refuse to write in compliance with pep8 "because it's useless"5 -
I started with Gothic II modding as a kid and copy pasted the hell out of that game.
After that I learnt to code Java in school. And was shattered because of the things I did back then.
At my first job I learnt to code RIGHT. So... learning to code is a long process.1 -
Some magic happened about situation talked in earlier rant at below link.
https://devrant.com/rants/2910513/...
Now magically even before I inform about this situation directly to the client, now after 8 years they used some proprietary static code analyzer on latest app source & found out around 200+ security issues which covers most pain points I told in the above rant.
I also found out that there is a list of 100+ vulnerabilities documented in client doc repo, which were pending since around 5-6 years.
Now I have to work along my junior to fix these both kind of issues.
Suddenly dull maintenance project became much challenging & interesting. :-) -
!!rant
Why the fuck would you bother creating a style guide if you don't adhere to it even a bit in creating mockups?!
Sure as hell I can code what you want, but you gotta stick to the agreed guidelines, dude! We can't keep adding *slightly different* elements, it'll lose its purpose! -
Continuation of my first comment regarding the poor use of dictionaries...
Co-worker's code:
Foreach kvp in dict1{
ForEach kvp2 in dict2{
...
ForEach x in list{
ForEach kvp3 in dict3{
...
}}}
At least 2 of those kvp iterations can be changed to a standard dictionary use
What the hell am I looking at...... :(3 -
If anyone complains one more time about "windows is built upon a DLL-Hell", i will challenge this specific anyone to implement react into an existing PHP-Project.
Installing matching package versions via npm is the real struggle.
Especially if you decide to be a node psycho who's delivering his react code via webpack.
*projectile vomiting in a straight beam of acid vomit*
Wasted a complete day of my life, dealing with Facebook's naughty shit.... -
I've stumbled upon some sources (mostly C/C++ and Pascal) during reorganizing backups in home LAN from 25+ years ago. Hell, I've used to be better coder then (code is more optimized and cleaner).
Perhaps it is just hardware (much, much more powerful) and choice of languages/libraries/frameworks I use nowadays?!3 -
Please don't use OS specific libraries/binaries/build tools...etc
I'm talking to C/C++ users here. once in a while I see something on github maybe im just curios maybe I find your niche code useful but then you use make (who the hell still uses make?) or your library depends on another library than can only be mindlessly installed in a unix environment. and the most obscene of all a solution file...
thank god for rust.14 -
For donkey, one can argue that WordPress is great, but for the developer, it really sucks. Customize it, feels like your soul tormented in eternal hell with its spaghetti code and unreadable variables.
-
One year ago I graduated from university college,
Thought I had a stack overflowing with knowledge.
How wrong can one man be?
Very wrong, apparently...
Even though I only had a bachelor degree,
I landed a job at a nearby company.
Today I'm maintaining the code I wrote back then,
Seriously wondering if I could just write it all again.
The code I wrote I would consider a crime,
But it's good to see improvement over such a short time.
I still dread coming back to this code in another year,
Thinking yet again; "What the hell went wrong here?".2 -
0) I can be as socially withdrawn as possible without getting eyes and comments on being socially withdrawn. Going to a tea house with a laptop to code in a corner sipping Earl Grey is great without getting questioned.
1) I can make whatever the hell I want. I can do whatever the hell I want. I can automate whatever the hell I want. And then I can Humble Brag™ to everyone.
2) Because it's fun. I get to meet more folks I haven't met before through hubs like this and programmer Discord servers. And we can be nerdy together.
Edit: Also because I have a fecking pillow fort on my bed made for tucking in while coding. It feels gud in pillow fort. All of us needs a coding pillow fort.1 -
We all have that one friend who can't code, but still made an entire rainmeter layout. Now he wants to show you his work. If that works, put it somewhere in a folder never to be found again and keep it out of my sight.
There is a hell, believe me I have seen it. -
So I read about how NAND mirroring worked as a proof of concept on brute forcing the pass code in Iphone 5c. After reading a few paragraphs, I didn't understand how the researcher came to know what to do with certain challenges along the way. What the hell did I do in my 5 years of studying engineering? I better go back to the basics.
-
So today was my first time combining mocking, depenancy injection and promises. I thought I had a relatively good understanding of everything until I started writing tests - now my head is spinning.
The actual coding has gone really well - implimented the strategy pattern so I can reuse my code whenever I want to make an API call - and everything is nicely decoupled so it should be easy to test. In theory.
If anyone here happens to write tests for a living, I have a new found respect for you today...
Time for a beer 😅3 -
Decided to learn C# after learning C, its a goddamn nightmare I get that C# like C++ wants to abstract and provide supposedly more easier/shorter ways to write Code but honestly I abhor both languages.
Are there any true alternatives that dont focus too much on oop? or arent bloated to hell?4 -
Why the hell you write test¿ if you can write 8h a day perfect working code, everyday, without a mistake?
You just waste time doing that...
</irony> -
Use simple working code of an if statement and reject bad data with an error.
Get the same result but through properly using springs nested path errors. But it doesn't work so now you need to spend hours in debug hell through spring framework code for something that should be easy, is blocking another team, because I have no idea how to do my fucking job.1 -
I have just witnessed hell given shape.
Imagine having react + redux
And finding component which just pass an argument to the children.
‘’’(children, param) => children(param)’’’ An argument which is stored in the store. Without even changing it. And it’s a standard around the codebase.
This is why we don’t deserve nice things. -
Rant/question:
httpDoSmth1().subscribe(x =>
...then(y =>
httpDoSmth2(x).subscribe(z =>
//do smth with z
return z
)
)
)
Isn't this (not my code) callback hell all over again? The 2. http call expects results from the 1. http call. I feel like this could be solved cleaner using async await/switchMap/etc. ... but not like this.13 -
Stupid Zkoss won't let me assign a UI component more than one parent. Instead of getting to use preexisting components I get to make copy/paste carbon copies. Shot my plans for code resusability to hell and back.
-
Okay chrome debugger extension in vs code where the fuck is my page. Why the hell cant I see it you hateful son of a bitch.
-
After my third "requested changes" I've officially lost all dignity I held. Spend hours working, wrong solution. Revert, not working. Fix, removed functional code. I think my brain is just broken. Or maybe this project is just massive and I just can't wrap my head around it properly. Or maybe I'm just clueless. One day I'd like to be at a level where you hear an issue and immediately know the solution, where the problem lies in the code, how to fix it, and how long it will take. Hell, I'd settle for even one of those right now. The learning process is so stressful.
-
Colleague is programming/scripting for over 5 years now (that I know of), even attended Udacity programming nano-degree.
Yet, he still writes code/scripts without a single function. How the hell can we start any programming best practices, clean code, or making steps towards TDD with this sort of mentality.
And it's not just him, it feels like a death by thousands cuts as the small things add up. I know we're Ops and not Devs and some other colleagues are trying really hard to get their work on the next level but I see no hope for the team as the whole.4 -
Its normal if i drop some eyedrop at my new job ? My boss don't know anything of is network ... Cannot help me with noting no code no net... All the code is done already is a deep shit full of breach im fucking solo in a room face a brick wall no window ! Can i stay for 10 month at this place ?
Need to coding but have no cluse how to connect to a fucking database no user no password ...
Its the fucking hell here 👿😢3 -
Dafuck is that swiftUI, already hate reactjs to the bones, and now here we go again, i must code those nested views hell and predict the data channels.
This is killing agile programming bigtime1 -
Well I was hired for and IoT application, Then someone in my work just quit rigth now i am the one responsable of his projects, and his code just sucks, no test and killer jQuery as hell as I can see. And the project for I was hired just stop and the phone dont shut up all the day. :(
-
I just spent around a fucking week questioning myself, my sanity, my code and a 3rd party api to find out I was submitting bad data to my correct code in a separate part of the product.
Fuck my life and my self inflicted stress and guilt over this. Hopefully edge cases are already covered, I fucking had working code or so i hope until the next bout of debug hell.
Also fuck you spring for not letting me see request body of an outgoing post request. -
MySejahtera is not a good appliaction at all! They just use Sqlite or Shared Preferences in the app for keeping the data local. (Just local?) As soon as you clear cache or data, The user no longer exist! Like wtf ?
So I decompile the app and review the source code, the code is not even properly obfuscated(That's why I can read it). There's a part of the code on a for loop went
```
for (int i = 3; i < array.length(); i++)
{
for (int j = 2; i > array.length() *2; j ++ )
{
onScan();
}
}
```
Which is unacceptable!
First , why nested for loops?
Second, instead of declare 'array.length()' multiple times why not declared it global for once?
No wonder the initial state of the app is buggy as hell.8 -
<rant> Why is Apiary's editor so weak? It has no support for navigating from request to its code, it hides inheritance (so in the end you end up navigating source code via ctrl+f which is very cumbersome) and is buggy as hell. It randomly scrolls around, after awhile is laggy, syntax highlighting often breaks on a blank line with few spaces and so on... I wish so hard it would have had a plugin for IntelliJ IDEA with proper navigation and request preview. The web "editor" is just so clunky and generally bad :(.</rant>
-
And right here is why I hate python
In all c like languages hell even in pascal code blocks are very well separated
I was wondering my code wasn’t doing anything and here the return block was being called at the end of the loop because of tabbing bullshit
At least I can choose to strongly type
Step up from js2 -
I'm getting quite tired of getting told the line "Write your code so that the next guy understands it" at every damn job. What the hell is the point of saying that? To document more? It surely sounds negative.
It's like the preliminary sign of getting fired soon. Sigh. If that's not the case, then I would appreciate it if managers would stop saying this.9 -
One of our testers got the brilliant idea of switching the desktop environment to KDE on some debian. Response of our Qt-application: crash! - "Cannot mix incompatible Qt library"
Yeah. And we only want to support five distros in at least three different versions. -
when i work, i code. whe i sleep, i code. When i talk to friends, i talk about code. I figured out that its going to be a hell of a code review when I'm gone.1
-
How in the hell did I manage to learn to program in C++ without actually writing the code for past 2 weeks?
I didn't. -
https://trunkbaseddevelopment.com/
A source-control branching model, where developers collaborate on code in a single branch called ‘trunk’ *, resist any pressure to create other long-lived development branches by employing documented techniques. They therefore avoid merge hell, do not break the build, and live happily ever after.
// Thanks guys, after such a nice introduction I now feel obligated to read the whole damn thing -
Does anyone knows what the hell is "coala" that's used for liting and fixing code? Cause I am pushing something and they said I need to fix my code using "coala" but I can't seem to figure it out what it is, how to install... I even tried to install in atom as plugin but that shit gives errors.7
-
Ooh this project.. So I was put in charge of creating new pages, and general maintenance as the site was already built by a previous dev on the team before i joined the company. I take a look at the design, fairly strange forward quick analysis most of it bootstrapable, some custom code is needed for some parts so no issues there.
Looks at the code, only the bootstrap grid system is being used, the rest is custom code, an additional 9K lines of CSS and 526 lines of JS. What the hell is this.2 -
Fucking translation service!! (Wordreference)
This morning I got the usual gdpr thingy and I thought "ok let's have a look what this translation service is doing"
You damn bitch that fucking list contains dozens and dozens of rows and I have to fucking manually disable them one by one.
What the hell, did you hire a monkey to code this stuff you utterly incompetent company? I'm never gonna you this thing again4 -
archeological work is painful and difficult
people in industry don't seem to emphasize/warn how much archeological work there is in being a code monkey
or are there jobs that don't involve it? i imagine the skill remains essential
greenfield work to be the exception not the norm, and start up life is hell and a gamble
interview process seems to completely disregard this, as i imagine it'd be difficult to assess, unlike leetcoding linked lists or code golfing stuff without using data structures, or whatever awful things they ask for in leetcode hards or whatever3 -
Bluemix: Hi, here have 1 instance of your app running, with 128M memory and 1024M disk. Btw, we are gonna take a hell lot a time to get your code up and running, and we love living at the 500.
-
To hell with this auto path rewrite VS Code, when I rename a file you find all files and rewrite the imports, but now you did it wrong
and I have a huge mess to pick, I have no idea how you did this but you wrote long paths which don't make sense
why did you put node_modules in-front of all my imports when I moved a folder which has nothing to do with node modules1 -
For those who are on my team, arguing on not putting comments in their code:
How much ever (un)readable your code is, any peer / reviewer / future team member can only understand what that code snippet is doing, but not why was it written in the first place or what the hell you were thinking while writing that logic. So, it'll be awesome if you write that as comments or at least link to the story/design doc which warranted that code.3 -
Honestly couldn't batten it down, but it's probably somewhere around 3-4 hours. Did a few hacking competitions in college, and that's about the longest I can handle being fully productive. Nothing like a hackerrank from hell where the Perl interpreter didn't work (I know, Perl, yucky), so I was struggling to code in Python during the competition!
-
Anyone here have experience with bountysource or doing code bounties to make a little extra? Bountysource seems interesting but the annoying thing is that you don’t know which ones are still active, and plus some seem to be more trouble than what they’re worth. Learning their codebase (at least the relevant stuff) and implementing a fix for 50 bucks? No way in hell
-
Everyone have their favourite IDE, but to me Plunker😊 has been a great one it has hell of capabilities and don't forget about the themes it has.. *dark mode* 👌
Every damn time I wanna make sample code ..voila plunker it is ! Best for Mean stack development 👈
Am I the only one who loves it ??1 -
Is JAXB explicitly DESIGNED to be the most brittle and frustrating API in the entire Java ecosystem? Sure fucking seems like it. Feels like every damn JDK upgrade or dependency upgrade requires screwing around with JAXB-related code, and not always in trivial ways, or a trek back into dependency management hell for a while. ARGH!!
-
Just how the hell did we get here!? The culture war has no place in our community. People push their code under anon pseudonyms. When even.the normies are getting scared, you know we're in a very dark place.
https://youtu.be/v5VvJiNUCIA -
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. -
Fuck JSF! Like seriously! And fuck my internet technologies prof for making us code this horseshit on fucking paper in the goddamn examn! Seriously go fuck yourself and your medieval technologies with a rusty Russian submarine! FUCKING HELL!