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 - "writing code"
-
"Don't waste your time writing code. Browse on github looking for pieces of code, they're all well written over there."
... during a Javascript exercise lesson.5 -
"Don't waste your time on writing comments or documentation, as long as the code works!" - My (Ex-) Coworker5
-
Things I'm half decent at: Writing code
Things I am absolutely the worst at: Managing projects
Things I got employed for: Writing code
Things I do: Managing projects18 -
No-code platforms always like to forget that writing the code is *literally* the easiest part of software development 🙄15
-
Only God and I knew what I was doing, writing uncommented code in C a year ago.
Now, only God knows.2 -
Debugging someone else's code and having the thought: "Am I better off just writing the code again from the start?!"6
-
Writes program.
Doesn't comment code.
*Yeah totally gonna remember everything* 🕶
*5 weeks later*
what the heck was I writing.? 🙄😥😭7 -
Since git, sometimes I drink and code until I pass out
Today I woke up with good working code that I don’t even remember writing5 -
The first time writing code in an airplane was very uncomfortable. Everyone around me thought I was hacking the airliner.
I was writing HTML.3 -
Programming tought me that time is relative.
8h of writing code feeling like just 2h and a hurting back.3 -
Scaling a badly-written code which is not designed to scale.
Ended up re-writing the entire shit from scratch.4 -
Refactoring and writing tests for code that was code written by intern and is on production about one year
-
Does anyone else get so self conscious about writing neat, clean and efficient code that you get demotivated because you always think "there's a better way to do this".
The cleanest code is no code at all. 😂8 -
Going back to Java after being writing code in Kotlin for a while feels like going back with your crazy, over reacting ex.3
-
Shit code. I've done it, you've done it, we've all done it. Just keep working hard and improving. Eventually, you'll be writing better... shit code.4
-
When you spend 15 minutes writing the code, and 4 hours coming up with the perfect name for the class/method/variable5
-
I saw one guy in Office writing unit test cases and documentation for his code .
Such a psychopath!!!9 -
That moment when writing code to perform a one time task ends up taking more time than just doing the task manually6
-
Writing cool code might be your passion but shipping it is your job. Sometimes they are not the same thing unfortunately... and its ok!3
-
WTF BOSS?
STOP WRITING THESE FUCKING OBVIOUS SQL INJECTABLE CODE YOU STUPID PIECE OF SHIT!!!
BURN MOTHERFUCKER, BURN!!!3 -
Writing bad code has its perks.
Whenever you are hungry you only have to write a few lines of code and you get some spaghetti3 -
OMG ever since I started to love Haskell, all nonfunctional languages look ugly, I am getting worse at writing procedural code!3
-
I don't really drink alcohol, but every time I look at my (old) code, it looks like I was drunk when writing it.
-
Forgot my headphones today, had to listen to stupid people on the train and now can't concentrate while writing code! Fuck!4
-
1. Naming all variables with letters of the alphabets
2. Not indenting (screw tabs VS spaces, I could use anything here)
3. Putting all src files in one directory
4. Writing the entire code without using any functions
5. Writing code and asking me to fix linting
6. Asking why they should follow language style guidelines4 -
Writing clean code is what you must do in order to call yourself a professional. There is no reasonable excuse for doing anything less than your best. - Clean Code2
-
Dont get attached to your code at work! Coz it's not your code, you got paid for writing that code and that's it.5
-
Supporting outlook in your mail templates.. On a scale of 0 to 10 with 0 being writing code in sublime/eclipse to 10 being writing code in MS Word, how difficult is it??1
-
The other week, our coffee machine broke. No code was written.
Today, coffee machine broke. No code written.
Think I found the secret ingredient to writing code!2 -
Finished writing a new app with react native, but wow the performance, true disappointment. Back to native code.5
-
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. :)1
-
Coding while drunk currently in the middle of the fucking day, hopefully I wont regret this tomorrow? Who am i kidding I'm writing brilliant code i should code drunk more often2
-
Why do I have no problems writing code and designing databases, but draw a complete blank when trying to come up with a good database username for the code to use?3
-
Code quality check punishes writing massive documentation strings due to "too many lines of code"
FML1 -
Once you've been writing code for so long, being excited writing code can go away. I still find that I get the rush when working with a new language or technology. It feels good to be a beginner again 🙂3
-
"No matter how slow you are writing clean code, you will always be slower if you make a mess." - Uncle Bob Martin1
-
Writing a game from scratch is a good way to see how awful you are as a programmer, specially if you come from webdev.
Amazing how fast your code looks like shit when you're writing a game, even the simplest one.14 -
While busy writing code, hardest discussion is should I go and pee or wait till a bit of pee is leaked in my underwear.10
-
Best quote of the conference: If you are writing code without using TDD it's called developing if you are using TDD it's called engineering9
-
rant!
Gets hired as a C++ programmer. for the past weeks I have been designing UI interface without writing code.
#FML9 -
Biggest sin is writing code without taking into account clean coding and just doing what ever is necessary to make the code work6
-
"Writing good code is a charity". ( - saves time, effort, mental-health, & career of next developer).5
-
Somewhere there is a developer who writing an AI code that will put most ppl out of work. And he doesn't even know it2
-
Common Lisp's format function.
Because it supports some crazy convenient formatting directives, such as: writing numbers as words, writing numbers as Roman numerals, correctly writing plurals, etc
The code in the image will print:
one cat
two cats
three cats
...
seven cats3 -
When you thought writing code on paper in university was bad, wait till you apply to Google and have one of your interviews writing code in Google docs.6
-
You know you have a quality teacher for C code when you are writing a test and you have to write the code on a piece of paper4
-
TDD.
I'm a fan of writing tests right after you write every module. I actually think it's doable.
But I'm not a big fan of traditional TDD, which is defined as: first writing the tests, making them fail, writing code until tests don't fail.
My experience with traditional TDD when writing library code is that you start with this very naive idea of what is needed, so you write classes and functions and a lot of times they look like overly simplistic pseudocode.
So what do you do? You scratch that, you delete those classes/functions several times.
I think this discovery process that your code is naive is slowed the fuck down by doing TDD.
I'd rather write a theoretical API in a readme file, then write code, and then write the tests, you can even withhold writing the tests, but never leaving them for another day, just so that you don't waste time writing tests that you're going to scratch.
There's always a time constraint, and most of us can't afford bikeshedding.
Traditional TDD feels like an esoteric thing, it tries to make programming a series of steps, it actually sounds like an infommercial.
"FOLLOW THESE 3 SIMPLE STEPS AND WRITE THE BEST CODE EVER"11 -
I'm having such a blast writing code in TypeScript. Once you learn it you cannot go back to regular JavaScript.6
-
When u spend too much time writing Java and suddenly go back to C# yet continue to write Java code 😪4
-
Almost finished writing some code, then got distracted by devRant. Now I'm back to post about it. MUST FINISH CODING! DAMN YOU DEVRANT!
-
Was writing code, came down, there's a military coup going on in our neighbor Turkey, thought I was hallucinating for a second...7
-
I said "Let's use C for this year's hashcode challange" as a joke.
Guess who's writing C code tomorrow3 -
So basically, we're all just constantly writing legacy code of the future. RIP programmer kids of today.4
-
Python developers starts writing his code with indentation and on multiple lines. Javascript developers look at him and writes the entire script in one line. Php developers looks at python and js developer and starts writing $$$$$$$$$$$$$5
-
Those little moments when you finish writing and refactoring the code and the result is elegant and just works
-
In job description :
.....
- You should have a good communication skills .
....
At the company:
JUST FOCUS ON WRITING CODE , No useless conversation3 -
because writing over 500 lines of java code using swing framework on a piece of paper with a pen is a perfectly good and healthy way to learn how to write code2
-
https://javascript.info/ninja-code
Hilarious article on writing “Ninja Code”. Great resource for y’all ninjas out there 😂
But seriously, don't.3 -
I hate how I've been writing code for years now, but I still don't feel right calling myself a developer. So frustrating!5
-
i am writing a piece of code that i already feel guilty about,
alternate is refactoring a complete module.2 -
for ( let i = 0 ; i < Number.MAX_SAFE_INTEGER ; i++ ) {
console.log("I will never write code before writing test again in my life 😭😭")
}5 -
Programming on paper (any benefits?)
For the programming exams we have at our university we have to write code on paper (like full code, not pseudo).
I feel that writing code on paper really limits my ability to express my programming knowledge, in comparison to writing code on the computer.
However, I cannot think of a real benefit of doing so. I mean most programmers (if I may generalize) have bad handwriting. Which is a loss-loss situation for both the examinees and professors (who have to read the exams).
Are there any benefits for writing code on paper?19 -
Writing some code to sift through some demographic data. Thought I could parallelize a few calls. Now I have a race race condition...
#blackcodematters1 -
Programming is 5% writing code full of bugs , 30% googling , 20% crying,20% checking your downvoted questions on stackoverflow, 25 % thinking of switching career8
-
Writing code is like writing poetry. You put your soul into it, you create something so beautiful that everyone appreciates it, but no one fully understands it. So comment your fucking code!6
-
When that guy *always* starts trying to aggressively optimize his code right after writing it. It really is the root of all evil. DK1
-
Just got to work and we have no power. Maybe hand writing code in university will finally come in handy. Lol not. :)
-
You just know that feeling when you finish writing the code and its probably the best method you could think of doing!
-
Me: Writing an amazing code
Client: say nothing
Me: making a stupid bug, the client complains, I fix it instantly
Client: WOW you're amaizing3 -
When you spend 2 days writing ~1500 lines of code and you finally put everything to the test and nothing works properly, FML :/1
-
Writing css is still better than having to refactor angular code.
aaaaarrrrrgggghhhhhhhhhh.
#whatamess6 -
Development time : 1 month
Architecture: 5 days
Writing code: 5 days
Testing: 5 days
Deciding variable/service/entity names: 15 days4 -
Improving my English using DevRant
Note: Will be of great help in writing precise documented code 😜1 -
I can barely code properly while sober. Why would I introduce drunkenness into that equation? If drinking impairs driving heavy machinery, by what logic would it do anything to improve writing code?4
-
I have suddenly started liking writing word documents rather than writing code ...
What’s happening ??!? What’s wrong with me !?!5 -
That moment when you know you're writing shitty code, but you continue writing shitty code because the boss says he needs it yesterday... (._. )3
-
Writing x86 assembly code in VS Code feels so weird. I mean, I'm using something that's built using crazily high level languages (JS, HTML, CSS), on top of a mammoth runtime environment (Node, V8), which is itself sitting on a modern and sophisticated operating system (Antergos), and I'm writing code that shifts bits and bytes around in memory in order to get one part of my C program to run just a little faster. Wow.1
-
<starts writing post in browser about losing code thanks to procrastinating git commit>
<accidental click>
<loses post>1 -
Yesterday was a day off so I developed a vue, vuex , laravel application. Today back to work and start writing some shity code!1
-
populator.call( from
,null
,to
,obj
,srt
);
People writing this kind of code should consider put a bullet in their fucking head.11 -
So i came up with indoor plant debugging
1. Keep a plant near your code
2. if you are writing a shitty code plant starts dying
☠️6 -
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 -
Legit my only answer to fixing shit code for a nursing app at work is.....
Writing more shit code. Man the dude that developed this before had 0 clue what he was doing.....and because shit grew out of control there is shitcode everywhere.
I like writing shit code though. It is good practice.
Writing shit code without knowing is one thing. You really do reach expert level when you write shit code WHILE being fully aware of it.1 -
Writing hello world for AI:
Code:
cout << "Hello World!";
Output:
> Hello Programmer!
> You guessed right, my name is World. World Destroyer!2 -
Writing code an testing it: works fine.
Not touching it for 3 weeks: can't compile it due to an gradle error
I hate Cordova!10 -
Writing a new tool, and it's looking pretty slick so far.
This is much better than meetings upon meetings. Maybe I should ask for a demotion so I can be writing code more often?6 -
Every developer thought what the hell my colleague is writing in code.
After watching own code after a year, who the hell is the developer.
Oops it me. No comments :) -
When writing code that has to be evaluated by a college prof, redirect all the best practices to /dev/null2
-
So I completed writing code to generate report regarding git commit in CSV. What my boss was saying is :8
-
Opening my IDE 3 (!) hours after getting to the office.
Then instead of writing some code I go to devRant to rant about it ;)1 -
Programmers after Writing some successful code be like:-
"Chill, chill just chill"
When that code went into Testing phase:-
"Where are you now? Under the sea.. Under the sea..."1 -
My wife asked me if I get bored reading and writing "in code" all day, when I could just read and write normal English.3
-
Writing code to put me to sleep.
try{
me.sleep();
} catch (InterruptedException e) {
throw Pillow.atInterruption(e);
} -
It's been over a week now without writing a single line of code. Maybe this is a reason for being so sad?1
-
I'm writing code then used Imperial class instead of Impression class. My brain is on star wars mode.
-
I get it. Hooks prevent code repetition. But personally I hate them. I don’t know why. I just don’t like writing them. Maybe it’s because I like writing “this”. Weird, right?3
-
I'm writing c# code, does not work, wrote the same code in python just to see if I'm thinking the wrong way, nope, it worked in python then fixed the c# code...
I might be a c# racist or I don't know.2 -
Learn to refactor your code constantly. You are not writing code for yourself. Think about the next person who has to look at your code.1
-
Talking about adrenaline sports in a class and our favorites.
Me ? Writing C code without checking for null pointers!
What about you ?1 -
Love writing comments, hate writing documentation.
Ugh, I know it is needed but just don't care about it as much as the code/comments which is a more direct 'here is what this does' approach. Writing idiot proof documentation sucks. Any little change? Have to remember to update the docs. Yeah, not happy.1 -
Writing ugly code should be a capital offence. And oh, I should be the sole judge of what is an ugly code or not.
No, this punishment won’t apply to me, thanks for asking.5 -
This code smells, its like a puzzle that only will get more complicated the more you try to solve it.
- me after plowing my keyboard for a week writing subpar ad hoc code -
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 -
When you know you should be writing your tests first, then your code. But you secretly do it the other way round anyway.2
-
is "drunk coding" really a thing? i can't imagine how.
i prefer working code, so when i'm writing code, i need my brain to be working. the "benefits" of alcohol, like reducing social inhibitions, don't benefit source code.8 -
Finished writing code for a feature. Begins code analysis. "Analysing code" moments later "Build Failed". Really?! fucking really?! you tell me that now?
Ok granted it is nearly 1AM here I should go to bed. Good night guys! -
Does anyone here reject a requirement because there exists no elegant solution to it and you shall die before writing spaghetti code?🤔6
-
Writing the smallest bit of code but being hella proud of it and no one to brag about it to... anyone?5
-
I picked what I’m good at so solving puzzles after that it’s simple.
10 years experience rule or 10’000 hours of writing code.9 -
I've finally got into the habit of writing descriptive comments in my code. I've always just got so into the coding and comment later when I don't know what the code does anymore xD1
-
If you are writing all your code from scratch, you are probably an amateur.
If you are copying and pasting most of your code, you are probably a beginner. -
Repair printers... Somehow writing code translates to the ability to fix any printer problem in their minds.2
-
Writing 20k lines of code and finally during compilation more numbers of errors....Life ends here....
-
Starting a new side project and I am determined to do it right.
Just finished writing the features list and now I'm writing the documentation. Not written a single line of code not, nor even created a repository.12 -
Did anyone here created a css style sheet for universal use?
Or writing separate code for every single project?18 -
Which JavaScript library guys are using? React or Vue? Or any other?
Writing React + Redux needs lot of boiler plate code :(13 -
Daft Punk in my headphones and I’m ready to gooooo! This makes writing code so much more enjoyable 😬
-
Is it me, or writing Swift after several JavaScript apps feels like writing "serious" code once again?5
-
Yo dawg, I heard you like writing code for code you already wrote. So I made you write some mock functions so you can write code for code you already wrote!2
-
Using vim without plug-in and writing my first ever python code (not "hello world") on it
Hail emacs!2 -
Thinking of writing new books
"How to become obese in a week?"
And
"Race between your code and yourself. Who explodes first!"3 -
Omg nothing is as frustrating as writing tests for a given file, that is needed to achieve 100% code coverage. Also not following TDD.3
-
Finally decided to do some planning before writing code but now I feel like I'm just procrastinating around writing the code.
The struggle is real.2 -
#kotlin
when you don't know whether you are writing code, or is it a comment.
doing #java for couple of years has its effects. -
If I spent as much time writing code as I did browsing Reddit I would actually be good at it by now1
-
"A programmer was arrested for writing unreadable code. He refused to comment."
H/T: (@Mr_Drinksonme)1 -
So tired that I can't even think about writing code this weekend .... Despite really wanting to. 1000 things going through my head that I could code right now.1
-
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 -
There is a period in developer's life when writing comments in your code is a good idea. Then, after some time, when you write comments, it means your code is not that descriptive, is not so good that you consider writing comments.2
-
Panic mode:
When you've been writing code without checking it for some time now, hit beautify file and everything shifts by one indent1 -
Sometimes people just don't understand the meaning of cleancode , it's so simple that....why not writing the whole code on one line?
FFS -
How my friends work day goes, I worked at the same firm and on the same project, I dont pity him.
70% debugging
25% refactoring - after his pull request was denied a few times, and had to rewrite that code in question a few time. I think most people go mad
3% test writing
2% code writing -
Why do I even spend time writing TODOs in my source code, I actually end up doing those after an hour or so. 🙄2
-
PSA: Writing code right now? Taking a quick break to check your phone? Make your effin commit. Git, SVN, etc.... Don't care. Do it.1
-
I've never gotten drunk while coding, but definitely a whiskey always is the finest accompoint to writing some beautiful code 😉
-
Is writing hand-optimized SIMD code even still worth it? Thinking about writing my own little math library for my game engine but I've tried writing a hand-optimized `dot(normalize(b - a), foo) >= bar` and somehow it's actually slower than writing the same thing using a math lib which is implemented exclusively with scalar math and auto vectorized by llvm
LLVM... I kneel5 -
When do you know your code is documented well?
If writing anything more besides your code feels absolutely unnecessary.2 -
//Untold DevStories
do{
Writes most efficient code.
.
.
Feel proud of himself.
.
.
delay(1 month)
.
WTF was I thinking before writing it.
}while(1)1 -
Writing my first code review. Even though it really is a nice review and I'm happy with the solution code, I still somehow feel like an asshole for each critique I make. Maybe it's unavoidable with code reviews / pull requests?3
-
You can be very good at writing algorithms and good quality code, but if your architecture is garbage, you'll be doing hacky fixes and end up with a spaghetti code.3
-
I'm simplifying my notes during the lecture with writing a piece of code. It's much faster than in my native language.1
-
After 30 minutes of fixing the code I finally noticed that someone switched the position of "actual" and "expected" when writing unit tests.
-
When you don't compile small code snippet and keeps on writing lines of codes and after writing large lines of code that one moment when you start compiling your code for the first time
Brace yourself for errors 😕 -
Who else likes refactoring more than writing new code?
I really like improving a system, rather than writing something completely new. Maybe it‘s because of my inescapable fear of introducing a myriad of bugs.2 -
When you have no time to learn by code snippet, you'd have to copy and paste it rather than writing it line by line.
-
I hate writing those user manuals, answering emails and describing planned solutions...
Just let me code! -
Writing requirements for an university project. I am boring! I want to code. But it should be done :(3
-
Writing the code until the application finishes has never been a problem by here the OMG report how do you do ?
-
The only thing worse than having to write documentation as you code is procrastinating it to the end...2
-
I have been writing code in swift for such a long time now any other language feels old and really clunky.
-
I thought the web standards finally are a bit okay to work with. Just learnt that writing responsive HTML email templates really really feels like writing code which we did in the previous century. Tables. Tables everywhere. It's worse than table inception5
-
I often get distracted by other incompetent teams and preach ddd and tdd to them instead of writing my own code1
-
There no tricks to writing tests, there are only tricks to writing testable code. - Misko Hebert(creator of AngularJS)1
-
I love Github copilot, he saves so much time, speeds up the code writing. N understands me at times too.4
-
Been writing some code on code block sometimes its get really annoying when it don't shows error most of the time error are so silly.
Like not using & while scanf1 -
How in the hell did I manage to learn to program in C++ without actually writing the code for past 2 weeks?
I didn't. -
Writing volumes of pure magic code in that weird state between tired and super tired.
Sleeping pills + redbull?
Wk172 -
Holy shit, writing code is fun again. Isn't it nice when things actually work for a change, and you can focus on code quality and improvements?
Hard work pays off. -
Hi everyone,
Writing code is exercise in precision. Since there are programs like sublime text3 / emmet
Do you recommend to use those as they they generate the code?3 -
Because writing code in latex is ugly, had to make a website to auto generate styled code for me:
https://txstc55.github.io/code-to-l...
Here’s a preview of a piece of code, in pdf, not an image18 -
Wanted to work as a Dev being busy writing code. Got into an MNC and just deploying applications and rarely writing code. :(
-
I am in a slump. I keep writing spaghetti code. Is there any platform where I can practice Object Oriented principles?1
-
When you spend more time writing tests for you code compared to the actual amount of time it took you to write the code logic #tdd1
-
I have been writing unit test cases after writing the code. Not the other way around. I do not think this is TDD . Is it ATDD?
Should I keep going on with this?
Thoughts?8 -
Bladee doesn’t really hit until ur drunk and depressed in your lonely apartment writing code while it’s storming outside.
-
Best experience: Writing code for 2 hours straight, running for first time and it works perfectly. The feeling is euphoric
-
How would one approach writing an ai that writes code given an objective and some data sources and some output format ? Theoretically
-
TFW you’re trying to balance the volume on a tut in one window and YouTube playlist vol in another…just need a halfway between YouTube’s lowest vol setting and mute 🙄7
-
please whats the easiest way i could train a neural network without writing a code,i have data set of about 700 images9
-
Writing code and coming back to it later and not knowing what you were thinking so you just rewrite it again1
-
Writing code in SQL Server Management Studio. I miss Vim. And don't mention the "Vim like plugings"8