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 - "time to code is code time"
-
If you had
one language
One framework
To code everything you want
Would you learn it or let it pass
His code is heavy,
arms are weak,
mind is bending.
It's all spaghetti.
He is nervous but looks calm and ready
to go now
but he keeps on forgetting
what he wrote down.
The manager is getting loud
He moves his mouse but the bugs won't got out
They are features now
Time to ship
Over blaow!18 -
Received "emergency update" code from internal enterprise security team. Wasn't given time to do code review; was assured code was reviewed and solid.
Pushed code to over 6k lower-level servers before finding this gem buried deep within:
...
cd /foo; rm -rf *; cd /
...
(This ran as root, and yes, the cwd was / from earlier in the code).
/foo, of course, did not exist on some servers.
Now, it is those servers which do not exist.
FMLundefined security root linux file not found directory structure rm -rf / directory not found fml rm15 -
Just saw an ad:
"I learned to code in 2 months thanks to X School and now I'm working at Google!"
Seems like now is the right time to dump your Google stocks.2 -
Boss throwing up a huge source code that I didn't see before.
Boss: Hey, this is an app from a contractor to do XYZ.
Me: Oh, okay.. so?
Boss: You will continue the code and the maintenance now. How much time do you need to implement X feature?
Me: I need to see the code first, can't say nothing now.
Boss: ok I need estimation now.
Me: *getting nervous* I need to see the fuckening code first. if you want estimation now I would say one year..
Boss: what?
Me: what?18 -
GF: I swear, you're spending more time staring at the screen than actually typing anything.
ME: Because literally 80% of coding is staring at the screen thinking about how to code something. My mind is an endless void of possible approaches to a problem.4 -
Every fkn 3 to 4 days, some random dev shows up in my office really really fkn confused and frustrated about something he doesn't understand - because I have a dark secret.
Sometime, in cold lonely nights, when no one is watching, I write my documentation before the actual code.
Somehow, sometimes documentation without code attached to it makes it to production.
Today someone yelled at me for wasting his time because he wasted 3 hours trying to find the code the documentation belongs to - and demented I stop the practice from now on.
Agh.13 -
PHP 🐘 is so damn easy to learn, run straighforward in all OSs, that anyone can start coding in no time. Therefore, the amount of crap code around, made by unskilled devs, is just *unbelievable*. 💩18
-
Had a PR blocked yesterday. Oh god, have I introduced a memory leak? Have I not added unit tests? Is there a bug? What horrible thing have I unknowingly done?
... added comments to some code.
Yep apparently “our code needs to be readable without comments, please remove them”.
Time to move on, no signs of intelligent life here.39 -
So today this Mother F**ker get HR to back him up to accuse me of not communicating well in the team because I consistently asked him (the code owner) why he kept coding not following the coding guideline.
How is it not communicating? He literally ghosted me and blocked me every time I ask him questions. Which I somewhat don't understand what he is trying to do. HR lady told me that a senior software engineer should have the knowledge to understand everything and all the code.
But the code looks like this :41 -
And when I was busy wasting my time on my girlfriend who is my ex now, my friends were busy coding an AI chat-bot. Now, I use their chat-bot to talk to when lonely.
Moral :
Girlfriends ditch you.... code doesn't. Love code.15 -
On a serious note, most developers really don’t code complex algorithms all the time. The bar for interviews is way too high— to the point that most people get discouraged from pursuing a career in IT.17
-
If you are copy pasting code from somewhere else, spend some time and effort to understand what that piece of code is actually doing, and how much of your requirement does it satisfy.1
-
Advice that I give to interns/grads:
In uni/college, you're taught *how* to code something to achieve a goal, and 99% of the time the code will work and do the job in a lab.
But when building things for a real production environment, you learn the 100 ways how *not* to code, from seeing things break left right and centre - basically everything and anything can break your code, whether it is users, the OS, other people's code, legacy code, lag, concurrency, the alignment of the moon to your server...5 -
Senior architect-type person at work wants me to review some code he's written. Is it on GitHub/Gitlab/Bitbucket etc? Nope. "Here, I've printed it out for you. " 😂
When was the last time you printed code out? Also it's in black and white, times new roman😱💀20 -
Reviewing coworker's code:
Me: I see you're doing a convoluted sort for every element twice to get your two lists in sync... 😐
CoWorker: Yeah. *straight face, no regrets* That's the only way to do this.
Me:... Uh... No? You can just manage one list with a simple struct and then use the the standard sort.
Coworker: Yeah sure I know. But it'll take time. We don't have time.
Me: *aghast* This is embarrassingly bad code!
Coworker: Don't worry, later on I'll use a hashmap for it. But this needs to be pushed now.
Me: *to myself, no you don't need a hashmap*
Okay, you do you but I can't back you on this. It isn't going to take a lot of time to correct it.
Next day.
Coworker: Hey can you review my code again?
Me: You've made the changes already? *in a bored tone, knowing that they wouldn't have changed shit*
Coworker: No this is a different file. Our manager agrees that we can worry about performance later.
Me: Sure. *😀🔨🔨*
Few weeks pass by:
QA: The operation takes absurdly long time to complete even with the smallest data. Ten minutes for X is unacceptable.
Me: Who would've known? ☺️21 -
Adult responsibilities for the morning are complete. Trash is out, dishes are done, coffee is made, time to learn some code ya filthy animals7
-
Just downloaded some big ass codebase and the first line i read is:
"// The source code is not well documented, but every advanced programmer will be able to understand it after some time."
Well... let's find out about your definition of "some time", Dickhead!3 -
It's disheartening to see a senior member of my team shitting on the code of less mature developers. Don't just say "this is unacceptable", elaborate, teach them. How are they going to action anything from that feedback?
Take the time to respond to their questions when they ask for clarification on what you're saying. Don't berate them.
Honestly some developers need to learn a thing or two about code etiquette.
There's no room for good cop / bad cop behaviour.10 -
My Boss: When are you going to finish?
Me: There is a bug, I'm solving it, I need more time.
My Boss: Why have you introduced a bug in your code and now solving it? It were more simple if you didn't created any bug!
Me: WTF!!!8 -
That time when you code up something really cool (to you, that is...) and none of your friends understand.
Me: "Look at this cool thing!"
Them: "Looks like a bunch of numbers."
Me: "But they mean foo, bar, and baz!"
Them: "Whatever."
:(3 -
DevRant is cool, mostly because we are united. We don't agree on OS, language, theme, or tabs. But we are united by code. Next time you want to troll someone, think about why you became a developer. To Code.7
-
Dude, for the hundredth time, stop leaving random chunks of commented out code all over the place in case we "need to find it easily later"...
This is literally the reason we use git.
No, I will not pass it in a code review. The same as last time. And the time before...
Dahhhhh19 -
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 -
The worst feeling is writing so many lines of code knowing you could do it in a more concise way if you just had time to think about it but you don't.1
-
*writes code in 10 minutes*
"Time to debug this"
*debugging?*
*starts to feel hungry*
"How late is it?"
*2 hours have passed*
"Wtf"1 -
Boss: I wrote some tests and there is a bug in your code but I cannot find it. Fix it
Me: Sure. I'm on it.
Narrator: 5 minutes later
Me: Boss, I found the bug. It's in your testcode...
Seriously... WTF?!
(before someone suggests that my code should handle all test cases... He tried to measure the time the program needed to response and fucked it up...) -
My computer science teacher is very sly: while you are working he stands right behind you for some time, so you start writing good code, functions for everything, perfect indentation... But you don't know if he is still behind you, and you're not brave enough to look back, so you write good code for the rest of the lesson.
What a good prof8 -
{Context: English is not my native language}
The first time my code get a review ( by my boss that time)
Boss: Your code is full of butts 🍑
Me: Eh, What?
Boss: *showing his screen* see that? variables names: validateButt, contactButt, seeMoreButt..
Me: *interrupting him* oh, I mean button.
Boss: I know, just being sarcastic, but it'll be better to get another suffix.
Me: 😐11 -
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 -
Senior Engineer -
Hey. I have a code that hits API to get details and multithreading is implemented. Can you just change the URL formed to hit Api?
Me
Yeah sure why not.
Me
After some time I discover that the initial code itself wasn't working 😐
I realise i need to fix code, fix multithreading and then make the URL changes.
Just finished......Realised had to rant....1 -
I have never written a single unit test in my life. Hence my code breaks from time to time. Karma is a bitch 🤣3
-
To paraphrase Jeff Atwood: everything you write sucks. The goal of programming is not to write great code, but to writes code that sucks less each time you write code.
-
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 -
Here's a conversation I had at work:
Me: "this project that I've inherited, aside from the UI problems it has, it also has severe code problems that need to be fixed"
Project Manager: "I don't care about the code. The code is not my concern. Don't waste time on it and just make the app look good."5 -
Yesterday, I decided to rewrite the code of a project I'm doing for a week. I rewrote all the code with a better agility (is it the good word? ) and I ran it. It worked the first time! It worked the first tiiiiime!4
-
If you've spent time learning how to code and you're daydreaming about having a dev job but don't have one because you're too nervous to apply, just do it. The worst thing that can happen is that you'll get the job (and be stuck ranting like us).4
-
One thing I learnt after over two years of working as a programmer is that sometimes making your code DRY is less important than making your code readable, ESPECIALLY if you're working on a shared codebase. All those abstractions and metaprogramming may look good in your eyes, but might cause your teammates their coding time because they need to parse your mini-framework. So code wisely and choose the best approach that works FOR YOUR TEAM.7
-
The worst part about having a job that is not related to programming is that I don't have as much time to code as I would like to :(5
-
My colleague unknowingly uses the word "paralyze" for "parallelize". When is the good time to correctly him? So far he has successfully paralyzed my code.4
-
Being a good developer is knowing how to balance writing perfect code with getting shit done. Working lean means half your stuff in going to die anyway, so fighting for the corpse just wastes everybody's time5
-
Sometimes dirty code is more efficient than clean code.
If features get dropped frequently and requirements change every few days, writing best-practices, tested code is wasted time. Learned that in my first job where I thought the other devs were all bad. Until I realized their bad code pays my salary, and my clean code takes more time to develop.6 -
A coworker that is producing incredibly bad code and refuses to learn new stuff was declared "senior developer" by my boss. And me with over 20y experience? I am just a junior.. and have to clean up his mess all the time. I guess it is time to find new job.5
-
I HATE SVN! >:v v:< >:v v:< :@
I used to use git for my personal code repositories and for my work. In the office I moved on, they use Subversion. I’ve been using it for months, but it’s a pain in the ass :/
We use TortoiseSVN to pull code repositories, and the AnhkSVN for Visual Studio Plugin. It works fine until two or more of us have to work at the same code project at the same time.
Last week we had a very VERY urgent code to release. We had 4 days to finish it (from thursday to sunday, tests included). We had few changes to do, but the problem was that, when one dev commited something, my changes disappeared, and viceversa. The worst part was that my partners and I had to re-work a lot of bugs that we had already fixed! >:v
This is not the first time this happens :/
The worst thing is that we cannot change our repository system because we don’t have time :(
Is there any advice you, SVN users, can give us?9 -
devrant(dot)com/rants/8848492/welp-time-to-ditch-devrant-i-dont-mind-green-dots-posting-the-same-things-over-a
This is over an actual request for development help vis a vis an actual opensource project with decades of code developments allready-in-place. That's what is causing you to melt the fuck down.
Stop taking the estrogen.
>NOOOO, ATTEMPT TO CONNECT WITH DEVELOPERS?
>NOO THIS IS ONLY A TRANS FAGGOT HIDEAWAY, NOT FOR ACTUALY PROGRAMMING!!!
>NOO THEY POSTED THE CODE? NOOOOOOOOO
@hitko5 -
Me: *rewrites chunk of code*
"Time to test this baby. This is gonna fail spectacularly"
Code: *works*
Me: "Fuck!"5 -
Client:
This has to be done with in 160 hours.
Me:
Seems doable
After maybe 100 hours of developing:
Client:
This is great and all but we decided to change the specs little (a lot) surely you can code this whole thing again in the rest of the time.10 -
* Calls themselves "Software Engineer"
* Doesn't know what a thread is.
I swear these coding boot camps are churning out code monkeys whose real skill is building shitty React apps.
I believe a CS degree is necessary if you want to work on something more than CRUD applications.
Nothing against devs without degrees, but at least make an effort because my head will explode next time I have to explain to someone what a thread is and why it's a very bad idea to run blocking code on the main thread.26 -
Me seriously debugging someone's code.Analysing the code for 15 minutes.I reach end of file and I encounter a comment saying that this file is not being used and he doesn't have time to remove it!2
-
Incase you wonder where I am gone to: Well. Looks like I'm a part time irganist now xD
Yes, this is me,
Yes, this is very fun,
Yes, I deliberately go to church X)
(I still code a lot)13 -
I had a coworker that was a real asshole. I noticed that often, during git merges, he removed part of the code I wrote.
So I had to spend a lot of time copying and pasting my code from git history in order to restore it.
I complained about that but he answered it happened by mistake. In reality that happened so often that he had to done it deliberately.
Btw, I did a little revenge. One day I discovered he didn't feel very comfortable using recursion. Thereafter, every time I needed a small loop I created a recursive function doing the same thing.
Fortunately, after some months I found a better job. I hope he is still debugging that code.4 -
FML, I hate projects where managers (and other developers, too!) irrationally think that the only thing to do in the codebase is delivering new features and fulfilling change requests.
After 5 years of such approach, the code is bloated, and has hack-on-hack done against the original architecture, and management complains on the time to delivery a change, however asking them to get some time to "refactor" meets a deny every single fucking time because "we don't have budget".
Decided to leave the team. Any reason to stay there longer?7 -
While I was in university, I used to be a good programmer (which I still am :D ), my friends used to copy my code for the assignments. One day, the teacher (one of my my mentors) called me in his office and said, "this is your code".
I'm like, in my mind, "How did he know this?"
The teacher said, "If you let others copy your code one more time, I will fail you".
I nodded my head in affirmation.
Later I understood that I've been a "Clean code" principle follower even before I knew this term. So, it was pretty easy to differentiate my codes from my friends. The teacher is really a genius ^_^5 -
Devs : Lets pick library X, it is well know piece of open source technology, actively maintained by community for over 10 years.
Architect : NAH, it is an overkill to use it in our project , lets build our own solution.
*2 Months later*
The code base is hundreds of thousands lines of code, we basically started to look at library X on GitHub to copy features or get inspiration from that code. In that time we delivered 0 business value, it is horrible to use it and we constantly adding something or bugfixing because no one thought about something in first place.1 -
The freaking furniture people didn't complete things on time and our business development department is still not finished. The freaking reception desk is not there yet.
Here I am going to my new office on Saturday morning. Not to code but to monitor those guys to get things done by today.2 -
My development process seems to go:
1. Write code
2. Believe that said code is amazing
3. Write more code
4. Revisit earlier code and start to doubt it's amazing-ness
5. Get frustrated that it could be done better
6. Redo 1 and repeat cycle
Seems a massive waste of time but I tend to like taking a different approach as soon as I find I'm getting stuck with the previous one.
I then get encouraged to take the quick/easy approach which seems like a backwards step and not worthwhile because I know it won't be as fast/efficient.2 -
To incentivise myself to get fit, I decided to do push-ups/sit-ups whilst my code compiles
All that happened though is I now spend a lot more time making sure my code compiles quickly 😅5 -
When was last time you had Fight or Argument(restricted only to texting) with your GF/BF/Spouse while coding?
The amount of text typed on phone is more than the code on screen.8 -
-= Me in the zone hacking out code during meeting with customer for an emergency change =-
-ready to deploy just need to....-
Me to myself:
"Oh ... oh shit ... I forgot who the customer is / who this is for / what time it is ... how do I ask these people on the call who the fuck they even are....?"
(`_´)ゞ3 -
So I'm a perfectionist, especially when with code, smells, solid, design patterns, naming conventions, etc and I be have this co-worker that blackmails me every time he doesn't want to do something saying "I don't know it so my code is gonna be ugly".6
-
I’ve just received my Potato Pirate game ! Time to teach my matey how to code ! And the nice Kickstarter gift is perfect for my screen at work ;)6
-
Wrote some code that solved a program in a semi unique way for the codebase. As in not oft used functionality of language.
Some time later... This might be hard to understand. Maybe I should do a different way.
Some time later... No, I will leave a comment to describe what is going on.
Some time later... That comment is kind of cryptic. Maybe should rethink.
Some time later... No, if the next dev doesn't know how this works then they should learn how it works. (reasoning here is that the functionality requires a knowledge of internals of language)
Some time later... Also, if nobody else gets this then they have to ask me how it works. Job security?
Some time later... STOP THINKING ABOUT THIS CODE AND MOVE ON!6 -
The weekend is here!!!
Time to go out and have fun!!!
Nah just joking. Time to write some quality code after cleaning our company's backend (pun definitely intended) all week! -
Tired of reading spaghetti code written by your team mates?
Sit right next to them and ask them to write unit tests for that code.
Smash their head on the keyboard everytime they have to think longer than 10 seconds on how to test a specific logic.
Strangle them with any wire you find nearby till they agree to break up that spaghetti code unless they already started within that 10 second time frame.
When the exercise ends, tell them this is what refactoring is and ask them to pass on the knowledge.5 -
My time in devRant is the time it takes for code to build and deploy. devRant is why I don't improve code performance 😎
-
Everyone is on their vacation and I am in good mood so time to refactor some 3 year old frontend, angular, javascript code. After 5 minutes of looking, some great quality of code snippet on the image below.10
-
You've got to be a masochist to be a javascript/typescript developer.
Each time I come back to the npm-related parts of my project, the application won't start because of some dependencies nonsense. And I know for sure I left the project working perfectly last time.
Every time... every fucking time! Just leave the project unattended for a week and be sure you'll find it dead next time.
I mean I as a developer don't really have to do ANYTHING for my code to break.
How can people love javascript is a mystery to me.15 -
Forgot my laptop charger in the hotel, flight leaves in 10 minutes, and my computer is at 2% battery life.
I just need to build this code and push! Will the code be pushed in time? Stay tuned to find out!!
... nah jk it just died. 😧 -
Don't scroll here.
Go and live a real life,
Don't make a computer screen as your world,
there is a beautiful world outside of your cave,
Talk with people's face to face,
go
go
go.
Ok enough philosophy, Time to add new shit in current shitty code.
(-_-)5 -
Ok so my pc is running again.
Time to put some Marilyn Manson on while I code.
Oh wait, what's that? Can't play music? For the 5th time today, fuck you Microsoft.3 -
I have a lab at uni where my lab group have to refactor some code from an open source project. We got assigned some Apache project and jfc that code is a mess. Little to no documentation, hard to navigate, tests that you have no idea what it's testing, and so on. On top of that the teacher expects us to spend more time than we have on it. I'll be glad when this course is over :))5
-
1 am, wide awake,
I want to go code but cannot take,
for time is not my friend,
If I go now, it will not end.
Rest is needed, sleep must be,
or tomorrow I will pay the fee,
concentration will be sparse,
and boss will surely kick my arse.2 -
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
-
Gj Mastercard! My card just got blocked because every time I want pay and 3D secure code is needed, every first SMS that day is delayed by 5 minutes so session expires and I have to try again...now it happened quite a few times and card got blocked. Fucking shit...2
-
I am an intern getting paid $25/hour for fullstack web development. Their brand new full time frontend web developer, getting paid at least $75,000/yr, just wrote these lines of code:
if(this.ackBy !== null && this.ackTime !== null)
this.acknowledged = true;
else
this.acknowledged = false;
This. Is. Far. From. His. Worst. Code. This isn't even surprising to me. How does this incompetence find work in this field16 -
I’ve started at a new place - the team use Trello to share code 😳They are happy to zip a folder, upload and download each time a project is updated.
I’ve tried to sell the benefits of Git however some have such conviction that it would be worse. FML.9 -
I did mostly Java and JavaScript coding before I came to my current job. When I started I pretty much had to learn PHP on the fly. Pretty much no problems, but my greatest shame from the few years I've been writing code is when I spent over an hour debugging an unknown error, after which time a fellow dev looked at my code and informed me that PHP uses . instead of + to concatenate strings...6
-
It feels like no matter what i fucking try at this point, the universe is doing everything in its power to stop me from succeeding.............. I got so fucking depressed that i am literally writing code and crying in the same time.........4
-
Docker I don't have time for your bullshit tonight!
You're supposed to be this safe space where my code runs and neither the code or the god damn container changed.
Don't give me some bullshit about the container either, it's pretty clear docker itself is fucked ...2 -
Think twice code Once, if I had a cent for every time I've jump right into the code without a proper analysis or design just to notice that my whole implementation is not functional or scalable I'd be a millionare1
-
So I just recently joined stackoverflow. Spent some time time and decided I should log out considering I logged in at work. Could not find the fucking logout/sign out button. Even after googling. Had to go to the source code and find the logout link which is hidden in the page.
Looks like it's the new vim.4 -
So before the Age of JavaScript, when programming was trying to be an engineering discipline, I felt like we were getting close to figuring out what worked and what didn't. We had rules of thumb (more general than Patterns) and code smells.
Then JavaScript came in and no one had time to think about "engineering" anymore. I'm fine with MVP and small iterations, but the disdain I see for making code clean and extendable and improvable is baffling (and annoying). First-time coders might never have had to fix someone else's code, but two weeks in a chair should have fixed that.
It's not that understanding code is so hard (although it can be); understanding the _intent_ is hard. This MVP is great, but when no one had time to document what is actually supposed to happen, programmers have to reverse-engineer the *design*.4 -
The feeling when you realize some people on the project are writing legacy code from scratch. Apparently it seems they've never heard of any coding standards, they think clean code and style guidelines are for the weak and single responsibility means one single method is responsible for a bunch of unbelievably diverse things. They are like the Gumbys of the dev realm but it's my brain that hurts every time I have to deal with their code.4
-
Parts of the code I am working on date back to the early nineties, written in ancient C++ with lots of special cases for ancient compilers by people with 0-2 years of coding experience.
My favourite coding moment is every time when after refactoring a part of the code, it has about 1000 lines less (no exaggeration), is more reliable, AND can do a lot more than before.6 -
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
-
How I feel when im asked to add functionality to a project that was built like 10+ years ago and needs refactored in its entirety but the code base is so terrible that youre honestly better off just starting it from scratch but you are thrown into 5 other million things and there is no time to do it so you just shit out the bare minimum code that will not break the rest of the application.4
-
Is it normal for seniors to talk to juniors with disrespect if they made something wrong in code?
this is my first time job ever and I feel like this behavior is so weird honestly.13 -
OMFG!! My computer rebooted.. after VS is again performing voodoo stuff on my code..can you please fucking stop reformatting everything!? OMG it's driving me crazy, I've already disabled every format option I could find.. you piss me off one more time, I'm switching to np++!!!!6
-
For the last time, SLOC is not a measure of anything.
Have too many, the code probably isn't DRY.
Have too few, you probably don't follow a style guide and have 120 char lines because you invented "oneliners" which you were so proud of that you had to put it in there.
Have just the right amount, and the code likely suffers from both of these at the same time.8 -
The scary thing about burnout is that you usually don't realize you are burning out before it's too late.
Personally, at least, I've worked on projects that just felt a little intense at the time, but after taking a step back due to holidays or hitting some milestone I realize I never want to have anything to do with it ever again. One project makes my stomach drop even today every time I see the code; Not because the code is bad, but how it takes me back to how miserable I was without admitting it to myself.
The biggest red flag I look for is when I'm tempted to work on stuff in my free time. When this starts seeming like a solution there's a serious problem with the project that needs to be addressed.2 -
Imagine updating a legacy web app and the code is so bad it physically makes you sick every time you look at it. Tables with over 400 columns, . And don't even get me started on the security issues. Apparently writing "Confidential" on the top of the page is enough security. And that's just the tip of the iceberg. People should get licenced before being allowed to code.2
-
In case you need to kill some time and would like to see some funny stuff, here you go: https://stackoverflow.com/questions...
thank me later4 -
Can anyone tell me why is it good to use some crap language that transpiles to javascript? Yes i hate js too but 90% of my time using reason/ts/elm is just
>ddg how to do x in y
>no answer
>Js.unsafe.eval "js code"
Like???? None of them is a 100% complete wrapper???6 -
Is it worth to learn vim? I mostly write code in JS and currently using VSCode so I wonder if it is worth spending the time to learn how to properly use vim17
-
If I had to audit my current code I'd definitly stick a cactus up my arse shouting in the mirror:
ALL YOUR CODE IS GOOD FOR IS ULTIMATE DELETION. YOU FILTHY MAGGOT! LEARN TO CODE... *rage quit*
Really, coding shit because of spare time simply makes me ripping my face of 💀 -
I have a lead developer who is obsessed with over-engineering everything to the point where we are adding features that he thinks the clients will ask for, but 50% of the time they don’t want it and we just end up maintaining useless code. To top it off, he doesn’t touch the code anymore and is a glorified business analyst, plus he’s slated to retire soon but keeps pushing the date back a year at a time. Just move on with it! I want to be spending my time on cleaning up technical debt, not making more.
-
Migrating to another sub domain for the 4th time.
First they say 'oh this sub domain is just for demo and you can freely test your code on it .
Few days later they say the same thing to another team and then :
- 'dude ! Is the website down because of your code ?'
- 'The code is not complete yet ! I've been adding some features! '
-'Is it possible that you migrate to another demo sub domain? Content production team wants to upload more content on that sub domain '
-'Sure ! Why not :('2 -
we had a front-end dev that needs to "re-architecure" his codes when we need to add a small change or a feature.
and im like: wtf is wrong with your code and you need to re-architect it every damn time?!
PS: that dev is no longer with us now. thank god.1 -
So I got this new job as Java developer, the people are really great but is the kind of companies that only takes care for fast results and not for code quality.
Because this I have to deal with libraries updated 4 years ago, classes with 8000 lines, methods with 500 lines, a WHOLE lot of work arounds because there is no time to really fix the issue unless it affects directly the customer (something not working or being really slow) aaand we use fucking svn.
Some of this practice's they know and encourage it (+1000 lines classes for example) and every time I try to talk about good practices in the code everyone seems so interested but there is always no time.
Sooo I will stay here for at least two years, I hope I can make a change for good in their code smells.3 -
I'm going to be that guy .... A lot of these rants are about code compiling first time .. Throwing away code you wrote because you didn't need it... Getting in the zone and writing a billion lines before you compile .... Am I the only freaking person here that does TDD ? My rant is wake up people ! People evangelize about it because it fucking works !6
-
I was wondering why every time my my code is accessing the !valid() part to later realize I was coming back to it = its state is reset = I need a break T_T
P.S. if you find anything in my code make sure to let me know :)9 -
I really feel like coding right now, but I don't have time. Problem is: when I do have time and I have to code I probably don't want to anymore.
-
EsLint => 3n errors in you code.
Program failed to run
Removed ESLint
And application ran forever
EsLint is like that mother that warns her daughter time to time. Dont sit like this. Dont play with your hair. Dont whistle11 -
Something isn't working, I play around with the code, and try all possible things in the code. Still it doesn't work. Spend a couple of hours reading each and every line but still in vain. Finally, I find out that I was editing the wrong file (same file at another location) the whole time!! This happened a couple of times when I was a newbie, one of my most annoying mistakes.
Lesson learnt: Now when anybody asks me to debug his code, I first edit/add a print statement to make sure this is the correct file. I thought I was being skeptical, but it has saved me a lot of time (mostly interns do this rookie mistake).2 -
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 -
Found this beautiful piece of code, that I wrote apparently a year ago .... oh my 😂 🤦♂ 😅
If I could travel back in time, I would would slap myself for doing this. Although I remember, why I did this, because of many min()/max() operations that I needed. I wanted to keep the code, so that I would know, which code piece belonged to which part, but man ... is that badly written! Nowadays with Clean Code style, I would certainly do it differently.7 -
Modern cross platform mobile app development is a lie. Maybe if you do Apple first, I don't know. Maybe xamarin is better than Cordova, idk. I've spent more time tweaking to one platform than I would have just starting with a platform and writing two or three code bases. I've got more if iOS statements than I know what to do with and the Windows code is some hacky transpiled mess because UWP isn't ES6 ready for reasons. Also, some error and image handling just doesn't translate. All this and I've got significantly less features than I could have implemented in the same time writing in a native language.3
-
Serious question: If a highly intelligent being, better than humans, is about to code something, how would they probably do it?
Will they use the same concepts like control flow, iterations, types, operators, object inheritance, etc?
If they are quantum capable, how can they code with booleans when it can be both true and false at the same time? Will they code truthy and falsy with another dimension like time-space temporality?
Do their code simultaneously modify the hardware or bio-hardware as it iterates over the outcome of the code?
Does input and output even relevant to them?
How do they represent infinites?
Do they have similar github workflows or they telepathically update the source code?
Do they embed their program in their DNA? Then pass to offspring the codes they already created?
Do they code using a language or do they use some frequencies and material science that simultaneously show real world output?
And do they have their version of devRant?16 -
So I'm approaching a 8 year anniversary working in IT and this feels like the first time needing to do a serious rant.
Today I've come across some code (infact just a single line) written by another company that is so fucking fundamentally stupid that they should be banned from writing any code ever. Like holy fuck.
This is textbook examples of shit never to do ever in any fucking environment or intranet/extranet etc. What the fuck. The fucking muppetry involved in this. This is what they teach novice programmers - you see this code written 20 years ago? Never fucking do this. You see this company that went bust 10 years ago? It was because of shit like this. Never ever write code like this or your 90kg ass will be thrown 300m by the greatest medieval fucking siege engine ever created after we throw you through the catastrophic gaping hole in time and space that your line of code just created.
Fucking fuckity bye.3 -
when you get to Friday and realized you've had almost no time to code this entire week. There is always next week.1
-
Is it just me or do any of you people also hate asking for help with understanding other devs code?
At the same time I also hate explaining my code to other devs, like I have to justify I'm not an imbecile.6 -
Posted a question on Stack Overflow today for the first time in as long time... Have lost faith, what shit some suggestions people have.
- Clear the cache, check again...🤨
- Your code is wrong, I tested it my way, you need to change.😒
Read the fucking post properly and gauge some level of expertise... I clearly wrote that it WAS working, the bull shit your detailing is completely irrelevant.
Fucking idiots...4 -
What is worse than React native? A crash in flutter ....
They need to work on their stack trace all it's errors lead to framework assertion failed, but which fucker in my code caused it....
No one knows, time to play cat and mouse with this thing 😒3 -
At work this 4X Founder ex-FAANG fractional CTO TEDx {insert_puffery} was brought in to say "It's not about code, it's about solving problems." What he's really saying is it's time for me to rip a fart in the middle of his webinar footage.5
-
Just had to debug a piece of code for the 5th time today and I'm starting to lose my mind. Why do programmers insist on using single-letter variable names?! Is it really that hard to come up with something more descriptive? I mean, I get it, "x" is easy to type, but so is "counter" or "iterations". Does anyone else feel like they're just constantly fighting a losing battle against the entropy of poorly written code?22
-
You all know that these AI dev tools are reading your code right?
It is sending it back to a data center and doing evaluations on the code. This is like handing your code to an unknown entity with no guarantees for privacy or copyright protection.
This concept bothers me and I would have to consult with my employer to even determine if we wanted to take that risk. I think it is just a matter of time before a bad actor takes advantage of this and rips off a company somewhere.8 -
WRITING CODE ON PAPER...smh
I know many people wrote about this already, but writing code on paper is one of the worst things of a CS class. I’d rather get a computer with no internet access and use a notes app to write code instead of having to write everything by hand. It takes so much more time that you could spend thinking about the problem. Not only that but also my hand gets tired of writing...ughhhh
I need to convince my teacher and the school to switch to writing code on computers! I will not loose this battle ahah8 -
I remembered one time my freakin prof in programming taugh us how to understand computer language, that time my worst enemy is ASSEMBLY, for some reasons my teacher doesn't know how to code in assembly like wtf?
On our last grading period he asked us to create a program using mov and shift and the deadline is set tomorrow after he announced it.
I remember my code in that freaking subject
MOV COURSE
SHIFT SCHOOL
HAHAHAHA after that I was scolded big time 😂 -
What is your first memory of programming?
I remember quite vividly writing C# in a notebook at church to pass the time. I did actually use some of that code if I am remembering correctly.14 -
So today I published my very first VS Code extension! 😁 I don't think anyone but me will think it's useful but it saves me a few seconds every time I change something in my code and I want to test it. Just hit a button in VS Code an and ta da! The project is compiled and running!
VS Code Marketplace: https://marketplace.visualstudio.com/...
GitHub: https://github.com/olback/...3 -
Being 26 learning to code with intention to do it for a living is hard, I wish I never gave up the first time I attempted to learn a programming language when I was 16 I'd probably be making a shit ton of money...12
-
The time you take to code something is the time people take to quit vim. P.S. the meme below is not mine.2
-
!rant
Building on https://devrant.com/rants/1654019/...
It's coming along nicely, I've been working on different themes and I'm still making the tree more natural.
Next is to make the number of branches each time more random, and then I'll maybe add leaves. I might even add a day/night cycle, but we'll see once the code is further along and the automatic background updater is made.4 -
probably every time I see my tests failing.
Each time I am writing tests I'm convincing myself "it's an investment", "spend 2 hours now to save 2 days later", "unit-tests are good".
And each time I'm chasing away ideas like "perhaps they are right, perhaps writing unit tests is a waste of time..", "this code is simple, it should ever break - why test it??", "In the 2 hours I'll spend writing those UT I could build another feature"
Yes, it is terribly annoying to write tests, especially after writing the production code (code-first approach). Why test code that you know works, right?
But after a few weeks, months or years, when the time comes to change your feature: enhance it, refactor it, build an integration with/from it, etc, I feel like a child who found a forgotten favourite candy in his pocket when I see my tests failing.
It means I did a very good job writing them
It means it was not a waste of time
it means these tests will now save me hours or days of trial-and-error change→compile→deploy→test cycles.
So yeah, whenever I see my tests fail, I feel warm and fussy inside :)2 -
If you're stuck with something and just cannot figure out where the issue is in your code, there is nothing that helps you more than talking the problem out with someone.
Most of the time you'll end up figuring out the solution yourself while describing the problem to him/her. =)2 -
> do you feel sorry for freelancing contractors
> whose previous client abandoned them
> they ask you to help them fix some trivial bugs in the shitty code
> you believe you can change the world by going overboard by also improving the code quality, along with fixing the bugs
> initialize an empty file where you'll translate the shitty code into a more organized one
> start creating variables and generic functions which can be used in a modular and organized fashion
> meticulously document the first function you write
> realize this is not worth your time
> insert some glue code into the original code which fixes the trivial bugs
> glue code has hard coded values so it adds to the shittiness of the code
> submit the work
> get $$$ -
I get listening to music while you code, but I’m afraid I just can’t believe in watching a TV show while you code. You’re not coding, you’re watching a show. Or if you are coding, the level of code that’s being written is probably low enough to make it a waste of time.4
-
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 -
THE TYPESCRIPT DEFINITIONS SAGA CONTINUES
> IHateForALiving: so, I don't really know which field we're supposed to use here, but that's your entity I'm working on, so...
> TeamLeader2: wait, what is this? Why does your code have autocomplete?
> IHateForALiving: Every time I worked on some parts of the code I've been writing some type definitions along the way, and it's adding autocomplete if you type hint your code... but I've been told not to write them anymore, so I stopped
> TeamLeader2: But why tho? It's so fucking handy
> IHateForALiving:3 -
Hmm. Seniors have the half working experience as I do and I am the only not senior one in Dev team.
I adapt code only to "taste" good for code reviewers, but they allow themselves to commit without caring and just saying :"oh unit testing is boring"
Enough with the kindergarten. Time to prepare myself for the next job.1 -
Hardest thing for me as Team leader is to teach people in my team, that task is done, when unit tests are written, pull request is created, approved and merged.
Not when their code compiles for a first time.1 -
Every morning I start visual studio code from cmd... So I wanted to make a script to open that specific folder and start it in code...
The time I spent trying to make this thing is longer than the time it would take me to start code every morning.
Guess I'm no hackerman :/9 -
confession time:
I am php laravel developer with little knowledge about nodejs.
I got selected by one startup as nodejs developer.
frankly I am not better nodejs developer than my competition who were rejected.
I completed oral interview with my nodejs theory knowledge at a time of technical round , they gave us task to create crud with fantastic front end and nodejs mongo as a back end.
I developed front end in bootstrap but at a time of backend, I just copy paste code from github.
and changed everything variable and other proof to hide reality. in mean time other candidates were actually coding everything then I took time to understand this code and I submitted after few candidates.
in last round they ask me to explain code which I explained properly and I get salary 40k/month INR.
I know it is cheating but I wanted this job badly.6 -
I just hate wordpress. Whenever I have to touch it, makes me nervous.
This time I just have to put some html/css. I was thinking it's piece of cake.
Couldn't be more wrong. This fucker is adding extra tags to my code fucking up what made...1 -
I think one of the most amazing things about being a developer is seeing the abstractions that have come about over time. From having to program in machine code and assembly, to now with languages like Java, where a lot of the boilerplate code is effectively abstracted out by frameworks.7
-
Your "feature" just became my problem. Your "great idea" is now my migraine. What you did in 300 lines, another team was already doing in 5.
The next time you `brew install...` on your laptop, you should fucking think that the infra team has to install those dependencies, on every server, too.
In less time than it took you to create your code, I could have given you several functions to call. I could have saved all of us weeks of work. Fucking ask cross-team before you cowboy code your next big idea please.
Got a problem you need to be solved, somebody else probably solved it, just fucking ask.6 -
Why printer services is stuck in time?
The windows printer spooler is old like my grandma. He fuck all the time but nobody wants to recode it ? I need to search for old driver a day long to make it fucking work at 10%
On linux generic printer driver do the job but cannot do all the things you want
Why is so fucking complicated all the time ? ( Don't think that scanner work you don't have de correct driver )
Solutions printer share the code for how de fuck i work ?2 -
Re-reading old code I wrote some time ago and trying to improve it. It sounds and it definitely is scary to do at first, but it truly helps me approach things from a different perspective and question what I did.
-
You will get far more rejections than acceptance. A lot of the time it has more to do with the interviewer and not the candidate (assuming the candidate is a genuine hard worker). The job search process is similar in this regard to finding a mate or compiling your code.
Keep moving forward! -
Guess you guys don't care about goals like "losing weight" and that stuff. So my code-related goal is MASTER VUE.JS ONCE AND FOR ALL. Seriously, I need to start using it in production or I will keep wasting my time.2
-
Asked to do overtime so I do. Everyone has gone home and now it's time for me to go home, so I go to leave the office to find the gate padlocked. I'm stuck. There is a side gate for cars that has a security code but I have no idea what that code is. So I end up waiting around and stalk the cleaners car out of the gate 'sigh'.5
-
I havent touched swing in months, and now when i need to come back to it everything is Windowbuilder. Trouble is, nothing is included in Eclipse and I don't have time to go around hunting for the packages I need. Netbeans is marginally better, but GODDAMN its frustrating when it auto-gens code that you have to use N++ to edit...2
-
The ratio of time spent reading versus writing is well over 10 to 1. We are constantly reading old code as part of the effort to write new code
- Robert C. Martin3 -
IBM: "oh, you can't actually USE our watsonx garbage, you need to book a call first! yes thats right, waste your time before installing what is nothing more than a chatgpt plugin for VS code!"
yawn
simply iq destroying knowing companies operate like this
🤡2 -
Title: The problem with "good enough" code
Body:
I'm a software developer, and I've seen my fair share of "good enough" code. You know the kind of code I'm talking about: it works, but it's not pretty, and it's not very maintainable.
The problem with "good enough" code is that it's a slippery slope. Once you start writing "good enough" code, it's easy to fall into the trap of always taking the easy way out.
Before you know it, your code is a mess of hacks and workarounds. It's hard to understand, it's hard to maintain, and it's a nightmare to debug.
I've seen projects go down in flames because of "good enough" code. The code was so bad that it was impossible to fix, and the project had to be scrapped.
I'm not saying that you should never write "good enough" code. Sometimes, you just need to get something working, and you don't have the time or resources to do it perfectly.
But if you're going to write "good enough" code, you need to be aware of the risks. And you need to make sure that you're only writing "good enough" code for a short period of time.
Once you have a working prototype, you need to start refactoring your code and making it better. You need to make it more readable, more maintainable, and more testable.
If you don't, you'll eventually regret it. Your code will become a liability, and it will hold you back.
So next time you're tempted to write "good enough" code, think twice. It might save you some time in the short term, but it will cost you in the long run.7 -
At what moment do you realize you need to stop coding? Mine is when the code starts bleeding together. Like when I start putting config file information into my methods, which I ended up doing tonight. 😖 God it's time for pizza. 🍕2
-
So I work full time at a retail store, but only one person is on shift at a time here so I'm allowed to bring my laptop and code while I'm running the store. This is where I get most of my schoolwork done and make most of my project deadlines for web dev job.
My only social life really consists of me hanging out with my boyfriend. Often when I need to be working on some code or project he will sit next to me and play guitar/sing or will quietly read while I'm on my laptop.
Other than that I chat with some game friends through Discord throughout the day, and often visit/help family members in spare time off of work.
Not much of a social life when you're super busy -
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 -
I always try to break my code when it works without errors the first time.
Just to be sure that the code I wrote is being used.
Anyone else? -
Security : Each time I login, they ask me to type the email address I want my one-time-code emailed to. Really!? What security is provided by letting the user decide where to email the flippin token to?!?!2
-
My Gripe With Implicit Returns
In my experience I've found that wherever possible code should be WYSIWYG in terms of the effects per statement. Intent and the effects thereof should always be explicit per statement, not implicit, otherwise effects not intended will eventually slip in, and be missed.
It's hard to catch, and fix the effects of a statement intent where the statement in question is *implicit* because the effect is a *byproduct* of another statement.
Worse still, this sort of design encourages 'pyramid coding recursion hell', where some users will first decompose their program into respective scopes, and then return and compose them..atomically as possible, meaning execution flow becomes distorted, run time state becomes dependent not on obvious plain-at-sight code, but on the run time state itself. This I've found is a symptom of people who have spent too much time with LISP or other eye-stabbingly fucky abominations. Finally implicit returns encourage a form of thinking where programmers attempt to write code that 'just works' without thinking about how it *looks* or reads. The problem with opaque-programming is that while it may or may not be effortless, much more time is spent in reading, debugging, understanding, and maintaining code than is spent writing it--which is obviously problematic if we have a bunch of invisible returns everywhere, which requires new developers reading it to stop each and every time to decide whether to mentally 'insert' a return statement.
This really isn't a rant, as much as an old bitter gripe from the guy that got stuck with the job of debugging. And admittedly I've admired lisp from afar, but I didn't want to catch the "everything is functional, DOWN WITH THE STATE" fever, I'm no radical.
Just god damn, think of the future programmer who may have to read your code eventually.2 -
How greedy can you get?
> boss takes half assed gdpr project : branch xyz
> branch xyz requires deprecated version of npm/node
> I re-install node this time with deprecated version
> Wow this node is configured with ant build
> ECMA 5, config but code is shit as fuck
> still I get the job done , cannot test it because code is shit as fuck and I will never any thing to fix that un healthy code
> code doesn't run on client side,
> no shit Sherlock
> get a call from boss, it urget look in it and fix it -
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?
-
I am pretty sure that I am not the only one who is lazy as Fuck most of the time but when I sit to code I write enough snippets that can be combined to form Baxter building.3
-
Surveying Web developers who have used a Framework (like Angular, React, Vue, etc.) for my Master Thesis
Hi all,
I am writing my Master Thesis on Code optimizations when using a Web Framework.
Basically, I want to do a statistical analysis to see if any Web Framework makes web developers optimize their code.
To do this, I have set up a survey of 19 questions that shouldn’t take longer than 10 minutes of your time.
With these results I hope to find if any code using a specific Web Framework is more optimized than another.
https://forms.gle/2A1pZKgHSUs2eyV3A
I thank you for your time and effort!
Dunky10 -
Why is sleep not a choice. I have code to write but my body and mind wont let me stay up.
Too many projects so little time
No one to help 🙃
Sleep is really a devs enemy 🙆🏾♂️12 -
I don't care about your good ideas.
If you don't code, don't art, have nothing to contribute to the work, and aren't going to pay me for my time, then there is no collaboration.1 -
So. It is that time again. The last week of the semester for college students. Paper due for all, presentations for everyone and their moms and final in a week for which no one had the time to study and I'm here wishing death so I can code in piece in the afterlife.4
-
I just used Visual studio c++ for the first time. In comparison to intellij it just sucks, so many features are missing, im fighting with the editor all the time.. For example Code completion, visual studio suggests me the method name, i press enter, new line inserted, wtf? Apparently only tab is working here, next try, visual studio suggests method, I click tab, method name inserted but whithout brackets, omg. The standard shortcut for commenting out code is CTRL+K followed by CTRL+C, if you want to use the code again you need to use CTRL+K followed by CTRL+U. HOW STUPID IS THIS? Refactoring of code, e.g. Method names also sucks...5
-
Anyone who formats their code manually is a fuck there I said it.
Also stop using a tool that has no contextual understanding of your code. You're wasting more so much fucking time trying to guess shit that an ide would automatically know and doing stuff that an ide would automatically do.4 -
Man all I ever do is fix bugs in a giant overgrown calculator, that has references to code before I was even born. It might be new job time
-
Famous quote time! I forget who said it, and the number varies a bit from one retelling to the next, but one that has always stuck in my mind since I heard it is the following:
“I’d fire any programmer who spends more than [10 | 25]% of his time coding.”
I’ve always taken this as an admonition to spend time charting out solutions before building, instead of churning out stream of consciousness spaghetti code, personally.
Any thoughts from the broader community on the topic?2 -
Just found out my company's API for the payment took 15 seconds to respond. WTF? Personally I have done countless of these kinds of API , but this is my fifth time witnessing bad code.3
-
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 -
By always striving to do better each time. Making code less sloppy every time I write GL code. Better performance everytime I write an algorithm. Lower memory usage every time I write application state. Learning a new trick for an old problem, one at a time.
Learning best practice in one go is impossible, but taking it a bit at a time makes things more reasonable.3 -
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
-
I've found a new genre that is really nice to listen to when I'm doing homework or the rare time I code some.
Bluegrass banjo music. It's pretty simple and it's never slow. It's off but if it works, it works 🤷🏻♂️🤷🏻♂️3 -
>Be me, humble physicist turned quantitative developer
>Big physics nerd, but code for the cash
>Working on some quantitative finance software, all about risk measures
>Girl comes over one day, cute as a quark
>Think to myself, "This is it, time to make a move"
>Instead, brain decides it's time to explain my work
>Start rambling about refactoring, polymorphism, and data encapsulation
>She's looking at me like I've started speaking in binary
>She tries to steer the conversation back to normal stuff, but I'm stuck in a recursion loop
>Keep going on about my project, can't seem to stop myself
>She tries to stay longer, even tries to show interest in my work
>But the more I talk about algorithms and time complexity, the more her eyes glaze over
>Eventually, she gives up, says she has to leave
>She leaves, probably thinks I'm more interested in my code than her
>mfw I realize I've chosen code over companionship
>Why am I like this?10 -
So it turns out that a lot of writes to S3 is slow, regardless of whether you spent the time to rewrite your code from SAX to JAXB, then Go, then finally C++, thinking the problem was always with your code.
-
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 -
So there is this program with legacy code from 15 years ago the client is in love with. Every time we try to accomplish something it proves that the mf who wrote it was so lazy and incompetent that he should have never chosen this profession. Goto, one-two letter for type and variable names. Dude even wrote an ascii decoder as if he would be payed for lines of code. Today we found a code where a rows of data was misindexed by one (we incorrectly assumed that we could extract some data from it but the column we wanted to use was just there for decoration, it was not actually used). the calculations the system uses are replicated for each interface with duplicate lines of code so the same binary data can show different values because of the multipliers.
If I could I woukd go back in time and bang the guy's head to the desk emphasising each word like "You - should - quit - and - never - ever - write - code -again"6 -
I'm so fucking done with this shit. If someone forgets every git command every single fucking tim le is ok to ask. Every time someone asks advice on how to write a fucking retarded workaround (out of lazyness, because fixing their own code is too much to ask), it'a ok.
The *ONE* fucking time i ask the name of the fucking function to generate a filter via code using their fucking cms? "you should do that via gui!" "who cares if there'll be conficts with git, just manually redo everything in production!".
God fucking dammit how can you even have the balls to complain about terrible planning and stuff not working if that's your fucking mantra?!2 -
My C# teacher. From all the beginning CS classes that I have taken she is the only that I really respect. She took the time to teach us how operators work, took the time to teach us Pseudo code, and made us code using just a pen and paper. I bought my laptop (instead of a desktop) to code along her in classes. She would ask us how to solve something. Gave us like 5 min to think about it, and then we would answer it, and she would translate our solution to code making comments for us to fully understand what was going on.2
-
You know that time when somebody had a problem with a system you wrote years ago, and it has taken you an hour to try to remember how to even call it, because the documentation and code didn't get migrated from svn to git, and the svn server has been shut down for some reason, and the admin is out today, and the last time you had the code was three machines ago, so you're trying to gleam what needs to be done to just call the stupid thing from log files set to 'error'?
That time is now. -
I think one of my biggest mistakes as a dev in the becoming is to have tried to produce code rather than think code.
The patience to try and understand a problem rather than just solve it.
After spending 2 hours on what seemed like a ridiculously small issue,i know what the problem was before solving it.
Which meant i did take longer to solve it but i DID NOT take the wrong direction. Which would ultimately have come back to my face some time soon.
Coding takes a fuck load of time -_-.4 -
I probably dont balance it well. I spend majority of my day either reading code, reading about code, or writing it. I would say my balance comes on the weekends. I hang out with my girl more and I not in front of the computer as much. But even on the weekends I sneak in a few hours of code. My leisure time is literally sitting at a starbucks with my favorite text editor listening to a playlist and coding. That's like total zen for me.
-
Tbh this is more about education in general... Introduce the same system i had, no fixed lessons just a project and a time frame. Eg : create your own MVC framework and a site to show it off
Time frame : 5 weeks
(dont expect fully fletched frameworks but a site that uses the MVC data flow and the code is reusable)3 -
I'm in highschool learning to code, but I already realize that a programmers biggest enemy is TIME! I don't have time do the projects and learn the stuff I want to fucking learn! Because of God Damm School!!3
-
It's the first time since I finished high school (2 years ago) that I get to review my CV. I included as one of my features that I liked to write "optimized code" and just realized how wrong that is. Those where the times when I had little to no experience at all and would spend unreasonable amount of time to write programs with the fewest lines possible (I loved python because its one-line capability).
I think it's time to rewrite that CV.2 -
Reading code takes time!
Everytime I read:
"var" or "auto" Add: 10s
- Just use the type
Everytime I read:
if(Expression1 && Expression() ? GetNumber() : 0 > 0) Add: 30s
- Just write two if statements or create two bools the line above.
Everytime I read:
delegate = () => {} Add another 5 minutes of reading time.
- Just write a separate function for it. It helps with searching and understand what it does
Please code like the person that needs to check your code or change it just knows basic coding skills and logics.
I do know all these concepts I just never use them because it makes the code unreadable. hard to follow, mistakes that can happen everywhere. difficult to search.
And it frustrates that I need to read 10 extra lines to understand code flow or hover my mouse in an IDE to figure out what type object it is.
It's properly just me... I just like clean readable code. that is logical and failsafe and strict and deterministic with its behavior9 -
"Some time ago I wanted to rewrite my old project. I saw code without comments and cried. Cried so much."
Programming teacher in college
People who teach us programming usually write a quicksort every year for 5-10 years. It is sad af :( -
This guy named Tschache,Using a variation of typosquatting, he uploaded his code to 3 popular communities of developers–PyPi, RubyGems, NPM–and gave them names of the 214 most downloaded packages on.
As a result, over the span of few months, his sketchy code was executed on more than 17,000 domains and more than 45,000 times. Interestingly, more than half the time his code ran with complete administrative rights. His script was also found to affect .mil domains of the US military.
How cool he is!?
Source: http://incolumitas.com/data/...1 -
Web code editors are shit for interviews!!
I was given a timed interview test to code on a hackerearth’s code editor. First of all I have never used hackerearth’s code editor because they suck. The problem was very simple and I cleared the round anyways when an actual human saw my code. But my point is why are programmers creating shit editors for other programmers in a timed environment. I couldn’t figure out for the life of me how the fuck I should take an input and output that in this shit editor. The code logic was ready but the test cases failed.
So Should I be learning about hackerearth’s shit code editor in an interview with a timer or should I be judged on the code logic in the specified time?
I seriously find these web code editors most of them annoying. Cause they aint good enough. You need time figuring out the tools first and then code the logic.
Usually in your job you’re gonna use the editor of your choice. Not a fucking shit fucked half arsed hackerearth code editor. My rant is for those of you if you’re taking interviews on such platforms, be there. Don’t rely on those platforms. This automated crap is still crap.4 -
Collaborating on a project with another person, is like sex. If you don't pull on time, you've to support the code for the rest of your life! :P1
-
Every time I try and write C++ code, I end up getting annoyed with my approach and trying several different ways to structure my code before giving up and reverting to writing the exact logic I need in C.
It is most likely due to lack of experience with writing C++ programs, and one day I'm sure I will finally work out how to apply the right patterns at the right time and find it quicker and easier to write good code. But for now, I use C since it is very easy to bend into whatever shape I desire.4 -
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 -
Network code is hard. Events come all the time and it's really difficult to account for all orderings and uncanny timings. Have you got any advice, book or paper about it that I should read?
I'm using node and websockets btw.7 -
When I created stubmatic (a http mock application), we were using it in our internal project. First time when some other project expressed their interest, I was happy and eager to help.
So the person they sent for the training asked me his first question: "I followed all the steps, but It is not working"
I quickly checked his code and replied "you're using GET instead of POST method"
Then his second and last question about stubmatic was "why don't your code understand which method has to be used? Why should a client need to tell every time?"
Ummm... silence -
React native is such a pain to get started with! I feel like Ive wasted way too much time just trying to set up a functioning example. I'm too stubborn to give in. I'm about to rage code right now lol6
-
Serious question, which language would Iron man rather code in? The billionare genius may have too little time to write his whole infrastructure in C/C++. My bet is on Python since it provide every feature a super hero, who has lots to do might need16
-
So I am a Ruby guy since I don't now when. Probably forever. Lately I have to code Groovy. People are telling me all the time that Groovy is like Ruby. Let me tell you: No! Groovy is not like Ruby. Groovy is shitty Java with a slightly more usable syntax. Nothing more. It is so so tedious to code and reminds me why I stopped coding Java like 8 years ago. The fact that some features resemble Ruby syntax makes it even harder for me because I cannot code and facepalm at the same time. And I automatically type Ruby code all the time because it looks so similar in some places. I don't have that problem with other languages. Just Groovy. And the fact that Java people like it tells me how bad Java really is. It's just dirty. Guys, I feel so dirty now. And showering this morning didn't help. Had to get that off my chest. Thanks for "listening"9
-
Over the last few weeks, I've learned two things about the head of my division:
1. They "don't care about code quality"
2. They want to try a "low-code" approach for the web frontend of a completely custom piece of what is currently desktop software
This is despite the fact that we have three full time developers with a wide range of both front and back end skills on the payroll, a deep library of existing components for various frontend frameworks, a custom CSS library, and a decent deployment pipeline for frontend code.
But sure, let's try low-code. Let's see how far that gets us. -
php is so fucking great, every time I'm coding in php I'm astonished by the speed it goes from code to test. Unfortunately its the only benefit I see in using php.2
-
Writing documentation is one of those tasks that most developers don't like doing. Especially when it comes to writing in say a Word/PDF file, an online wiki, or Confluence. It's time consuming and a pain in the ass.
But even if you don't like it, at least write comments in your source code! I hate having to keep writing "Write the PHPDocs for this class/function" in every pull request that I review. It's wasting my time writing such comments when it's such a basic thing to do when writing source code.31 -
When client budget is less than the time needed to do a good jobs.
Happens more than I like.
"We’ve all said we’d go back and clean it up later. Of course, in those days we didn’t know LeBlanc’s law: Later equals never."
-Clean Code1 -
I've had this idea for some time now. How about a website that gathers some of the most well written open-source code and allows you to easily read it for educational purposes? Everyone says that reading source code can be a great learning tool but directly jumping into github is not very friendly to newcomers. I saw what underscore.js has done with the annotated code link and I think it's great. What do you think?6
-
Noooooo... all I wanted is to quickly reboot to Ubuntu! Why Windows, why?!?!?! So much time wasted staring at this screen, so many lines of unwritten code...6
-
I can't take this Swift compile time anymore. It's up to 40 minutes now and all we can say is "optimize the code" and "get faster computers"6
-
What do people think of automated code generator frameworks such as Yeoman and Plop? Any experiences to share using those or similar frameworks?
I like the idea of automation, it means code will be consistent (especially across teams), and it means less boilerplate writing that potentially breaks thought processes.
But then does it just waste time? It's something extra to develop, test and debug. Further most of dev time is reading, thinking and modifying.2 -
I get irritated when I feel I've wasted time I could have used for making progress on code. Now being required to attend a 2 day conference, that I will not be using anything from, anytime soon, all I'm doing is waiting for this to finish and get back to code.
-
There is a particular power move when you take someone's shit code, refactor it to make it faster, safer and more readable and then request a review from them on your PR. "See how I dunked on you, bitch. This is what superiority is about." And at the same time you can be perfectly polite with "oh you know this part of the code well, I wouldn't want to break anything there" with the "bitch" just strongly implied.3
-
Named the wrapper script as CH<scritpname>.
Giggle every time I see the script.
CH is a short form of shit in my native language. If anyone asked me what it means I’ll say it’s Chief script. 🌚
(That’s right, its the script to deal with all the shitty code written by other ppl. May be I write shitty code as well. At least shits are separated.) -
Not using all my time. I really don’t apply myself sometimes. Sometimes that means not using work time efficiently, sometimes that means I get stuck on a simple problem for too long because I don’t think through it. Also, I’m trying to love coding more. It takes a lot of code to get a small result sometimes, and that’s ok. I got hooked on being able to do big things with little code from the start. As we get better we know there’s more that can be done, but we are more familiar with just how much work it really is. At the same time we are more capable than ever of doing it. Just gotta embrace the suck, then love your finished product.1
-
I need to add new feature into the program which I wrote years ago so I start digging up the source code. The project is written in a language which I no longer code in.
That code is really poorly written with most of them don't have tests. I also find out that previous self is really a genius since he can keep track of huge project with almost no documentation.
To make matter worst, there are unused components (class,feature) in the source code. "Current me" have a policy of "just adding only a feature you need and remove unused feature" but it seem the "previous me" don't agree with the "current me".
The previous me also have the habit of using writing insane logic. I can remember what particular class and methods is doing but I can't figure out the details.
For example one method only have 5 line of code but it is very hard to figure out what those do.
The saving grace is that he know the important for method signature and using immutable data structure everywhere.
I was under the influence of caffeine and have a constant sleep deprivation at the time (only sleeping about 4 hour every day) so I can't blame him too hard.
I can't blame him too hard, right?
Could someone invent a time machine already? Invent time machine not to save the world but to save the developers from himself.4 -
We have decent linting on our codebase which covers off code quality and style.
We also have a developer who insists on making code reviews about formatting and spacing rather than functionality even tho we've tried in multiple ways to say:
- our linting covers it, if that's happy we should be (and the rest of the team is)
- it's a waste of time doing it
- it wastes the time of the team reading it
- the noise it generates makes it hard to see any legit comments
I swear to god if I see another comment saying "new line" i will scream. -
When the framework you're using decides to work in UTC after 5 years of using default system timezone. And instead of giving you the option to change timezone, hardcore enforces it by:
os.environ['TZ'] = 'UTC'
time.tzset()
For people who don't know python.. It basically tells your code that your system time is set to UTC (ingnoring the right timezone)
Now we get one bug after another because of this undocumented shitty change without changes in how time fields behave in different client timezones.
😒🔫
(Don't get me wrong, using UTC is logical however not in an existening application and forcing devs to rewrite all code that handles time fields)1 -
5 hours for 6 lines of code. Math is awesome and stuff, but translating matlab code into python and then extending it without knowing what it does (so you have to understand it first), well, is sometimes exhausting.
But after all this time I am so happy that it works and that I fully understand all the math behind it. And now I have to compare it to the other 6 methods I created for this task.. Yay.1 -
If I need 2 weeks to implement a new feature, I need at least one more week to find better solutions which make the code easier to read. Then I would like to spend yet another week to think about other solutions to make sure I can't find one that is even better..
I hardly ever get that time but when I do, I create something beautiful..
The last time I was able to reduce > 2000 lines of code to a about 50 lines generic service which is easily extendable and understandable.
Do you include stuff like this in your estimations? -
Every time there is a new project, we programmers swear to ourselves that we will code it better this time. We get elated that we do not have to deal with the tech debts piled up in the old module.1
-
When you spend most of the time editing you .vimrc instead of the code you supposed to edit. Proper syntax highlighting, plugin management, some useless autocmds that you don't even understand - there is always something to do.2
-
I have a 5 hour layover until my next flight and all I want to do is code to kill time... the only problem is there is no reachable power outlet..4
-
I am a beginner and want to code all the time. Even feel my current job useless and waste of time. I should find a job where I can learn, but my knowledge is too basic yet. :/4
-
I write a lot of custom code for a program my company sells and there is no good way to run tests on it. I just spent a bunch of time wondering why the change I made didn't work only to find I accidentally clicked paste shortcut instead of paste when copying the file. I really need to take some time to write a program to copy all my code for me instead of relying on a manual process. I guess a new night and weekend project.
-
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.
-
Genuinely asking some rare pokemon php developers that are up to date with the tech (all php devs I know stopped learning when my grandpa was like 5 years old) to show me php code that is not spaghetti bolognese. I am asking this as I am yet to witness such code for the first time in my life (and I am coding since 94')!13
-
From log debug to taking care of a whole software written by a guy who does not work in the company and did not spend any time commenting the freaking code.
The best part? The code is not finished and guys above you do not decide what needs to be done but expect stuff from you. -
Having to work with requirement analysis, attending to worthless meetings, acting like a project leader from time to time and developing in two projects in parallel really fucks with your head. Feels like this is hurting my ability to progress in code a lot. Anyone having the same situation?1
-
>= 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 -
just read about Zeno's paradox and realized, this is our life!!
The client sets requirements, we code them within n time. by the time we finish it, the client sets new requirements. so we code them again, but by the time we finish it, more requirements are set.
will we ever be able to finish it all? that is the paradox.
https://en.m.wikipedia.org/wiki/...1 -
er guys... I don’t think i can code anymore.
I was unable to do anything for like 2 weeks while i was away and it’s been a month since i got back and like... I’m blanking out big time. I sit and stare at my computer and everything but there is like 0 motivation/interest. I’m fairly new to it tbh so i thought this is was a good time to try new languages but still no.
Any ideas or advice please? It’s like come weird ass code block.3 -
I get really motivated and sit to write a lot of code and be very very productive, but then I get demotivated for twice as much time as I were coding.
I just can't write code if not super motivated. This is a very bad habit.1 -
It is Saturday 19:30 and I am spending my time writing functions for save/load data in a binary tree. Recursion and fscanf are not a good combo so far, but that is the task. When the code is done I have to get some math done.
-
lol every time I look at actively maintained code on GitHub
Thing is, there'll always be things I don't know. One needs to learn that. However, it's not an excuse to stop learning, so just keep learning every day and be confident in what you know -
I tend to do very functional code that I'm capable of reading while writing, but have to spend quite a bit of time on to understand later on...
Especially if it is a group project where execution time is relevant 😐 -
Programmers are usually notoriously bad at guessing which parts of the code are the primary consumers of the resources. It is all too common for a programmer to modify a piece of code expecting see a huge time savings and then to find that it makes no difference at all because the code was rarely executed. - Jon Louis Bentley, Writing Efficient Programs9
-
I am starting to think the biggest problem with my current project isn't the business unit changing their minds all the time. It looks like the biggest problem is me continuously refactoring the code.
-
Seventeen. I worked for 17 hours to pull off a POC of a feature no one thought was possible (at that time). It wasn't clean beautiful code, but hey, it worked! It's live now and I still smile when the feature is used.
-
You know all those times when you neglected to put anything in those catch blocks?
If this hasn't happened yet, just wait. Soon enough some lunatic's nondeterministic code will randomly break you will have to spend hours figuring out why because you never did anything with that error.
Of course, actually writing code for every mandatory catch block is even more of a waste of time, so empty catch blocks it is!1 -
OCD driven development
- level of recursion determined by how much the algorithm bothers you
- too much and nothing is ever finished
- not enough and code is shitty and unmaintainable
- can result is longer variable names
- takes longer to name a variable
- text slightly misaligned requires hours of debugging time
- balanced by "OMFG that will take forever to fix" Sometimes...
- can lead to unobjective code reviews1 -
I'm quite sure my coworker made a total mess, problem is the code looks reasonable at a quick glance. And it works for some unexplicable reason. No time to fix it.
-
Unpopular opinion:
No one should ever argue over ANY coding style unless they're just starting out and thus have to come up with their organization's coding standards for the first time.
Once the standards are set, everyone should just comply with it irrespective of their personal preference. Or alternatively, include back-and-forth code formatting into the development workflow.
The only thing that's important is that by the time code is pushed into the codebase, it is formatted according to the defined standards so that the whole thing looks consistently written, which is basically the point of setting a coding standard.2 -
Our manager is in tons of meetings all the time. He sees himself as our architect, and he has read and approved code reviews. Yet when he does get time to code and submits his own massive weekend coding binge pull requests, they're often entirely different from everything we've written to this point.
Instead of trying to be consistent with the work we've currently done, he continually argues any comments we make in the code review. I want to be like, "If you wanted it this way you should have designed it this way instead of giving us a bunch of empty class files an interfaces with terrible names." -
I'm an iOS developer and I cringe when I read job specs that require TDD or excessive unit testing. By excessive I mean demanding that unit tests need to written almost everywhere and using line coverage as a measure of success. I have many years of experience developing iOS apps in agencies and startups where I needed to be extremely time efficient while also keeping the code maintainable. And what I've learned is the importance of DRY, YAGNI and KISS over excessive unit testing. Sadly our industry has become obsessed with unit tests. I'm of the opinion that unit tests have their place, but integration and e2e tests have more value and should be prioritised, reserving unit tests for algorithmic code. Pushing for unit tests everywhere in my view is a ginormous waste of time that can't ever be repaid in quality, bug free code. Why? Because leads to making code testable through dependency injection and 'humble object' indirection layers, which increases the LoC and fragments code that would be easier to read over different classes. Add mocks, and together with the tests your LoC and complexity have tripled. 200% code size takes 200% the time to maintain. This time needs to be repaid - all this unit testing needs to save us 200% time in debugging or manual testing, which it doesn't unless you are an absolute rookie who writes the most terrible and buggy code imaginable, but if you're this terrible writing your production code, why should your tests be any better? It seems that especially big corporate shops love unit tests. Maybe they have enough money and resources to pay for all these hours wasted on unit tests. Maybe the developers can point their 10,000 unit tests when something goes wrong and say 'at least we tried'? Or maybe most developers don't know how to think and reason about their code before they type, and unit tests force them to do that?12
-
- Dealing only with your own code
- Having enough time to improve and refactor your code whenever you want
- Bug reports are detailed af and not just like "doesn't work"
- Choosing the IDE (and OS maybe, too) by yourself
- Having enough time for bugfixes, implementations
- Software is ready, when you want it, not anyone else.
- Visiting trainings or seminars to improve your skills whenever you want
Yeah, that would be pretty awesome.3 -
I have been slack in the past with testing, in the last 2 months I have got better and better at sticking to TDD. Now I am Addicted! There is a God like feeling that comes with having written bullet proof testable code.
Anyone who thinks it's a waste of time or is putting it off just do it and stick to it, you will become a better programmer and write better code. -
Is it worthy to spend so much time solving hacker rank, codility, code chef challenges or just learning new technologies and becoming good a t it? At the end, where should we put our energy on?2
-
Working with a library developed by a koworker, which should be at its final release (and working). Every error code is -1, and the documentation explains it as "lol". I've spent the last hour reading ugly php code, with the only kind of comments being "sorry for this workaround, i had little time". I'm about to flip the table :<
-
From time to time, there is time to code with imperial Star Wars music. Every time you have to have the feeling of building something bigger !
-
Is it possible to record the time a thread spends processing only it's code?
E.g. capture sys.ms in thread A -> A is sliced and thread B runs -> B is sliced -> A comes back and captures current sys.ms. The resulting delta of Anow - Ainit includes the time that B spent on the machine.
Is it possible to account for this and get just the time A spent processing?
Is this doable on any other languages?
If it is or isn't, any documentation or papers explain why is appreciated. Google is flooded with "how to time" questions so I'm not seeing any answer for this.7 -
Reading devRant and new job postings is leaving me with less time to write any code in this shit hole.
-
Constantly changing conventions for everything, like naming and code formatting conventions.
And the worst part is, I do this several times during one project.
Either I have a project with different conventions or I have to redo a lot.
Most of the time I try to do the last and this costs so much time -.-' -
Apparently some manager in the company found out that we produce less bugs if there are more meetings (there is literally no time to write actual code). At least that is the only explanation which comes to my mind WHY I HAVE TO SIT IN THESE SHITTY DISCUSSIONS THE WHOLE DAY TO DISCUSS THE SAME ISSUES AGAIN AND AGAIN.
-
First week at new dev job. Had to move my workdesk 4 times, which means not being with my team. The guy that should help me get to know the code base & project had to change team and project, and is busy all the time. What should I do ??1
-
Really hate it when a project is switching focus every month or so. You start focusing and committing a lot of time to make things work. Taking initiative to enhance things. Then some weeks later management is switching focus and you have to port all fixes in the new code base. Then some weeks later you have to work on the things you did before but with some adjustments that result in the old code not being possible to use and you have to port fixes again. When complaining you sometimes get the question "how hard can it be, it's just some code". Some motivation is lost every time. And repeat this like a "while true" loop.
-
Sometimes i feel really messy in my code and unorganized.
after a while i regret what i did and in order to fix this mess i re write the class all over again or i end in an endless errors which is time consuming.
So what's the best way to write a clean code in your opinion other than commenting and identation1 -
Is it normal that I have to first study like 2 or 3 days before I can start to code something I don't know very well? My mentor probably thinks I don't know anything. Whatever... I need to implement JWT and I need time to study because I find it complex.2
-
thank you for unexpectedly changing your code i included on your recommendation and now all of my modules are broken!
even if this is just a side project i hate when others break my shit and i don't even have the time to fix it.1 -
Does wanting to leave a company simply because of legacy code with no documentation and too much work a bit reason? I guess it probably is as anywhere could have the same thing :) Maybe management would be better suited for me, time to take courses8
-
!rant
I'm not sure if it's good or bad, but lately I've lost that "love" for code, not coding itself, but the code in projects.
Because most of the time the projects are inherited, there is never enough time, It's always a priority. And let's be honest, most of the time programmers don't like others code. (Is it God Complex?).
What I do notice with this "new" philosophy it is that I do not stress when I do not like some development, I ask the "bosses" if there is time to change it or if we continue with how it is. I learn that it should be done better and I continue my life5 -
After some time experimenting with Haskell (with mixed impressions) and quite positive feeling about Scala, I am really shocked by Clojure. I tried simple example from youtube tutorial, but it looks so awful, complex and compared to Haskell and Scala version it is just so verbose. I read that Clojure is a concise language. Is the tutorial bad or is this a fine code in Clojure? I really don't like the code at all...5
-
Today I created some reusable clean decent code to replace the random chaos in a huge project and then realised I had 3 options:
1. Sort out every instance to use the new code. This is very high risk because the project is both a shit show and has no tests. I don't have time to manual test or write unit tests on so much stuff.
2. Move over only some so that I can manually test. Still no time to unit test (management is fucked on their priorities). This will fuck the project even more since i will never get time to revisit this and adds yet more inconsistency and chaos to a project on its last legs and has this problem in droves.
3. Leave the project fucked
\_(^^)_/
I'm veering towards option 3 these days.1 -
Again idiotic language or documentation.
I want to just draw stupid arrow on chart. Took code from example. It just does not draw. No fucking error.
mql language.
Just in case somebody knows:
ObjectCreate(name, OBJ_TEXT, 0, 0, 0, 0, 0);
ObjectSetText(name, name);
ObjectSet(name, OBJPROP_COLOR, Green);
//ObjectSet(name, OBJPROP_TIME1, Time[0]+2*Period()*60);
ObjectSet(name, OBJPROP_TIME1, Time[0]);
ObjectSet(name, OBJPROP_PRICE1, High[0]);
this code is in onTick() method.
It looks like there are tons of posts on how to do it but nothing works what I have tested.
I really from time to time think about writing some trading bot but probably thats why I stop doing it because it takes so much time to do simple things with this language.
I could do with languages which I know - php, js , but still if i want to run it with brokers who have metatrader, I would need to know mql language :(3 -
It's important to have a little fun with what you do. You can work on and on like it's a chore and get along with it just fine, but right below the surface of the tools you use lies something truly interesting. Reading code, documentation, blog posts, what have you, all of it is just as helpful in learning as writing code.
And also, be kind. We all write crap code from time to time. As a beginner, I know I do. It's important to take it all as a learning experience.
Personal favourite quote that puts it very well: 'I guess you could call it a “ failure,” but I prefer the term “learning experience".' -
Browsing le web for an extensiv period of time looking for useful input on build/release pipelines related to deployment of js code.
Judging by the answers on SO, blogs, tutorials etc I’ve come to the conclusion that no js code make it past development. Which is weird. -
Sometime I need to eat and write code at the same time..
And when that happend I bite my spoon with my hand busy at the keyboard.
The question is why I write some text here when I know I can sleep longer..3 -
there is no time in the budget for refactoring the code that is being shipped to live.
the only refactoring i get done is the code going into my portfolio. -
Once again spent a day MacGyvering together all the missing pieces of the app for tomorrows presentation deadline. This time the code base is 95% good code and 5% of dirty hacks which are essential for the rest to function properly.
One day I'll enough time to finish a development cycle on time. One day... -
i had this crazy dream that there's a code ghost that erases the blocks of code i wrote and produces bugs to my programs... damn this is the first time i got really scared.
-
For regular daily stuff I use VS Code and it is incredible imo, for big backend PHP projects that come in from time to time I switch over to PhpStorm and for big React / Native projects or projects that contain multiple js frameworks I've been using WebStorm and I haven't been disappointed at all.
I got introduced to the latter two at a company I used to work for and I'm still using them!1 -
We have a new official and probably for now final Lead Developer.
Asking questions like: What happens after is push code to bitbucket? -_-‘
Next time i’ll answer that the building will explode. -
I was having a weird time playing manager because we had none. And the new one kind of sucks and it is too junior for the role. Acting as TL too and had almost no time to code or do PRs. And. Gee. Yesterday I went back to coding after a few months. And I found out that We have a team member that just shits all over the code. Tests that are invalid, basically testing nothing. Methods done apparently for no reason. It took me a good deal of time to sort things thru. And now I'm at a point where I can finally do some reviews. Long day today.1
-
VS Code terminal is so bad... it is basically the worst part of VS Code; the devs can never fix it
The terminal in VS Code breaks for me all the time; it is so easy to break it; all it takes is change the size of the terminal window and bam, it is broken
The devs should either fix their shitty terminal or remove it entirely because it confuses people; I literally see wrong output from my program because of their terminal1 -
In finals, I was prepared to write code for any given problem. Instead, the professor gave code snippet itself for all questions and asked to write output. No comments, nothing. Just pure spaghetti code. Wasted so much time in analyzing the code that I had to leave a couple of questions unattended. Moreover each question weighted for around 8 marks. So, just one miscalculation means 8 marks is into the void. I'm feeling like I'd get just enough marks to clear the subject.1
-
So a teacher supposedly promised to introduce me to "web Scripting" as he called it.
Time to learn and all he does is show me Dreamweaver and copy and paste code from anywhere you can imagine, he literally didn't know anything about code .
I thank God I realized that it was better to learn code .1 -
My number one problem whenever I need to write original unique code is this question: "What's the next line supposed to say?"
I just really have a hard time knowing what the next thing is I'm supposed to write, even when I know pretty well what the thing is supposed to do.
Anyone else? -
For someone who want to sell software products as a part time job what is better:-
sell scripts and code in codecanyon, Sell WordPress plugins or buy themes?or you have another suggestion?3 -
Formatting code on stack overflow is a fuckin pain. One thing is off and the website is like WAIT WAIT WAIT WAIT. And then after all that time spending formatting it, to get your question closed for not being specific enough.2
-
Writing an embedded webserver recycling code that is in use for a few years now. Can't get my ’getStatus.ssi’ working. Turns out ’statusTag’ cannot be used and for the last couple of years noone cared that the status field was empty.
That's the first time I did such a thing and it took me only one unpaid (!) day to debug that piece of crap thinking my idiotic predecessor delivered halfway working code.
Is verifying and communicating broken code really that hard?1 -
Vinegar didn't work, time to test honey.
Let's see if autocomplete is nice enough to persuade some of these mongrels to evolve from dogs to chimps and actually document the code they write.1 -
For fuck sake. This is literally the 10th time today either Rider or Unity has had hiccups and just crashed. Every single time I had something which wasn't saved and had to be redone. 😡 I could be so much more productive without having to rewrite a lot of my code twice...1
-
The comments on the code Apollo Guidance Computer (1960s) is so much fun! Also, funny in parts. We modern programmers are too formal in our comments! Code is on Github.
Check it out: http://qz.com/726338/... -
Sometimes while writing software / consulting I feel like house md. Not always am I right the first time, but this is often due to me looking at the wrong thing. But at the end of the day I am able to give advice that may be seen absurd but usually is correct.
(tip: it's never lupus, what is quite right because code is code)1 -
Is there any version control system for database..
Ofcourse we can keep sql file for mysql db along with our code. Other than that .....
"I mean i want my db backup,
I do not want to do it myself every time,
It should work like pulling code"9 -
Mondays aren't the best time for me.
If it is a lazy weekend, this is the routine:
Sleep most of the morning in, wake up - do things, 10PM, think of some code to work on. 11PM, yeah, enough energy now - lets code! -
VS Code is a horror. Every other editor I just picked up and it ran. VS errors out on obscure demands again and again and again. I don't want to spend time learning this POS when I'm learning Julia. What's horrible is Julia developers, such as in Juno are abandoning their own editors to go to VS Code, which is antithetical to the whole idea of Julia - to a be easy to use and replace multiple languages. They abandoned Juno for a hard to use editor whose only feature is multiple languages.5
-
Doing office even when it's vacation day today...
Not because I am a workaholic or there is work pressure from company...
But because I like doing my work as a developer and it's quite peaceful and fun to code for some hours rather than idling around at home figuring out how to kill time especially during this lockdown period...
P.S. Planning to find some time to learn from online tutorials too in the evening 😁2 -
I am watching The Karate Kid and it made me wonder if there is a way to teach someone to code without them realizing they have been coding the whole time.
-
What I hate the lost about exam season, is the lack of coding... Spend two months cramming all the theoretical parts of computer science, and it just gives no time to code
-
When you code during an interview using a coding platform like HackerRank out even on a whiteboard, do you spend time memorizing the actual the import statements?
When I usually code, and I need to use like a Queue, when the IDE asks which to import, all I do is look for java.* rather than an external lib. Or for Date, util.* Not sql.*
After you expected to know the full paths?1 -
udemy.com/java-tutorial
I had some very minimal experience with Arduino and Zelio, so I guess I had the basic notions in the back of my mind, but this is where it all begun.
I was asked if I wanted to learn how to code because they needed a developer, so I chose Java because I liked Minecraft and I thought that if I failed, at least I could code some mods.
Spoiler alert: I didn't fail so I didn't have time to code mods... is it really not have failed? -
Been building a Shopify app for 2 months now. Every time I look at the code, Im adding more feature. Fuck. At this rate I'll never have people telling me how shit of an app this is to make it better.
-
JS is such open language with too many frameworks and too many libraries. Takes lot of time choosing good code to use.
-
If you have to fucking complain about how people are creating too many issues on your repo and why the internet needs to stop bothering you for your code, just privatize the fucking repo or delete it. For fucks sake, it’s probably for the betterment of the internet to not waste our time trying to get your shitty fucking code to work. Your repo is trash. Nobody has time to read the 5000 issues that detail the lore and history of your piece of shit project. Just fucking close it, stop trying to hold on to shitty stuff.11
-
Start learning to code with a project that is close to your hard, will make time fly and you'll learn to code much better in the same go.
-
Group:
https://facebook.com/groups/...
Page:
https://facebook.com/learnhowtolear...
Tools and programming languages are changing everyday and you have hard time to keep it up. This group is aiming to bring back the fundamental, like reading, speed reading, reading code, speed reading code, debugging, physiology and philosophy behind programming, motivation, grit and more1 -
Today I submitted to code review the first iteration of a microservice done with Ramda and flow by request of my collegues. This is the first time they look at anything similar to functional code or typed js, and only one of them took the time to actually do a review.
I really like having my code reviewed and reviewing others', but please don't pester me to make a PR for a microservice you'll never look only to bail off as soon as you see something new that scares you. Buckle up and learn new stuff! -
Hell, I always thought I was a team player, but is it a great week being the sole developer (all the other on vacation). So I didn't get interrupted all the time, read overblown PR. Still, even in their absence I spent about three days fixing their build issues and PR's, but I could sit down and read the code, some documentation to get a better understanding why it all sucks and what we should do with our pain in the ass build system.
It's really a blast, deleting some stupid code, removing superfluous dependencies and above all leaving snarky remarks in the commit messages and code comments. Just letting some steam off. Code is where my devrant is. -
I’ve realized that coding is really a stupid waste of time. Why you wouldn’t use a visual coding system or ai code assistant or any of the other code methods that are not coding is just dumb. Here’s to the end of coding and similar systems that makes this brain dead skill a thing of the past. I hope my comments didn’t anger any coders especially since I think coding is really stupid.6
-
It's always hard to balance time between romantic affairs and programming projects when both are going on simultaneously. I've been talking to a girl at my college, and even though she doesn't take up much of my time, I still feel like it's harder to make time for my programming. I guess this is more of dating affecting my code, but I personally prioritize code over dating currently in life.
-
We all know that writing your own css is easy.
Then we just try to pick up other's code and continue with their style...
It's taking so much time, I guess it's about collaboration now not only trying to figure it out alone ..