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 - "long code"
-
*yesterday*
Client: "Perfect! How did you do this so quickly?"
Me: "I used a library"
*today*
Me: "I'm still debugging. It will take some time"
Client: "Well, it has already taken too long...I can hear Mozart in the background. Maybe you need to go to a library to get some quiet and get it done fast. Visit the one you used yesterday."
Me: "Library?...Ah, I meant plugin...like, code...a library is a bunch of packaged code"5 -
Imagine what a coder Gordon Ramsay might be like:
Your alghoritm is so FUCKING slow, I'd rather to try to brute force a 20 characters long alphanumeric password!
This app is more insecure than an average teenager!
If your code was a spaghetti it would be a fucking health hazard!14 -
New guy: There's a memory leak in my code.
Me: You need to free the memory you previously allocated.
New guy: Already did that, deleted everything from my "Downloads" folder and some stuff from my Desktop.
Me: *Long Pause* Have you tried "rm -rf /" yet ?4 -
"Today I won't code, I'll just play some games or watch TV and relax!"
"Hmmm... I'll just fix this one small thing here... shouldn't take long. And then its time for some gaming!"
* 3 hours later *
Still coding, wtf is wrong with me6 -
"Don't waste your time on writing comments or documentation, as long as the code works!" - My (Ex-) Coworker5
-
Wife - my site is not working, everything in the code looks correct. But it is only throwing me 404 all over
Me - "blaming the teacher for giving bad shit"
Wife after googling - I fixed it, you have forgot to enable .htaccess in the virtualhost
FFS how long have I been this stupid?12 -
My dad turned off my laptop this morning, so tonight, before going to sleep I had to tell him, not to do this.
So I decided to do this....
PS: yeah that's my mom's hair clips.:D11 -
Got a new deck of cool cards for me, my brother and a friends for their birthdays 😁
Thanks for your rant @BambuSource long time ago!
Here is the link:
https://varianto25.com/playing-card...
PS: Look at my cool Yu-Gi-Oh!-Desk 😜11 -
Boss:(pastes a bunch of Python code in Slack)
Boss: Need to convert a long list of ints to a comma separated string. Can you finish it for me? Need it now, I'm in a hurry!!
Me : (Delete all boss's code)
Me : input=[1,2,3,4,5,6,....] output=",".join(str(e) for e in input)
Boss: Damn you! Thanks. Brunch on me today.5 -
I wanted to go on a cruise with my programmer boyfriend.
His response?
"I can't be away from work that long."
Not because he'll get into trouble or anything. Oh no. He just loves writing code *that* much. 🙄5 -
That moment when a friend was talking to you about an artificial intelligence he is building that is supposed to be a voice assistence and "even better" than Cortana. After a long time I asked him for the code like I wanted to check out the revolutionary techniques of machine learning he was talking about. So here is a short part of the 600 lines long "voice logic".
I almost started crying 😂😂16 -
When your colleague, who wrote the API is on vacation, the documentation is non-existent and you are tired from reading all-day long his spaghetti code, so you are just waiting for him to show up.2
-
This week I've been struggling with dense, overly-complex code written long ago by someone who didn't add a lot of comments.
Hello again, past me.2 -
IF LIVES DEPEND ON A SYSTEM
1. Code review, collaboration, and knowledge sharing (each hour of code review saves 33 hours of maintenance)
2. TDD (40% — 80% reduction in production bug density)
3. Daily continuous integration (large code merges are a major source of bugs)
4. Minimize developer interruptions (an interrupted task takes twice as long and contains twice as many defects)
5. Linting (catches many typo and undefined variable bugs that static types could catch, as well as a host of stylistic issues that correlate with bug creation, such as accidentally assigning when you meant to compare)
6. Reduce complexity & improve modularity -- complex code is harder to understand, test, and maintain
-Eric Elliott12 -
Today pranked my colleague changing some semicolons in his PHP Code to greek question marks.
It took him tears, sweat and a long time until I told him.
Now he wants to kill me.
XD9 -
"You guys are taking to long. can't you just copy and paste some code and complete the website?"
Literally fuming right now.2 -
1.) Please make WordPress die();
2.) Please prevent recruiters from getting my contact info.
3.) Please ban all "coder meme/joke" sites from instagram. They repost long dead jokes and the jokes don't even make sense if you know how to code.8 -
SUPERVISOR: You wrote this 140 lines method, it's too long. You should split it up, it's not readable
IHateForALiving: Bruh be serious, this is a single switch-case; I can't split it.
SUPERVISOR: Fine, I'll do it.
HIS CODE: He split the 140 lines method into 2 methods: the first is 4 lines long; it's a try-catch surrounding a call to the other method, 136 lines long.9 -
WORST???
Seeing your code, which you were proud about, now being butchered by some interns/newbies 😲
Just like seeing your X girlfriend after long time 😒10 -
Senior: I've been programming for a long time. I know JavaScript.
Me to myself: I've seen your code, it is shit.
Senior: (builds JSON with string concatination)
Me to myself: ...
What am I to do? The system is full of stuff like this, and minimal support from management to fix and rewrite.19 -
What is it with clients who have never even seen a single line of code in their entire lives telling me how long they believe a certain change request should take to code.
I mean, what if I told you that your "seemingly simple enough" change needed an update to 36 class files, 9 oracle stored procedures AND several database schema changes. Also, who the fuck is going to perform a regression test to make sure I didn't break anything? Your Uncle Bob??6 -
When I was first hired, I coded all day long and all was right with the universe. Then I got promoted. now all I do is attend meetings, grant access, and review other people's code. I need a demotion.6
-
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 -
I hate Microsoft!
But i gotta say, VS Code is a really good IDE. Guess they should've gone open source a long time ago15 -
Looking at code you wrote a long time ago and you can't figure out parts of it...leaves you like:" Damn I was a genius"1
-
You ever open some code that was committed a few years ago by an employee long gone and it's so shit you have to get up and go outside to take a deep breath of fresh air?6
-
Recently saw a piece of code left by a former coworker where he converted an int to a long, by converting it to a string, then parsing the string.5
-
Just my $.02:
One thing I think a lot of students/schools miss when learning/teaching, is that your code has to be *maintainable*. Your code is (hopefully) going to be used for a long time, so program it to make it not only easy to upgrade and maintain, but easy for SOMEONE ELSE to upgrade and maintain, too.
The best code to work with is the stuff that's been coded with maintainability in mind.14 -
I am sure this has happened to all of us in some extent with some variations.
Colleague not writing comments on code.
Ask him something like "How am I suppose understand that piece of garbage you have written when there is no comments or documentation?"
This keeps happening for a long time. Some time after, I write a kernel module using idiomatic C and ASM blocks for optimizations (for some RTOS) and purposely not write neither documentation nor comments.
When he asked for an explanation, I answered to everything he questioned as general as I could for "that trivial piece of code".
After that he always documents his code!
Win! 🏆4 -
I've been using atom for a long time. At work I recently switched to visual studio code. I really hate Microsoft... But I really love visual studio code!14
-
I just found this code snippet on Stackoverflow that decodes polylines from Google Maps.
I even doubt the genius who wrote it understands what it does.
Anyway,as long as it works am good.4 -
That awkward moment when you learn about callbacks and lookup tables and your whole menu logic goes from a 2 page long switch-case to 3 lines of code... 😂2
-
>me on first day as temporary scrum master
>gets invited to 'optional' scrum master meeting
>meeting is with all SMs globally
>at 6PM local time
>POs also joining because why
>first topic is discussing a defect
>a PO has stroke of genoius
>"Our code base would be much easier to maintain if it didn't have bugs!"
>this gonna be a long meeting4 -
Made my FIRST APP using Flutter.
How's it?
Fetches 'Random Rants' from devRant.
Should I put the code on Github?
PS: will break if the image is too long in height16 -
Java's System.out.println because it's too effing long to write!
And in general, all of Java because you need an MB of code just for Hello World.9 -
my team mate thinks that function name should be descriptive so you can understand what It will do.
Here are the examples of functions he created:
createArrayOfConsentChangedEventObjectForAConsentForAllDataProcessorsWithoutNameInEvent()
createArrayOfConsentChangedEventObjectForAConsentForAllDataProcessorsWithNameInEvent()
createAndPushConsentChangedEventWithAndWithoutNameForAParticularConsent()
I was supposed to review his code but this names are so annoying that I gave up on reviewing and just passed his code since functionalities were working as expected. -_-
Am I the only one who gets annoyed by long function names?19 -
"And how are you?" I said.
Eeyore shook his head from side to side.
"Not very how," he said. "I don't seem to have felt at all how for a long time."
"Dear, dear," said Pooh, "I'm sorry about that. Let's have a look at your code..."
And then Eeyore looked at Pooh with terror in his face, before he vanish into the forest.
He never let me review his code again...3 -
In an interview, when you throw a simple piece of code to a candidate...
Candidate: ...
ME: (maybe I'm too hard on them)
Candidate: ...
ME: (ok, I definitively have to simplify this little pattern example)
Candidate: ...
ME: ...explaining the short piece of code and give'm the answer
Candidate: haaaaa that's what I was thinking but I used that long time ago...
ME: (Yeah... nice try)2 -
How I spend my days at work working with legacy code:
* Writing tests before I do anything
* Noticing that i cannot write tests because of antipatterns. Lots of them.
* Refactoring to make at least a tiny bit testable.
* Then writing tests.
* More rewriting and refactoring
* Finally adding that one feature my boss asked me for
* Writing tests for that new feature (my do that before implementing)
* Explaining to my boss why it took me so long and agreeing on stopping writing tests.
* 2 days later: explaining why i still broke something.
But in the end my code works just fine.
my colleagues handle things differently. They just ignore problems as long as at least one feature works a bit.13 -
Was in a middle of competitive coding trying to do some operation on a nxn matrix. Wrote this code.
for(i = 0; i < n; i++){
for(j = 0; j < n; i++){
.......
.......
}
}
Was waiting for the output, only to wait long enough for the coding platform to throw a timeout at my face and make me doubt my skills.2 -
*finishes university exams*
*gets to code after a long time*
*cannot remember what the code does that was written a few weeks back*
Fuck 😓3 -
What's your Holy Grail for long hours of coding?
Something that helps you concentrate perhaps?
Mine is: Spotify
Switch it on and get lost in code 😁16 -
I was working with a guy 3 years ago, he was junior web developer. Lazy for work, watching YouTube and game streamers all day long at the office. Sometimes i was fixing his crappy code.
And ... one week ago I was surprised seeing this guy come to my current work office as senior web developer.
Im also new at this office and i had good impression i was working with professionals before this happened. Guess what... This guy hasnt changed much. Still writes crappy code , no idea of clean code at all.
I got concerns about my work place now :/ thinking to change it.6 -
!rant
Do you ever find yourself proudly staring at your beautiful code, forgetting everything else and suddenly noticing you've been at it for far too long?3 -
You know you've been developing for a long time when you don't just write code but also wear it haha5
-
Aha! The problem that you solved after a week long of thinking was already solved in 1800 AD and the code looks 100x better and optimal than yours.5
-
Just reviewed collegues code: 80 lines of if statements that are so long that I have to scroll sideways on my 27" screen. Just wrote the exact same thing in 5 minutes and 10 lines! If you don't know how to use loops in your code please learn something different and stop pissing off skilled devs 😡5
-
When you and your colleagues fight over code intending whether it should be a tab or ''x'' spaces.
My reply: It doesn't matter what you use!! It's like eating with either a fork or spoon, as long as you eat, dammit!!
My friend:5 -
When you work for a long while in a convoluted piece of code and then compile and it just works...
*wink, wink*
Then you spend another 30 minutes going through the code in disbelief trying to figure out why it didn't break 😵2 -
Programming helped me realise, that I'm growing.
Since I've learned git long time ago, all my projects are archived and I can get back to them. When I look at my old code, I can see, how much I've learned, and how much more of a developer I've become.
And it motivates me to keep going.4 -
I'm going to talk to my supervisor about redoing their code base.
It will take time, it will suck a bit but I think the long term investment in doing this right will be worth it.
Wish me luck in convincing him 😂🤞7 -
Oh yeah that shouldn't take too long right? I mean it's just the front end.
No shut your fucking dumb ass mouth up. It will take long. The front end is very complicated, and your stupid fucking ass who couldn't learn to code is in no position to estimate how long it will take. Do us all a favor and stick to the "business" side. Fucking incompetent idiot.
If you're not a programmer, when it comes to estimating how long a task will take. Just shut the fuck up. Just cause you work in this industry does not qualify you to estimate a task. Just shut the fuck up.1 -
Me: I think we should implement some kind of unit tests.
Lead: No time everything will take twice as long.
* some of my code accidentally breaks some of his *
Lead: I think we should implement some kind of unit tests...4 -
Scenario 1
Friend 1:"Hey, you're good at computers right?"
Me:"Erm yup."
Friend 1:"Can you hack Instagram? I've lost my password."
Me:"Oh My God."
Scenario 2
Me looking at a friend's unity C# code
Me:"You know there's an enter key right? Why is your code horizontal not vertical?"
(Means that after a semi-colon he continues his code)
Friend 2:"I like to read my code in horizontal, that feels natural to me"
Me:"What ever, as long as it works. But why do you have so many if function inside another if function?"
Friend 2:"Cuz I want the player to do this while moving"
Me:".........."3 -
Apparently USPS tracking numbers are case sensitive... I missed a delivery today so went online to check the status.
The code was RAxxxxxxxxxxxxxxxxxxxTR
x=numbers
I first typed the letters in lowercase and it said package not found...
Really???!!!!!! Don't you think all those numbers are already too long...3 -
So my manager comes to me and says the developer A said he wrote a code that you can re use why is it taking so long to complete, just copy and paste. As if it's just copy and paste😡1
-
"I couldn't fix the test so I commented it out."
"I removed build timeouts because our jobs started taking that long."
Next I'm waiting for "Compiling the code is good enough we don't need tests" before I lose it...1 -
You know you've been staring at code for too long when you see a function called getInitial(), but it looks more like a NSFW term.4
-
Once you've been writing code for so long, being excited writing code can go away. I still find that I get the rush when working with a new language or technology. It feels good to be a beginner again 🙂3
-
> raw http request injected in the model
> 400 lines long method, followed by three 300 lines long methods
> no autocomplete, no comments
> code called by the whole application, I mess up once there's at least 150 other components that might break
> no documentation, no tests
> pyramid of doom, 13 levels of indentation
Those are the same people getting all puffed up because the cat dared to sit on my shoulder during a call. Management focused on the real fucking problems, no doubt.rant 1 your mother gorges herself 2 with the most vilesome dicks in the kingdom 3 in rows of 250 each4 -
"Developer code must ensure that IAsyncDisposable implementations don't take a long time to complete."
Ah yes, the very technical "long time" unit of measurement. God why don't you just go fuck yourself microsoft7 -
Going for my first code review. My colleagues and I will read through my main class, which is 832 lines long and a two-three comments.3
-
The worst part has to be you always compromise on your health just because your brain is telling you to solve a code block. You ignore your basic necessities, resulted in irregular patterns of sleep, skipping food and so much more.
Trying to maintain code which was written long back and alot of it has deprecated.
Yes you need to sit your ass down and write the whole thing again. -
I'm so easily distracted...
Set my self the target of planning a project and then doing a straight Hackathon while writing the most optimised code I can while programming.
Long story short.. Ended up sellotaping a lazer pen to my cats collar and watched her chase her self round the house.
Very productive day. -
Step 1: create genius-level Excel spreadsheet
Step 2: wait 7-10 days
Step 3: realise you're an idiot for not documenting what all your genius code does so it will take just as long to unpick it as to start from scratch
Step 4: complain on devrant even though it's your own fault
:( -
At a previous company we hired an 18 year old guy and father from a minority and without a high school degree. He could write enough code to get the job. However, he took 3h long lunches, came in late to work and apparently had a problem taking orders from women. At one point all the juniors got an earful because of his attitude and he got let go, not long after. It still saddens me because he could have made a really good career if wasn't for his attitude.1
-
Got rebuked by the Java teacher today at the University for using proper long names for variables in the code. She though I was just wasting time being lazy in the lab. "If something can be achieved by a single character, why type that long variable again and again?". *Everyone in class laughs*
Then, there was an error in my code [turned out to be long long int in Java is weird], and I had no clue what was going wrong [I'm a week old in Java]. So, I had initially called her to help. She made me change all private methods and attributes to public. When asked "why?", got trolled again.
Now, I know it's okay, and not that I really care about what my classmates think of me, but getting this kind of treatment really sucks. And if this is how future software developers are crafted today, maintainability is surely going to be an issue tomorrow.
Maybe staying in this stupid country was my worst career choice. I should have tried harder and gone abroad.12 -
As long as the couch does what it should and is stable, I think it's a good code. Programming means knowing what the computer does before it knows it.
Heaven for programmers:2 -
What a difference three lines of code can make. That's the typical case of "that seemed to be a good idea". I don't know how did I think it would work out on the long run. Next step will be reduceing the enourmous CPU usage as well.3
-
After finishing a long and arduous refactoring I got to delete some hundreds of lines of really horrible, unmaintainable and broken legacy code. Feels absolutely great.
I love the smell of deleted code in the morning. -
One of my clients got hacked.
FML. It was fucking bad passwords by a team member.
Google has now blacklisted the domain.
Removed the shady code, requested for review. Hope it recovers soon.
Any idea how long it takes for Google to remove the red warning page before you even enter the page ?2 -
I used to love small 12 pt fonts but recently I've really liked coding with medium sized 16-18pt fonts and it's a big difference. As long as the characters are thin (like first code light) I really quite prefer it.
Am... Am I getting old...?17 -
Gotta love kotlin!
@osiris1337 the refactoring is going great
I had a 80 lines long model class with all the getters and setters and Parcelable interface implemented
and all of that converted to kotlin like this
@-psr another reason, small and readable code ^_^1 -
One thing you learn after a few years in IT and some languages is that there is no problem with most languages.
BUT
Ugly code is ugly code! Has half of the devs I have been working with never heard of a style guide? Is it so long of a read that they just skip it.
I have flashback of variables being called "a", "b", "c" and/or methods being called "method_alfa" in production code.
In my opinion, repeatedly sh*ting all over a style guide is a reason for getting fired.1 -
How long can you code continuously without any break? Occasionally I can code for hours but usually I need frequent little breaks. :/10
-
"How much of a dev are you, if you use other peoples work and just glue it together?" I once asked a friend who really loves npm and everything.
I know about code reuse and maintainability and all that but geez we had a long discussion..😅5 -
I took over someone's code right after they left, and this was in there... By the way the containing method was about 300 lines long.7
-
We actually had a small "code on paper" test (more like a recap test) yesterday, but we didn't have to write much rather than just have a basic understanding how classes and instances of those work. It was like 6 small lines of code to insert. I don't mind coding on paper as long as you don't have to write a big program with it as a 1-hour test.2
-
If you're going to add unnecessary white space to code, at least keep it consistent. And by consistent, I mean learn to write code that doesn't look like you pair programmed with a toddler who had a hour long tantrum on the damn spacebar.2
-
Finally finished my new app Deep Sleep Fan for iOS. Took 3x as long as I thought it would to develop even though it used a shared code base. Check it out at https://itunes.apple.com/app/...
Now I can go to bed.3 -
Being woken up in the afternoon by a client phone call, mouse in hand and a long line of spaces in your code. The benefits of self employment.
-
I just hate it when a co-worker says "AS LONG AS IT WORKS. It doesn't matter how you code it as long as it outputs what the client/user wants. They don't check how you code it anyway" *facepalm*
We effin' follow standards so that it will be convenient for everybody!
Bad code is still bad code if you don't follow standards even if it works.4 -
After a long time I finally reached this milestone of 100% code coverage. I often asked myself why I had to test every function, no matter how small. But this log output of 100% was worth it.4
-
Forgot to change code in my api for rate limiting, after development. No unit tests.. because who really needs that right? 🤦♂️🙅♂️🤷♂️lolololol
Long story short, API went to production eventually, and stopped working almost immediately. Rate limiting was set for 2000 requests in a 1 hour time period. Not my finest moment.. fml 🤦♂️ -
How long till I can try again? Please, tell me! I'm dying to know!!
And I never got the verification code either.
---___---7 -
I long for the day I get a job with an actual developer team, where I can do things like getting my code reviewed or pair programming or being forced to write better tests.
Working as the only developer (or a team of 2) sucks :(4 -
"Yesterday "
Client: ''Perfect! How did you do this do quickly? "
Me: "I used a library"
"Today "
Me: "I'm still debugging. It will take some time"
Client: "well, It has already taking too long.... I can hear Mozart in the background. Maybe you need to go to a library to get some quite and get it done fast. Visit the one you used yesterday. "
Me: "library?Ahh... I meant plug in like.... Code, a library is a bunch of packed code. "4 -
Sometimes, usually during the evening, I lower the lights in the living room, put some of my greatest Scotch in a glass, and stare at this fine and beautiful piece of code I wrote a long time ago that I am really proud of.7
-
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
-
Today I was refactoring code with 10 levels of indentation. Java 8.
Lambdas.
Each one is a block which spans multiple lines, that makes the outer ones hundreds of lines long.
This should be forbidden: () -> { ... }
If you don't understand why, please never send me any code.
PS: intellij shows multiple errors on each line.
PPS: my colleague should be happy that I do not use swear words.6 -
I just took over a new project from a brand new client today. It's an Android app that he said needed some updates and refactoring, and he said it wasn't well documented but he would add some comments for me before giving me the code. He gave me access to the code today and one class in it is over 1200 lines long with exactly 4 methods in it... the shortest method is still over 200 lines long. There is one comment at the very top:
// Needs refactored.
... gee thanks.2 -
API Documentation: All API request should be made over https connections.
Me: Ok, (sees url bar), SECURE, good!
(sees curl code)
curl -X GET 'http://shittyapi.com/api/v2/users'
Me: (gasps) huh?
(heads to http://shittyapi.com/api/v2)
Me: Ok, (sees address bar) NOT SECURE
.
.
.
.
.
(long silence)5 -
Woke up super late (evening), was planning to work on my personal project, but didn't have a table where I can comfortably code and sketch out my ideas.
Hence, dressed up immediately and went to a furniture shop.
Getting table, chair and a bed (which I was planning for a long time) tomorrow.
Gonna just sit and code whole day tomorrow...2 -
Why do business and systems analyst even project managers try to give estimates for how long development should and will take? I hate how people who don't code and do any real work try totell me how long it would take me.4
-
A big project in my company. Had some annoying race condition that caused data to get deleted when two processes finished in the wrong order they hit the dB and override each other’s work.
Long story short. Fixed the bug and in the process the codebase shrunk by 60%. I didn’t have to delete the rest of the code, but the bug was due to a function in the legacy section of the code, and found out that it was the only function used in that section.
So I deleted it. Rewrote the function so it upserts. And bam. Smaller, cleaner code :)1 -
In VS Code, why may positive feedback be only 257 characters long, where negative feedback can be 270 characters long4
-
!rant
well today is my final day in this scammer company So I wrote a long essay in the code to warn the next programmer , if they found it and know how to decode it .6 -
I just found a 980 line long method in one of our legacy code bases.... And I need to add to it. There are no unit tests and I desperately want to refactor that shit....4
-
I once got an email from a client who provided his own analytics trackingcode for his website.
He sent a screenshot of the couple hundred random characters long code..3 -
My company's process basically boils down to this:
-Hour long meeting to open an issue.
-5 lines of comments.
-Update three documents.
-5 days for a peer review.
-40 bitchy comments about how everything you do and love is terrible.
For a one line code change to prevent a show stopping exception.2 -
!rant
Designed and written > 1.3k lines of code this week and 98% test coverage..
CI and CD set up and working..
Was a Long week and very exhausting but I feel really good now, happy to start the weekend with whiskey and beer.
This is gonna be one of my most productive sprints so far..
Hope you all had a successful week as well.
Happy Friday 🍻
And please don’t start with any „that’s nothing, I’ve written 5k lines ones“ comments.. It‘s professional, stable, optimized code and code I can actually be proud of.4 -
After being an active developer in the industry for about 5 years, I still have some bad dev habits on which I'm working on:
- Starting off with the code first without a proper design in mind/paper. (Trust me, I'll always regret of not having a proper design later)
- Writing long method bodies and not refactoring them later. (Because sometimes I turn out to be a lazy ass)
- Duplicating code in some places without reusing some.1 -
!rant
how long do you guys code per day?
being a student i have now extreme difficulties in time management😐
need some advice...9 -
Not too long ago, I was looking over my friend’s HTML with embedded CSS code. He had two separate style tags. I looked at him and asked: “Why do you have two style tags?”
He responds: “Because I’m a lazy boi”3 -
Yesterday was the first day of an "Advanced" C programming class. I looked at the first homework afterwards and saw this:
NEVER use 'assert'. Real programmers don't use assert in big software projects because it makes your code stop.
Who the... What... How... Why would you...
*sigh* it's going to be a long two months.5 -
When you spend half an hour long at your code wondering why your do while loop only works once.
Then you realise there is a return just before the end of the loop.
Today was not a good day2 -
I had a long dream about code .. I woke up serval times and still continued the same dream and continued coding didn’t and I didn’t finish it when I finally woke up.
I don’t know what the code does, and I never run it in the dream!!
Happy Monday I guess -
Todays rant is about me trying to add some long text into my database. I tried it all day long, but the text was inserted partially all the time. I changed the collumns data type to BLOB, this felt false, but it seemed to work. The bad feeling triggered me to search further, so I rewrote my code and found the source of this behavior. I used utf8-decode-function on my text and that triggered some problems when inserting the text. I don't completely understand it, but I solved the mystery, that fucked up the day. I will sleep good now.
-
I found a bug.... it's in production for a long long time... I wrote it while optimizing some legacy code....
FUCK.... how do you feel when you discover a bug in production created by you?6 -
Not sure if this has been posted here already but if you want to troll someone, replace all the semicolons in their code with the Greek question mark ( ; ) and see how long it takes them to figure out the problem6
-
It's kinda nice to have a long weekend for a change to work on my endless list of unfinished side projects and code what I want to code, and not having to use fucking Windows 11 on a slow-ass work laptop.
-
!rant
Have to do some JS for a web application.
Problem is I'm not a JS expert at all, and there is already existing code.
Gonna be long.
Gimme your energy so I can do it \o/11 -
So I'm at a hospital (everything is fine as long as I'm concerned) and there's this pregnancy sign... But it just hit me (not sure how to start this idea) sex is this amazing interaction between softwares so good and well coded that we already know what can create, not only that but the hardware (with some flaws here and there) makes such great UX! Seriously, the join of code (one of the hardest code I know) to make a better code and the interaction thanks to the hardware is great! Thoughts?10
-
Remember about this project of mine? Maybe not because I deleted the rant, but after a long pause I re-started working on it. In -just- 1 hour I wrote this code that picks a random number, goes from 0 to 5 and, if found, it prints the match.
This is my most (useless && senseless) project by far.4 -
This is very long along. Senior Developer was doing my code and telling the best way to write jQuery and PHP codes.
The funny part is that he doesn't know anything about PHP and whatever jQuery code he told me to correct was very shitty and difficult to maintain.
That's when I knew. This world is fucked up!3 -
Documentation? That's the stuff of dreams for us.
Instead we have ancient code written by people who have long left / forgotten with no idea what the cryptic mess they left behind does. -
Looking blankly at the code review that I'm supposed to do whilst listening to HP & The Deathly Hallows for the last hour. It's a long Friday here fellas!1
-
My biggest distraction seems to be when I notice other problems in the code I'm fixing/modifying. I then spend too long putting things right!
-
Apply a Fortran code patch on a Gould SEL via a Mod 40 TTY terminal, which is essentially an electric typewriter connected to the computer. No graphics display. Once you hit enter on a line, that was it. If you fat-fingered something, you got to start over. We've come a long way, Baby!
-
the best part about development is that all code looks the same to most people - including devs
so long work assignments and hello command-line digdug1 -
Gotta learn myself through vim and tmux because I have no choice. My laptop burst and all I have is a Raspberry Pi with Raspbian core + MATE DE installed. Don't really wanna use heavy stuff with it because it'll become really snappy.
Oh well, as long as I can code.9 -
Nope,
Far too in love with myself to have any sort of insecurities.
Not that there is anything wrong with having them, we are all different. I just believe that insecurities come from giving other people far too much power over ourselves. And I just couldn't care less what people say about me, as long as it IS about me. See?
The more confidence you project the more attention you will get, be it good or bad, it doesn't matter since it is the only way to go up in your workplace. Having a personality besides "ZOmG cOde Is LiFE" really goes a long way also.
So yall cheer the fuck up, its just code.7 -
// O(n²) complexity
for(x;y;z){
for(a;b;c){
}
}
Dev's argument: "We use this everywhere, as long as it gets the job done! Time is money!" How ironic..
So you would rather make your processing speed suffer for the sake of saving time? No, clean code doesn't matter. No, we should not waste time spending even a mere microsecond thinking about writing better code or at least consider it. No, we should just vomit out bad code at top speed. Good idea, guys. Idiots everywhere..6 -
Ffs... installed devRant, checked my long forgotten twatter, looked at my fb and now I can't stop browsing soc media. In 2 hours I managed to write only 10 lines of code 💩8
-
Someone once used to auto-format most of our code in his branch. He merged it 4 days long and deleted multiple changes in the trunk doing that. 3 months later I noticed that a few of my changes were just gone.2
-
When refactoring legacy code and your colleague committed this a week ago... As punishment we made him listen to "You're too fat to fly" all day long.
-
I get really angry when my friend (has only ever taken a web design class in high school that taught only basic html) tries to preach to me that you shouldn't have to worry about writing readable code along with documenting it so long as it works the way you want it to.1
-
Experienced programmer:
Code works in head; code almost works in computer; code never works with client.
Beginner programmer:
Code almost works in head; code never works in computer; code will never work with client.
Long story short: it's hard to begin but when you let the code flow, you became a programmer -
me giving advice to beginners: don't feel bad about your code. as long as it gets the job done, it's good
also me: don't look at my code. it's terrible!10 -
Work rant :
I once had a code review and remembered I forgot to comment my code and said sorry I forgot to comment it out.
The reply I got?
Don't worry, here we say your code should be readable enough and no comments are required.
Im still amazed, like... Even if the code is readable, fuck this I need a tl;Dr comment for the long ass fucking code... What the fuck5 -
You don't need a mechanical keyboard to code for long hours but shit sure does become smooth af with a cherry MX red.2
-
Agile coach Agiling: We shouldn't need code reviews as long as there is pair programming.
Me Internally: bad code + bad code doesn't make good code :( -
I hate the overuse of arrow function everywhere even for super long expression. that `function` should fit to them more comfortably .
writer of code should aware that it take three time more to read expiration with arrow function inside5 -
Ticket waiting for code review for days. I have to rename methods.
Tickets goes again to code review. Waiting there again for days. Oops! there is something the code reviewer didn't see before!
Ticket goes to code review again, waiting for days there.
Boss comes to me telling it takes me too long to close tickets. -
Agencies... Just hate when people are given only time enough for doig crap code, because "there is no budget". Hate even more to work on changes on top of it, because people just dont get why you take so long to do changes that supposed to be simple, ignoring the fact that previously they asked for some slap-dash shit. What do they think, that with time the code cleanup and tidy up itself?
-
Newbie here, how long did it take you to get a good handle in the language you code in (that pays your bills)?8
-
When you code all day long, on your workplace and later at home, "live" meaning switches places. Stops being "code to live" and becomes "live for code". Change my mind.3
-
How would you feel if you can't solve your code? I'm almost a week stuck on a server problem. I applied for frontend dev position, it's okay for me to do this kind of stuff but the fact that I can't solve it for so long it makes me feel down :(5
-
In my previous job, we had in c# a class called static manager. This abomination was thousands of lines long, every member static. Eventually the dev responsible, did split it in to multiple files each thousands of lines using partial class. Worst part? It wasn't even legacy code yet.1
-
This just happened. I have to tell someone how stupid I felt a few minutes ago.
I am working on a script that is supposed to rename some files in sub folders of the current folder.
I used ChatGPT to help me out with the last part of finding all sub folders. Copied the code into VS code. Changed the path from “/path/to/folder/“ to just “/“, ran the code. It took a bit too long time to finish. Then VS Code asked for permissions to my reminders… “Why?” I asked before I realized that I confused “.” With “/“ for current folder…3 -
Just like compiling code that takes so long, but without errors. They sent these awesome stickers even I live in Indonesia, Thank you. @devRantApp3
-
After waiting a very long two days, my app was finally accepted🙏
https://itunes.apple.com/us/app/...7 -
Sometines after a long day of having clients continually find edge cases that break the code makes me want to be like.
"Hey! Having the app work well was never part of the scope for the project, just that it would work ish."
But I know better. -
All day long meeting with business consultant about company future, software architecture, technical debt, refactoring, resources, projects.
Conclusion from top consultant, ex country manager of a weeeell known tech company:
Who cares about "code" anyway? (disgusted smile)3 -
How long do you think code reviews should be? Ours can run from anywhere between 10 minutes to 4 hours4
-
This crazy guy who created SunVox synth released a single C file that contains a long note sequence AND the synth code itself, with echo and shit, no deps other than SDL to output audio, so you basically compile a single C file, and it PLAYS REAL MUSIC
HOOOOOW
https://github.com/pixicoder/PS
https://youtube.com/watch/...22 -
So this is the case I have not coded in a long while and was actually starting to miss it. I was LITRALLY considiring starting to code again, then i went on devrant and read about two rants and you know what? Im good i dont wanna start code again3
-
Feeling like a boss! 😎
Long story short:
Solved a formating issue in a program at work by using ancii code 32.
Even my team lead didn't think of that solution!4 -
It's been so long since I used git I accidentally nuked my commit and only copy of client code during a revert.
How the fuck does anyone mess up that badly? 😅8 -
turned down software engineering job offers after college because I thought it be a good to take a temporary position as a controls engineer so I could pay off student loans faster.
realizing how big of mistake it was. working long hours on uninteresting tasks. I just want to code for a living. -
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. -
Long days back it was time taking to hack wifi password using coding on Linux kali ,by using few lines of codes etc,,
Nowadays Linux's kali's fern wifi cracker is too easy to use instead of using lines of code.
LOVE TO USE LINUX KALI4 -
When you come back from work after filling up jira, talking with colleagues during too long stand ups and writing documentation it's time to finally sit down and write some pure code.
-
So, I like refactoring old shits.
Now I want to exterminate this over thousand lines of code class. I have to be witty about it and do it within couple of PR, or they will find out I'm not doing anything productive but making their code cute again!3 -
The lack of one (no thinking about long term design and issues) leading to poorly designed systems that crumble when it needs to be scaled and has massive bus factor and code duplication.1
-
New hire and haven't did anything other then look at the code base. How long did it take until you actually start contributing code at your first job?9
-
Android Notification in react !
i wanted to publish this a long time ago but i was super busy.
today i did it tho.
the code is still spaghetti !
https://nikandlv.github.io/react-mu...6 -
This is really annoying. My single manual test takes 10 minutes to run. Can't blame the task because its big, can't blame me, code optimization is not necessary and won't speed anything up. So here writing a rant waiting for it to finish1
-
Refactoring a long, nauseating piece of code while the mouse died.
Finished the job, about to push, KDE froze.
Good enough excuse for trying a new distro I guess.4 -
Had one of those unicorn coding moments where my from-scratch code worked the first time I wrote and tested it. That hasn’t happened in a long time.
-
What is easy to code at the moment isnt necessarily the best code in the long run.
- From the dev currently maintaining spaghetties of spaghetti code -
Friend comes over.
Friend: "Should I declare this as long or double?"
*Shows me code, requires user input for that particular part.
Me: That's VARIABLE
*dies laughing1 -
I once worked at a really messy project that is best described as one gigant big bug. The CEO asked me how long it would take to fix it. At that point nobody knew since the code was a mess and new directives came all the time. So I answered that I sincerely didn't know. He responded angered with "How couldn't you know. When I read a book I know exactly how long it takes."... I quit3
-
I was away for a long time. Now I got a new job which means it's time to start ranting. Fuck this legacy code is worse. I mean, a fucking cat running after a mouse could write a better source code if he had somehow pushed buttons while doing its job. Every fucking best practice I know is crushed to bits. And the funny part is, this company/startup recently got $300.000 funding.2
-
5k lines of code and some long days in and it turns out UI and I (backend) had an oopsie in our communication so it was all for nothing. Back to 0😖4
-
I just downloaded a bunch of code editors. Ive been using VSC for a long time, and im looking if I should switch. Which one are you using, and why? 😊22
-
Person: Huge long will it take to develop?
Me: About 6 months, with a team
Person: That long? Can't you just copy <proprietary software>'s code instead?1 -
Tdd isn't very effective if the spec keeps change as you work.
I was trying to be good and write tests as I went, but it just ended up taking twice as long since I had to keep rewriting the code AND the tests.3 -
Get on devRant while compiling / waiting for results. Much time later I'm wondering how long that error message has been on my screen staring at me... and then I need to get my focus back into the code :(1
-
Fuck you MATLAB and your shitty inefficient for loops. Now I have to rewrite most of my code to use matrices instead of structures cause you take so long. Fuck you and your stupid ability to scale my neural network.....who needed sleep anyway6
-
Load tests:
I'm used to do load tests in Visual Studio where it gives which line is exactly your bottleneck. But now I'm using VS Code (visual studio requires enterprise license for load tests :\ no longer have one)
Anyways long story short, what are the best practices for load tests? For me what I'm testing is how much can a given hardware specs handle and when test fails I go back and check if code can be optimized, is this the correct way to do this?7 -
I was watching this fantastic talk on coding through refactoring:
https://m.youtube.com/watch/...
Highly recommended....
And it got me all enthusiastic about coding again and then I realised, at my last work place, the "we value code quality" corporate hellhole you'd be criticised for taking too long by management and for changing too much code by coworkers.
And a month later, you'd come back to the code and some other coworker would have jammed in a bunch of extra if statements and absolutely fucked your nice structure....1 -
This fucking company man. Implementing a simple feature (just a couple settings in the android app) is taking me 4 fucking weeks(feature was done long time ago, but not in the way that. they wanted, even though I followed existing implementations). I have like 60 comments in my code review from which half feels like it's just purely nitpicking. I already have 2.5 years experience and I just want to kill myself or quit the job if every code review here willl be like this.
-
My boss telling me not to worry and be more confident, after pointing out that not updating bad ad hoc code is not a long term solution, just inspired the confidence in me to tell him to go fuck himself if shit brakes during the weekend and evenings.1
-
When your senior says he may as well stops working as I'm always refactoring his code...
Same sentence says I copy what you've done in other places so I don't see why it isn't good enough. By copy he leaves redundant code in there too.
Am I a being a douche is he just being over the top?
- He writes code and expects it to live for a long time.
- I write code and will go home and refactor my own code.2 -
Need help. Explain why assembly code is wrong.
C code:
long f(long n) {return n + 1} ;
Assembly:
f:
movq rdi, rbp
addq $1, rbp
movq rbp, rax
ret6 -
Had wanted to learn web dev from a long time (Im an android dev). Got to know about free code camp and started 3 days ago. Totally addicted to it. Anyone who wants to learn web dev must try it. Simply great work.
-
Me to 2 other Dev's: Guys can i get your help? This line isn't working.
Dev's check the code. Tries there own things.
Doesn't work.
Dev's: Sorry man, we tried.
Project Manager with no knowledge of programming looks at code.
Project Manager: How are you struggling for so long?(Bitches for like 5 minutes)
Me: *gives her Penance stare*
* Starts laughing loud at the thought of her
dying*
I feel better now1 -
When I code in Qt Creator, and a function get to be more than 950 lines of code, autocomplete/autoformatting stops working.
I feel like Qt Creator is judging me...3 -
Hello dear fellow programmers,
Lately I'm faced with an issue: i can't code. It takes me a really long time to get my codeengine running and it stops on the first occasion, it either be a cigarette pause, a question from a coworker or what ever.
I love code and I have a blast when I start but I have a hard time starting it.
What to do? I'm a bit at a loss here1 -
I've just published my first npm module/package .For so long, I was feeling bad that I've never shared any code via npm before. So, today I thought of sharing any old code that myabe some people would find useful . I did (also had to add some lines and remove alot of lines to keep it clean and simple) and for my surprise, in few hours it got 45 downloads! although it's angular (1 not 2)3
-
<Question>
I'm curious: For those of you who have tests running in CI pipelines at work:
How long does it take to run the tests, in relation to the system's size?
At my company, it's ~ 30 mins, testing 1M lines of code (750k SLOC) written in Java (85%) and JS (15%).7 -
Before I started working, I used to feel like I depended on documentation and the internet a little too much owing to ultra crappy long term memory. After spending some time at my internship going through code written by "professional developers" several years senior to me and trying to write unit tests for it (surprise: the code was in production without having underwent any sort of testing), I feel like the amount of time I spend online reading usage recommendations, alternates for optimisation, best practices for writing clean and descriptive code and all that is a lot more rewarding. Some bad things help you feel good about yourself.
-
What would be the best tips for keeping code clean?
I recently noticed how "unclean" my code is, I try to organize it as much as possible but through that I manage to make the code very messy :/
What are your best tips, advise, tricks... lalala?
Note:
This problem mainly applies to long projects and games :P9 -
A dev today tried to tell me that a full copy of a VM in XenServer copies all of the data but magically pulls old code. Long story short, he was wrong.
-
Never opened a long forgotten program you wrote to be astonished how it was well implemented?
Usually looking at old code the reaction is "WTF!did i wrote this crap?" but in some cases you can find hidden gems. -
How has weed affected your ability to code short term and long term? And is there anyone who codes while high? What about CBD?7
-
The little frigging muscle right under my left eyebrow keeps twitching and I wonder did I look at my code for too long today.5
-
When you debug nasty code and first committer has but his/her name on top of file. Searching author's home address after long day.
-
i once explored our codebase and copied every line of commented out code into a text file. that file is over 350 lines long.1
-
So I’ve been programming for a little over a year now. Not too long, but long enough to realize something.
Everyone always talks about imposter syndrome and I don’t understand it. I don’t think I’ve ever felt like an imposter when I code, or that I’m a dumbass and can’t code or something(Well, I have definitely felt like a dumbass when I code but that’s because I am sometimes)
What makes you feel like you have imposters syndrome and how so?6 -
When you code for a long time nonstop, say 2hrs+, do you remember exactly what you did, other then it now works and meets all the requirements?3
-
Making a dev enemy? Quite simple. Asked too many questions for the dev. I wanted to learn and understand his reasons, he thought I was undermining his position. Other time, I forced him to make the source code be consistent with the structure of applications existing code. Dude came, made some commits adding features in places suitable for him, despite the code having clean layer separation, which took me long time to achieve.
-
The best feeling ever is when a super long line of code is written that definitely should not be on one line, that one does not check over the logic for after writing, entered without pressing the backspace key, and it works first try.
-
the famous:" How long it takes you to deploy a new version of your app with a change that involves a single line of code " a coach keeps saying makes me sick2
-
coding all day long and then realising that you haven't commented anything...
after all, deciding not to comment your code because you are lazy and sure that you will know what you did in every single line of code when you were writing it... and then 2-3 month later blaming yourself for not commenting when you have to fix bugs or rewrite the code! damn! -
Once someone asked me to look over a bit of code and sent it over Discord. Needless to say I didn't spend very long looking through it...
-
My most recent workaround occurred last week.
We have a demo very soon and I had to change our iOS app to use a new Web API endpoint for uploading content.
Long story short: The existing code is so awful and rigid and dependant on Core Data that I ended up having to completely bypass the service layer of the app and implement the new endpoint as a raw HTTP request. Its gonna take a long time to refactor the existing service layer. All because the new endpoint has a different content type. -
I'm not there yet, but hopefully, someday, I'll be an expert in making clean, maintainable code. I want others to look at it and say, "ah, I get it" without staring at it for a long time.2
-
I just discovered that Go needs a very long time to compile a 120MB source code file. Beside the fact that the file was very big, it just contained a big amount of byte arrays.
Did anyone had ever such big source code files?5 -
You know that moment when you write a long code, then you undo many times to see something that was before, and when you "ctrl+y".......
Just happened
😒5 -
I tend to write with long variable names instead of using too many comments to explain what i am doing in the code. Is it wrong?1
-
In a long git project what u find commit message
"Minor fixes" or "minor code updated"
At the first commit you will find "initial code"
Agree?? -
Shit... watched too many videos about AI. Now I'm convinced human coding will be obsolete in the near future...
Hello code block, long time no see...1 -
Some Coworker - developing about 20 years with WinForms and very ugly code.
Me - Junior Dev about 4 years now started with WPF and not long ago with MVVM.
Me trying to teach him some MVVM... Just frustrating. Like talking against a Wall..
Getting a headache now. I need a stressball -.-1 -
Have been working all day long on a dataset.. Worked like charm in the end.. Went for dinner, now it's outputs have changed all together and I haven't touch the code, I think Skynet is here.
-
It's frustrating when you tell your teammate after code review that they have to rework their code a bit to capture certain scenarios they've missed and they just scowl at you.
I'm just trying to make it easier for us in the long run! -
After contemplating on it so long, I finally made a blog for code snippets:
https://txstc55.github.io/But-how-d...
Completely written by myself, except, I mean, the vuejs and tailwind css part.
It’s so beautiful
Open to suggestions for code snippets to add!11 -
>= rant
While its really hard to get code wrong in Rust, it is also really hard to get code right in Rust. It took me a considerably long time to write a code which returns the first word in the sentence
I felt the borrow checker introduces a steep learning curve into Rust which is otherwise a beautiful language according to me. C++, my current favorite language, also suffers the same problem with respect to certain language features.3 -
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 -
Hi everyone, long time no see! I have a question for you all.
Where does your company keep its clients’ code on GitHub? Is it everything in the company’s GitHub Org or does each client have a dedicated GitHub Org?
Any issues you guys have encountered with either approach?6 -
Nothing like trying to understand a single 1500-line source file that implements the API usage in the frontend. Without a single comment.
No, wait. There are comments! But it's only commented-out code. Or explicit shit (like "gets the version" before a getAssetVersion function).
Functions with unused parameters? ✅
Weird var names (like "tmpX")? ✅
`console.log(var)` everywhere? ✅
Long-ass lines with 150+ chars? ✅
Duplicate code? ✅✅
Not a single interface was used so everything is var: any? ✅
Random unreadable RegEx? ✅
If-chains of 6+ more levels? ✅
Many `else if` towers instead of a switch? ✅
And did I mention it was written by a fucker who can't speak proper English so shit like visiable, cataloge and isExist is everywhere? Yeah.
Fun day at the office reading spaghetti code 🙃 -
Not before long, I guess we may have to put up with bots during code review...😂
Meet the Bots That Review and Write Snippets of Facebook's Code
https://spectrum.ieee.org/tech-talk... -
Just use a promise that sets this variable, and then you can use the variable as long as its after the promise declaration.
No, just no. Thats not now asynchronous code works.2 -
So this is my first job at a corporate company and my God I need to apply for permission and wait for it for so long just to install common freewares for dev like VS Code. Is this normal? Really I am pissed when requirements pop up and I get stalled for over a week.12
-
Systems/IT person here-am very keen on learning code again. (Got CS degree long time ago). I'm nervous to switch careers but would love to try DevOps! Any advice?1
-
That moment when you feel old. In the before time, In the long long ago,,,, explaining Code pages.....Ibm939 vs ibm943 vs 1208. SOSI’s and so on.1
-
I 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 -
Until the old Dev left this team, I never had to handle any of the website end of things. Now he's gone, I've had to look through his code, and Jesus Christ I didn't know you could be hired to do things without knowing what functions are. It's just long strings of PHP includes.3
-
Making classes and functions without commenting what I expect each class and function to do. Which means that my classes and functions have really long names.
Example Code:
Class ReallySpecificClassToWorkWithThisFramework { ...
public void DoThisActionInTheFramework (obj TheKeyToTheWholeFunction) { ... }
} -
Not a rant/!rant
Got a new job, already learning a lot and nice and helpful colleagues. 😄 Except I find it really hard to get used to their codebase because it's huge! How long does it take for some of you to get used to the new code base of your new job?3 -
I have been writing code in swift for such a long time now any other language feels old and really clunky.
-
Once I wrote a tool to help convert alarm messages from an excel sheet into an xml file with other specific things included.
My colleague (who is very proficient at coding in his chosen system) while I was writing said tool asked why I was commenting code as it was basic!
I asked him to work out what my code was doing (it wasn't mega complex) he spent a long time googling! -
When you look at a piece of code for so long to find the error that the code starts to make no sense and you question your own sanity.1
-
Damnnn my Team lead is hinting that i write a test for the feature I paired with a team member.
But the large django code base is ridden with abstract classes and classes and inheritance etc...its going to be a long night -
Am I that bad at JS or long files of Javascript code (200+ lines) are much worse than their PHP equivalent? :))2
-
Unable to give detailed explanation of how my code works. Like why do I need to explain as long it works 😏4
-
It's so easy to use for-each loops instead of if-else chains, yet when I write a system in for the first time, I always find myself doing the latter.
"It's placeholder code" saves me every time as long as I rewrite it later.6 -
You know you have been on devrant for far too long when your wife notices your vocabulary is changing! Words like fuck, cunt, dumb ass, and phrases like a pile of shit, crafty stacked together you call code ...start coming out of your mouth!
-
Handed off my code to Devs working on main products. Long presentation explaining everything.
Have discussion afterwards about what it does, but not how it looks.
They say thank you, I say you're welcome, and since this is my first bigger project, if they have some pointers or glaring defects in the code I'd welcome the feedback.
They all start laughing. I do too but in my head I'm like "wtf, I ask for feed back and you laugh? That's."
It's been bothering me.2 -
Tried out the node.js code demo in this book.
🤦♂️
Terrible format, use tab for indentation, very very long function, redundant code (eg: new Buffer vulnerability)...
The major issue is none of the total.js nosql code works. Eg:
db.clear()
db.insert({...data})
Without any asynchronous call, how do you expect this to work?!
Just fixed the code and updated npm modules for demos in Chapter 3 btw... Took way longer than expected.3 -
Code Review is one fucking awesome stunt.
- Take a long sommersault flip.
- Land on your face or your ass, it doesn't matter.
TBH, lot of learning insights during the review. -
Saw this in some legacy code today at work:
Long sid = object.getSid();
Long returnValue = (Long) sid.longValue();
Never can be too careful I guess...
/s -
Ugh, have an assignment due and just spend the last 2 hours looking for a bug that caused blocking code in one of socket threads.
Looks like it's going to be a long night -
Test your code. Take extra time to do self-review. It'll improve your code quality and position within your peers.
When you enter that "minor change-trial-error" phase. Go to sleep or take a long break. You're loosing time and adding more work to be reviewed and corrected later -
Getting my Code fix On my Phone! Bought a small laptop not long ago, few weeks, and within a couple of days, it threw a blue screen of death. What a crock pot of stewed sht. Now, thankfully, I am pain-stakingly coding on my Android. The good news is, my Asus should be here any day!2
-
i have been watching some jetpack compose tutorials and trying to create projects with it. Its quite cool and looks very interesting. but wrti8 those modifiers seems like a great wastage of time :/
Also, i have an OCD of writing code in lesser number of lines , as much as possible . so i would rather prefer writing
val x = Modifier.function1().fun2().fun()
than
val x = Modifier
.function1()
.fun2()
.fun()
as long as my code line does not cross the 80 character limit guideline, and as long as it makes sense to not switch to a new line.
but IDE seems adamant on breaking those long modifier lines to weird indented codeblock, so its already getting very noring for me :/2 -
I had to generate different kinds of graphs at compiletime and had to compile a graph and write down the code size for that specific width/height in addition to one of three implementations which all need to be evaluated. I computer scienced the shit out of it!
I wrote some Rust code that easily lets me build some graphs with the dimensions passed as input parameter. Then i wrote a method that converts the graph into the definition of the graph in a C header (sadly the only way) and wrote a bash script that executes that rust code with all possible dimensions and saves the header into my source folder. Then i build the application and write the programsize into a file.
In the next step i run a python script that reads all the generated files with the sizes and created a csv file which in turn can be used by excel/numbers to visualize the dependency between depth of graph and code size 😄
I had only some hours for it all, it is messy but works 😄 -
!rant
So I just read that PHP v7.3 and v7.4 is actually focusing on more user friendly code.
It look long enough, Christ. Hopefully I'll be able to get hang of the syntax at some point now.5 -
Anyone who uses Vim as code editor?
I recently learned Vim and the more I explore it, the more I love it.
Is it really helpful to go through the pain of learning those shortcut keys in the long run?2 -
Afternoon spend arguing about small cosmetic changes in code-review effectivelly delaying the release. Feel so productive and understand why everything takes us so long. But looking forward to next week so time sunked in code-review will be larger than the development time.3
-
Ever spent too long coding around a limitation in a piece of code further down the stack, blissfully unaware that this particular piece of code resides well within your team's scope and that you could have just extended it to fit your needs? Side note: Senior engineers don't appreciate you wasting their time...1
-
Have you already met the code that you have no idea how to refactor?
In five years I met those twice and I'm still puzzled with one of them. (I don't mean just a spaghetti or too long code) -
When my code works without any hich I feel like I can conquer the world.. But when it doesn't work after trying for so long, I feel like What am I doing with my life.
-
what's the best practice to divide long task into functions? suppose I have function of 200+ lines then from the code readability point doing short functions would be better?3
-
Hey Everyone I’m new to coding and I just wanted to ask what I should be do when feeling overwhelmed and burned out from code, I have anxiety and ADHD, I am not able to focus for very long.7
-
There is no something more frustrating than that when you write a long code in java, and you click the debug button and that happens:
Null Pointer Exception -
Clean code and experience.. if you had to maintain a big project over a long time you’ll learn to get your own code cleaner😅
-
Nothing can take the joy out of programming more, than having to redo and implement new features in uncommented legacy code, that takes 2x as long to understand than to actually code.
- Gonna be a long ass week. -
After a long week of meetings for facilitation and making sure everyone else is good, it always ends like this... "Guess I will code that this weekend." 😫😫😫
-
How long is the "longest" EF core context you've seen ?
Without any additional methods.
Just DbSets and OnModelCreating.
Mine is 1338 code lines right now6 -
Is leadership's willingness to accept shoddy code and a shoddy deployment process, as long as you can develop shoddy features early, a common theme among startups?
I really get a "not my problem when I sell this business" vibe from this attitude.5