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 - "lines of code"
-
"Measuring programming progress by lines of code is like measuring aircraft building progress by weight." - Bill Gates6
-
Get rid of required minimal lines of code for project assignments.
I
Will
Slap
The
Fucker
Who
Codes
Like
This
As
Many
Times
Per
Fucked
Up
Line11 -
In case you ever want to hack into a computer with 14 lines of code only. This algorithm is just genius.25
-
That moment when you've spent an entire weekend trying to solve a problem spanning hundreds of lines of code but then you find out there is a library for it6
-
*Cuts 7 slow lines of code down to 1 fast line of code*
*Looks around to see if coworkers can see me*
*Pumps both fists in the air*7 -
It finally happened. Upper management is demanding a historical (7+ years) of lines-of-code analysis of our entire code base. They want to justify our positions by validating that the lines-of-code has increased in accordance with the economy. I am not kidding. For every year, they expect some percent increase in our lines of code.17
-
I made a script for this group to verify their data, but they didn't want to use it because it's "only 50 lines of code and might miss something".2
-
Completed a project for my final year CS degree and my professor rejected saying it is of very few lines of code.Hope he learns to evaluate projects on complexity and logic rather than number of lines of code. :/29
-
Just reduced 900 lines of horrible code into 106 lines of less horrible code..
QA: do those 106loc really do what the 900loc did ?
Me: yes
QA: really?
Me: yes
QA: are you sure?
Me: NO. I was lying. Maybe it does. Maybe it doesn't. Maybe you should run it and find out.
QA: *immediately releases for prod*3 -
I once wrote about 100 lines of C code without compiling or testing in between in notepad++.
And it had no errors and worked.😎4 -
Shouldn't be necessary if you just write understandable code xD..... Some people just write stories in between 2 lines of code....15
-
Wanna hear THE Worst Thing ever seen:
NOT EVEN A SINGLE SEMICOLON( ; ) IN
>200 lines of JAVA CODE.
*Blind Eyes*9 -
2 Days.
Thousands of lines of code analyzed.
Dozens of log files across 6 servers.
Countless pots of coffee.
Much power metal.
...
One line of code.
Bug fixed.8 -
"Just about every aspect of your every day life is run by or depends on millions of lines of code.. have you hugged a programmer today?"1
-
Do the 'best' programmers use fewest lines of code?
The best programmers write the appropriate number of lines of code. No more, no less.10 -
Project manager: how was the day?
Me: wrote a few lines of code
Me: ran the code
Me: full of errors
Me: I cried8 -
Well fuck me. Just went to my first meetUp with a group of Haskell programmers.
I think they broke Enigma in 3 lines of code.
Serious shit.
Hats off to those guys!7 -
How can testing and debugging 10000 lines of uncommented, obfuscated code get worse?
Testing and debugging 10000 lines of uncommented, obfuscated code in visual studio.5 -
Given a couple of lines of code, I can predict with an 80% accuracy which of my team mates wrote it.9
-
I just changed a bunch of comments, log entries, and removed some blank lines from one of my controllers. Zero functional code changes. Everything worked before; now it runs only half the code, breaks, and throws strange errors.
Fucking hell.
Screw today.6 -
Beginner: I wrote 1,000 lines of code!
Intermediate: I deleted 1,000 lines of code!
Expert: I prevented code from being written!1 -
I committed a bug fix that was about 4 lines changed but a full day of critical thinking.
The next day my boss tells me, that I clearly wasted company time and that I should be producing at least 200 lines of code a day. When will people learn that lines of code is not an accurate measurement of work accomplished?3 -
This guy's calculator program in python has 20000 + lines of code
Link: https://github.com/AceLewis/...17 -
Wrote 2000 lines of working code last night. All of a sudden teammate who didn't do shit says in group chat:
"You're slow man"
Fucking teamworks5 -
Adding a feature to 18 000 undocumented lines of code, written in PL/SQL. Oh, did I mention it was just a single function?3
-
When you can code thousands of lines but is lost of words when trying to communicate to humans how you did it.4
-
Deleted over 1'500 lines of code over the last 2 days and replaced it with 80 lines of readable, simple, generic code.
And I'm feeelin' gooood 🎶7 -
Dev of my team coding on Idea
Seeing him using space-bar to format copy pasted lines of code
Me: why don't you use ctrl+l shortcut?
Him: I don't use shortcuts while coding
Me: at least use the tab
him: nope.
He formatted 3000 lines of code with space-bar. He's not even using notepad. 😐
WHAT THE ACTUAL FUCK.9 -
@dfox
!rant, it's the Feature request
Possibility to post `a code snippet with monospaced font` would be usefull.
Or even
```
def multiline_code():
from 2 to Inf:
"Lines of code"
```
Sth like in markdown.9 -
I hate when someone compares two languages depending on which one gives a "Hello world" with less lines of code.6
-
Once i found a legacy code where the old dev avoided the execution of some lines by wrapping them with a
if (1 == 0) {...}6 -
Not commenting my code because "it's so clear what I'm doing, how could I ever forget what my own lines of code do."5
-
"Holy shit that was fucking traumatic to look at" you whisper under your breath
That moment you get the satisfaction of deleting 2468 lines of legacy code.5 -
I finally ended my first side project ever. I challenged myself to write a Tetris game in vanilla JS (with the less possible lines of code), some algorithm was tougher than I expected (2d array hell) but I made it ! 500 lines of JS code, I feel I could refactor some stuffs now...4
-
Developing a Haskell project, indenting everything with 3 spaces. Develop to over a million lines of code. Use Darcs as a repository. Run the code on AIX powerpc architecture. Suffering from special snowflake syndrome.9
-
An open letter to those who think lines of code == a decent metric for productivity:
NO!!!
Just because I wrote 10 lines of code all day (yes just 10 very well thought out, many times rewritten) lines doesn't mean my day was unproductive. Quite the opposite, while other devs pad their shit with:
//Adds 1 to I
I++;
Yup. Quality code. LOC doesn't lie.10 -
My JS function is now lazy loading, expressive, and uses 12 fewer lines of code! 😃
It no longer works, but
... no one is perfect. 😅3 -
Newcomer: I can do fizzbuzz in 6 lines of code
Experienced: I can do fizzbuzz in 3 lines of code
Professional: I can do fizzbuzz in 1 line of code
Enterprise: you did not create the user epic for this problem, I can't accept these solutions until you have done this. Please speak with Mike on getting this properly setup. I expect a full report of this by Monday.
Them: but it's Friday...
Enterprise: Get it done. I am not paying your overtime either
https://github.com/EnterpriseQualit...8 -
That moment when you write 200 lines of code and it compiled, runs and passes all tests.
Sweet Jesus!6 -
This goddemn telephone keeps on ringing like I will never have peace of mind ever! I couldn't even write 10 lines of code straight. 😤11
-
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 -
Coworker: "Yeah, I know the code module is 25K lines of code, but don't try to break it up. At some point I realized that they just have to be that big."
Me: 😦3 -
I took my old project and I was like "Why don't fix it and open source it?". So from 2785 lines of code in main class, I've cut it to 1662 lines of code while keeping same functionality plus some more...4
-
All fun and games until you inherit a legacy c project with 30k+ lines of code and a habit of leaking memory and segfaulting intermittently.
That's my worst nightmare at least.3 -
Just refactored 100+ lines of madness to 5 (FIVE!) lines of code. It's pleasing me and shitting me off at the same time.
Some people still get paid per line of code, I'm convinced.21 -
*finished 4000 lines of code for an application update, vb.net app*
Manager: can we turn this into a Web app instead of a windows forms app?3 -
Once got 3rd place in a company "code golf". It was open to any language or platform.
I built a functional minesweeper game in Excel with 600 lines of code, complete with color and animation.
The JavaScript version won with 342 lines.4 -
Measuring programming progress by lines of code is like measuring aircraft building progress by weight.4
-
Just reviewed collegues code: 80 lines of if statements that are so long that I have to scroll sideways on my 27" screen. Just wrote the exact same thing in 5 minutes and 10 lines! If you don't know how to use loops in your code please learn something different and stop pissing off skilled devs 😡5
-
HI there
First post always feels like the first lines of code or first commit ever ! It's exciting yeah ?
Like Hello World app
Wish me luck6 -
I dont see why recruiters find it relevant to ask how many lines of code a piece of software has. Like seriously why!?!?!?!
It by no means measures the quality of the code or the usability or complexity of the software.6 -
A: Done job for today.
B: Let me check your code.
A: Sure.
B: Only 6 lines of code in a day?
A: Yup, 6 line of code is better than 1000 thousand line that can do the same thing.
B: 😑😑😑 -
Has anyone told themselves they just want to fix one thing, then have it turn out to be writing a whole new class with 385829 lines of code?1
-
So our class had this assignment in python where we had to code up a simple web scraper that extracts data of the best seller books on Amazon. My code was ~100 lines long( for a complete newbie in python guess the amount of sweat it took) and was able to handle most error scenarios like random HTML 503 errors and different methods to extract the same piece of data from different id's of divs. The code was decently fast.
All wss fine until I came to know the average number of lines it took for the rest of the class was ~60 lines. None of the others have implemented things that I have implemented like error handling and extracting from different places in the DOM. Now I'm confused if I have complicated my code or have I made it kind of "fail proof".
Thoughts?8 -
Code reviewer keeps removing my comments saying, "This will only be read by other programmers, the code should speak for itself".
<hyperbole>
This is the exact opposite to back in uni where for every line of code they demanded 2 lines of comments!
</hyperbole>9 -
Code quality check punishes writing massive documentation strings due to "too many lines of code"
FML1 -
Code is not self documenting..
reading 10k+ lines of business logic does not take the place of well defined documentation.
Mic drop.28 -
One guy left the company and left me nodeJS project to maintain. It has a file with just a few lines short of 1700 lines of code.14
-
We had some cake in the office today. They think we're celebrating someone's birthday, when in fact I'm secretly celebrating me deleting 33k lines of code instead 😁1
-
When you are working on a small project that is ~500 lines of code, but you have 27mb of node modules7
-
Spent 4 hours trying to fix a problem which fixed in just 4 lines of code.
My wife feels sorry for me.5 -
Found in the PCIe driver code for something I have to work with:
if (false) {
// 200 lines of unnecessary code
}
You ever heard of, you know, comments?8 -
When you have to repeatedly explain that typing out the code is the easy part and deciding on the correct lines of code is the hard part.
-
I rewrote something in clean 20 lines of code, while my coworker had worked hard and ended up with like 80-100 lines. I did not talk to him before I did it, but asked him to review what I did. I still had to learn how to properly work together..3
-
When your pm forces you to push new features out too quickly and you're slowly digging yourself into a messy hell, knowing you have to one day refactor thousands of lines of code.4
-
When you screw up the Python indentation beyond repair, and you have to re-indent 100s of lines of code -_-15
-
I just did a code review on an old project of mine. 10k lines altogether. 5.7k TODO's. I can't even.4
-
Email chains, screenshots shared in google docs, two comments per 1k lines of code, and sticky notes are sufficient documentation, right? RIGHT?2
-
re·fucked·or
[rəˈfəktˈôr]
VERB
To refactor code into a state much worse than when you started. It is often accompanied by files containing many lines of code, usually with an obscene amount of nesting.4 -
Riddle me this:
While calculating software reliability in number of faults per million line of code, would the software become more reliable if the number of lines are increased instead of errors reduced 🤔8 -
I just joined a new organization and saw a single file with 9433 lines of code. Advance RIP to me.8
-
when I got hired my boss wrote a cms in php that's 50,000 + lines of php code, without a single line of documentation. Yeah can you tell how my first few weeks went?1
-
After finishing a long and arduous refactoring I got to delete some hundreds of lines of really horrible, unmaintainable and broken legacy code. Feels absolutely great.
I love the smell of deleted code in the morning. -
I was fixing an issue where I have encountered a Java class written by a recently hired senior developer with 1K+ lines of code.
Inside that class....
One Method => 1K lines🙄🙄
I don't know where to bang my head now😐😐6 -
that moment when you write 100 lines of code for particular purpose and at last you find built in function for that purpose
f**k f**k f**k -
1.5 million lines of undocumented spaghetti code. Think 500~1000 lines functions, 5k+ lines classes, string html concatenation. You name it, it had it. And complete unwillingness to improve it by the company. I eventually quit after considering doing it about 2, 3 times.4
-
Fuck this completely abysmal CMS!!!!
Not even god damn Einstein would be smart enough to understand this stinky pile of legacy code!
No, it's not enough to write an HTML template in PHP with less than 500 lines of code, noooooo, every god damn template HAS TO BE AT LEAST 3000 FUCKING LINES OF CODE WITH RANDOM INCLUDES EVERYWHERE!!!
Every fucking thing I fix spawns at least 2 new bugs! I FUCKING CAN'T!!!
I swear, if I meet these fucking worms of developers... someone will eat fresh turds mixed with puke from a highway toilet!17 -
When u send ur code for review and instead of getting comments for logic u put in, u get 10+ comments regarding variable names , extra lines and formatting.
LMF7 -
When in internship you have to read 150000 lines of code to make changes and the code does not have any comments, no indentation, no documentation, no wiki. You'll be like fuck this shit. I'm outta here.1
-
It isn’t easy being a programmer. They code all day, debug all night and go through thousands of code lines trying to clear up all possible messes before going live with their code. Sometimes, it takes a fellow programmer to understand the hardships of another programmer. The same can be said of their jokes.1
-
Once upon a time, devs were evaluated on the number of source lines of code written, and how many bugs were found and fixed. Needless to say, a ten line piece of code became 150 lines, a couple of bugs would be thrown in for good measure.4
-
When you find another student code..... it repeats the same code for the LCD in 340 lines of if ;-)1
-
When you change 200 lines of code all over the place in a class and then realize that you forgot to pull 17 commits from origin 😖2
-
*me browsing through my company's code style guide*
"You must not use spaces for indentation" - awesome!
"Files must not contain more than 4000 lines of code" - wtf?9 -
Yayyyyy! I got the stickers 😆
Thank you @dfox and @trogus for building this great dev community. We owe you 1000 lines of code :p1 -
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
-
When you're judged by the number of lines you wrote/commits you pushed/any other non relevant stat rather than your code quality1
-
Guess who implemented a whole new feature in 3.5 lines of code and a simple CSS class.
This awesome guy.
Take that, frameworks.6 -
Got a middle software developer position at a great company.... wrote 10 lines of code and spent 90% of the time in calls and meetings.
-
When you're really fuckin proud of that extremely clean, elegant, efficient 30 lines of code. It might not be important, but holy shit it's pretty!!3
-
!rant
The AH-MAZ-ING feeling you get when you write 200 lines of code without compiling and everything just works as planned!!!
YAY! -
Today I was refactoring code with 10 levels of indentation. Java 8.
Lambdas.
Each one is a block which spans multiple lines, that makes the outer ones hundreds of lines long.
This should be forbidden: () -> { ... }
If you don't understand why, please never send me any code.
PS: intellij shows multiple errors on each line.
PPS: my colleague should be happy that I do not use swear words.6 -
"One of my most productive days was throwing away 1,000 lines of code." - Ken Thompson (co-creator of Unix and Go)1
-
Fine don't take my suggestion during refactoring old code. Keep the python code over 100 lines of code...we could have cut it in half, but whatever
-
I have to fix a memory leaks of two jest test files of
2 FUCKING THOUSAND
lines of code each.
The End.15 -
Assigned to completely new project. Whole day researched and now give report how many lines of code written.3
-
One thing I learned early on was...
"If the bug is not where you are looking...look somewhere else."
I just spent 2 hours looking at 50 lines of code pulling my hair out why it wasn't working. Guess what...those lines were correct. The bug was somewhere else.4 -
When you spend 2 days writing ~1500 lines of code and you finally put everything to the test and nothing works properly, FML :/1
-
Reviewing the code of my then new CTO, who said "I can also code and have experience in Java" - 50 lines of code, I added over 30 comments to his Pull Request. In the end, I rewrote his complete code.2
-
!rant
Designed and written > 1.3k lines of code this week and 98% test coverage..
CI and CD set up and working..
Was a Long week and very exhausting but I feel really good now, happy to start the weekend with whiskey and beer.
This is gonna be one of my most productive sprints so far..
Hope you all had a successful week as well.
Happy Friday 🍻
And please don’t start with any „that’s nothing, I’ve written 5k lines ones“ comments.. It‘s professional, stable, optimized code and code I can actually be proud of.4 -
There was a task of fixing up a payments page that features pretty complex logic. Initially it was like 200 lines of code, seems short but it was a fucking spaghetti mess. Never seen more cognitively complex code in my life.
So I delete the spaghetti and pull out the 500 lines fucking state machine. It works perfectly. It’s perfectly understandable even though it’s longer.
This is how I deal with problems. Shorter code isn’t always better code.4 -
Just looked at a fellow devs code (has 4 years experience). His test rig has the same 5 lines of code, copy pasted in the same file ... 400+ times.
What is the appropriate action to take?8 -
Show 10 lines of code to a dev.
Dev: It could be improved here and there, it can be optimized way better etc.
Show 5000 lines of code to dev.
Dev: Looks good!5 -
fuck off with the “do x in y lines of python code” it’s getting so goddamn annoying. yes python is concise. yes libraries do everything. you don’t need to show off someone else’s work with clickbait.
everything is like
“make a web server in 2 lines of python code”
import http.server
server = http.server.serve()
“mine bitcoin in 2 lines of python code”
import bitcoinminer
bitcoinminer.mine()
“do crazy math with 4 lines of python code”
import complex
import numpy
num1 = 1
num2 = 1
num3 = complex.addVectorMagnitudes(num1, num2)9 -
I fckin love it when you start working on a new project in a new team and the 5000 lines of Angular code are acompanied by 0 documentation.
-
What happens when I say "uhm... and what if I remove this two little lines of code?"
Ctrlzctrlzctrlz -
> grep -c -e '// BAD HACK:' importantproject/src/main.cc
4287
our most important piece of legacy c++ software with about 44 thousand lines of code and next to no doc aside from inline comments.4 -
This new intern chose to write CSS instead of LESS/SASS even though I showed him how much time/lines of code were saved using LESS because he was "so used to it". Go ahead.. Enjoy writing 1 million lines of css to accomplish the same task.1
-
Day no.1 with Googles scholarship course ad udacity..
I learned that a line of code is "pew" so many lines of code is "pew pew pew". Now I'm ready to do serious android app development.2 -
So I've been just assigned a code review. For a complete new feature.
It's over 20k lines of Code.
Time to quit -
Updating a legacy written by the ceo from swift 1.2 to swift 3.1
No storyboard, main controller with 2200+ lines of code and viewDidLoad method with 500+ lines of code.
Almost no comments and code is illisible.
Weeeee8 -
Actual production code:
while(1):
//A few lines of code here with a conditional break.
while(1):
//More code.
Have you ever just had nested infinite loops...4 -
Deleted 1000 lines of code that I would need at a later point. Had a mini heart attack once I found out the code was no longer there...3
-
A legacy custom made WordPress Theme.
Old developer made main styling sheet with 8000+ lines of code with no component separation. -
My goal as a intern achieved, my dream of being able to understand 113,000 lines of code for their website priceless.2
-
Manny a developer has been foiled by a single random misplace punctuation mark hiding in a million lines of code.3
-
Shit swizzler in school group project doesn't delete ANY code. Just comments out everything, everywhere.
Some of the files is scrolling through 30 lines of comments, 2 actual lines of code, 20 lines of comments, 5 lines of actual code, ...
Somewhere, in between all of his shit code, I just want to add: "Fucking stop with the comments, you wheezing bag of dicktits"
Oh and this afternoon, he asked me where he could find the Bootstrap code I'd written. He couldn't find 'the file'. I had to explain to him that it's kinda everywhere, throughout the HTML.. As a novice in many many things I fully understand not knowing everything. But the little shitstick told me he 'uses bootstrap all the time' just two hours before he asked me this.
I swear everything this guy touches turns to shit. One more day of this and I'll slap the bitch out of him.
P.S. Free virtual advocado for the first person to guess what movie inspired my insults (easy, I know)6 -
Spent all day refactoring lots of confusing code down to just a few lines. I am satisfied, frustrated and drained all at the same time.2
-
Trying to understand other people's code like:
- 6 README, in total 7 lines (that's all there is for documentation)
- 40% of code is commentary like (original code, not altered...)
// if(a = b)
// c = d; // this is not working -
Sometimes 3 lines of code can make you question your abilities about yourself, make sure you comment them 😭😭😭😭😭
-
I feel shitty cause I've never wrote near 100 lines of python code or just a large number of lines in any language. I want to write large amounts of code that will actually work.10
-
“Let’s spend two pages and 100 lines of code on bad practice before you learn good practice in 5 lines.”
Django (& REST) tutorials in a nutshell 🙄1 -
Whole day was a debug session with several hundred lines of code and tons of if else conditions.
Found the bug.
Time to go home.
I am done. 🤕6 -
In my previous job, we had in c# a class called static manager. This abomination was thousands of lines long, every member static. Eventually the dev responsible, did split it in to multiple files each thousands of lines using partial class. Worst part? It wasn't even legacy code yet.1
-
The best moments in my career were when I released lines of code as a product and received the feedback from people!!
-
ticket sized small: figure out why this thing is failing, get the old MR to work, test it
month old MR, over 8000 lines of code changes
FML5 -
> be me, associate dev
> slack mid-level dev 40 lines of code
> I have never written a REST api before
> his response is "lol"3 -
>be me
>drinks coffee daily
>goes a day without drinking it, tries to code
>has problems focusing & getting things done
>has trouble staying awake
Never code without drinking coffee
My face when I had 15 errors in 40 lines of code2 -
The problem: callback hell. Code would be indented by three hundred fucking spaces just to do some async work. Your code would end with thirty lines of closing curly brackets
Solution: async and await.
The problem, reborn: NoSQL. Code is indented by three hundred fucking spaces just to run a query. Your query ends with thirty lines of closing curly brackets.4 -
FUUCCK! These two lines of code just cost me 6 hours of debugging... At least I learned I need to fix my Deserialization code too.
servicePassword: this.APIUsername,
serviceUser: this.APIPassword -
So I had to refactor some code that looks like it was written by someone who was getting paid for the number of lines of code.
-
I asked the guy to make changes to this file that amount to 2 lines of code, not even, just 2 numbers increased by 1.
2 months later I'm getting all these complaints so I finally go look. 200 lines of code changed! I don't even get it but I sure get to fix it! -
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 -
Writing 20k lines of code and finally during compilation more numbers of errors....Life ends here....
-
Installing a Library update, so that 2 lines of code can put some space between 2 list items
Thanks google2 -
I just realized that I subconsciously believe more lines of code means slower code.
It's not intellectual. I understand that little lines of code often are just calling other code. That this is not how Big O works or does not replace benchmarking and that some data structure requires a lot of code for immense speed up. E.g: B-Trees with sizes at page size for big amounts of data read from a secondary storage location.
But still, when I see a function with just 3 to 5 lines, my inner monkey believes it must be fast.
Know your biases, I guess.3 -
Today is the day when writing even 5 lines of code seems like a huge task.
Mainly because I am feeling really drowsy in the middle of the day🥱 -
Finish my biggest project :)
In 2017 the project was counting 60k lines of code (which doesn't look as too many) but I was able to remove some libraries and make my custom system, now the project is counting 10k lines of code :)
My dream is to open in these months -
Maybe I should stop watching the office while I code, I have only gotten like 50 lines of code down in the last hour lol.4
-
These people belong in a specific kind of hell....
I have to bodge several thousand lines of code where this is the standard....
Can't wait till we begin coding the replacement :D1 -
If we really are living in a simulation, it's
fucked up that I'm made out of code
but can't write 3 lines of it without
googling the syntax.1 -
I have a single WinForm class, stuffed with all the logic it needs. 11k fucking lines of fucking nightmare code!!!4
-
Billing by hourly rates is like getting paid by lines of code: the worst coders will get the highest scores.5
-
I wrote 170 lines of PHP code consecutively and I haven't ran it yet...
I'm scared of sending that form.3 -
I once thought writing huge lines of code makes it tough and messy, when i was learning Java.
Then I met with BrainFuck...
Name is trully justified. -
I just had to spend 10 minutes of my life going through 674 lines of HTML code and deleting every font tag, with there being at least one font tag on every line.2
-
Does anyone else's manager measure their performance based on jira ticket count or merges to master? It feels like a new lines-of-code measure to me...5
-
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
-
The feeling after you refactor 4000+ lines of ugly legacy code into 2000 lines of code placed in a framework ...these 4000 lines also all one document
-
My coworker had to face this one: When SonarQube shows you 50 years of technical debt within 1.5 million lines of code from someone else and you have to fix the worst.
#FeatureDrivenDevelopment -
learned android development for a week and tried to use google cloud messaging
just like learning few lines of php code and trying to make facebook1 -
I hate so much when i write a lot of number of lines in my code and when i start the debugger there are a lot of errors...... I Forget to initialize a variable 😑
-
I would love to finish a personal project that I've spent three summers making. Wrote 3500+ lines of code and never got around to finishing it. 😕3
-
Just went over some of my old horrible code from before i started studying. I litterally went from 104 lines of if/else statements to about 15 lines with loops. Then down to 2 lines with lambdas...
I saved 102 lines of actual code. And the runtime! I had a loop count to 10000 with no body! It helps to study apparently :/ -
Wrote some code, not realizing code has TOCTOU race condition until a healthy 4 hours later, and the fix was to move two lines of code upward. I hate me, myself and I.
P/S: What happened to PrivateGER, devTea and linuxxx?3 -
TFW you complete a TopCoder problem in 20 lines of code, only to find another solution done with 4 lines and you have to spend 15 minutes just to understand it..1
-
when your team member writes 30 lines of looping code which is really just a 1-line filter & map call.
-
i once explored our codebase and copied every line of commented out code into a text file. that file is over 350 lines long.1
-
Why does it take years to create your personal website when you can write 100s of lines code in a matter of days?4
-
Because of this spaghettis shit of code I was unable to make some progress. now I have to bullshit my progress in the standup. because telling I wrote 0 lines of code feels like I should be ashamed of myself. FUCK!3
-
That moment when the code that was supposed to be removed in only commented out!!! The guy butchered a bunch of classes by commenting out about 1000 lines of code
-
That dude that doesn't really understand the concept of cariables and hardcodes a caesar encryption/decryption.
I have no words for this. 1000+ lines of code -
I... Hate... Uni coursework. Would much rather be coding my own projects than reading 1000 plus lines of code to write a single class4
-
When I code in Qt Creator, and a function get to be more than 950 lines of code, autocomplete/autoformatting stops working.
I feel like Qt Creator is judging me...2 -
Thanks VS code for randomly deciding to fuck up over 1000 lines of saves yet uncommitted code.
I seriously just want to cry8 -
client A: "why don't you code in Java then? it looks much more authentic! those alien-like structure just so cool to us!"
me:"cause i can do the same thing with around 15 lines of code using Python instead of 100 lines in Java...."
client A:*confusing look*
then we have a 15mins of awkward silence time...
please don't set me to meet client T_T...1 -
Since I started living by Sandi Metz rules for devs, i feel like my code has really improved.
My favorites:
* Classes can be no longer than one hundred lines of code.
* Methods can be no longer than five lines of code.
I hope you find them as usefull as I did.2 -
This was a few years ago in my 2nd year of college. my very first foray into web dev for a team project. long story short, I wrote over 16,000 lines of code. teammate #2 wrote barely 1,000 lines. teammate #3 wrote around 250 lines, around 200 of which I had to rewrite anyway because it was such complete trash. and yet, still, it was this class that showed me I wanted to go into web dev. LOL3
-
If I get a line of code for every time I say I'm gonna be productive, I'd have more lines of code compared to the amount of lines of code I've coded.
-
Somebody write more and more ugly / incomprehensible lines of code for 1-2 beautiful line.
But the bug is always in ugly code.
I hate these programmers, I hate these programs!1 -
When you have a pull request with 2 lines of code and no one reviews it...
https://github.com/kadirahq/... -
Amstrad CPC 128 book(GWBasic), my first lines of code about a loop game (Thousand of lines without debugger or memory save!) So it was like woot after 3 hours writing to see running the endless ship gamming trying to avoid walls. I will never forget that experience when I was 9-10 years old and get back to code at 23.
-
As a student after multiple hours of stugle you find out those 30 complex line of code could fit in 4 lines
-
how can this fucktard make so many errors in his fucking 50 lines of code.
i need a motherfucking punching bag or im getting some health issues maintaining this code any longer. DO REVIEWS GUYS!!!! IM TELLLING YOU!!!! -
When you write 20 lines of code, that you don't understand, then you can be absolutely sure, that there is a way to solve your problem in 2 lines of code.
-
Soooo I have been taking my learning experience to Hackerrank.com, so that I can give myself some training with actual problems to solve instead of all theory, and today I'm working on one of the Challenges, and and I'm slowly getting it and working at it, then im looking at the code and think man I can clean this up a bit and merge things and make it look pretty! So I slave away and making it look pretty and stuff. I look at the code, all 70 lines of code and I'm so happy with my work. I pressed submit, of course I passed it! I had made sure every bit of my code made sense... After I finish and am so happy, I decide to take a look at what other people answered......
While my answer was 70 lines of code, almost everybody else's was AT MOST 18-20 lines of code!! Uggggggghhhhhhhhhhhhhhhh Makes me feel like I got a LOOOOOOOOOOOOOOOOONGGGGGGGGGG way to go...3 -
I learned my first lines of code in school. Oh the feeling of making "Hello world" appear on the screen😭😍
-
It works,
It works,
It works,
( Error on line(s) 34 45 83 100)
But I only have 98 lines of code,
Goes back, fixes code
(Error on line 23) -
writing bunch of lines of code in C just to make a program that says "I love you" but the answer you get from her is:
printf("i have a boyfriend") -
Rewrote 1000 lines of code(literally) because someone else didn't do their job properly, and now they've been given another task.
Frankly though, I don't think they're capable of doing it at all. -
My colleague once wrote 160 lines of ruby code that violated rubocop in 102 lines (and he thinks he is a "clever" senior)2
-
We have an automated check for code coverage. One of the rules "It shouldn't decrease after the change".
And then you delete unused code from the class :)
Now total number of lines decreases and % of uncovered lines increases :/ -
My senior dev instructed me to swap lines of variable declarations and rename one of them so that sonar will not complain about duplicated code fragments.2
-
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 😕 -
Did an interesting experiment a few days ago, I counted the lines of code in my dissertation project. My project consists of a cloud hosted web service which allows video streaming, search and upload, as well as an iOS frontend which allows users to record their own video and upload it. The entire project spans about 2,400 lines of code. Then I looked in my work iOS project and saw a JavaScript file for manipulating form elements which spans about 2,100 lines of code. The whole project is about 100,000 lines of code and doesnt do anything special, it just calls a web API and saves/displays results mainly.
The effect of “Enterprise Architecture”1 -
Do you ever sometimes finish your day and look at your code then realise you’ve only actually written less than 100 lines of code but have no idea why?6
-
You can replace this spreadsheet with just four lines of code
Thank you for remembering me that somewhere there is still hope....for others1 -
How many lines of code should one be looking at at any given moment? Of course you could zoom, but how many lines do you guys think is ideal?
Currently I have 33 when in full screen.3 -
taking hours for string/object conversion to handle cookie based favourites depending on number of clicks left me considering being dumb, finally seeing just 15 lines of code.
-
Have anyone of you guys ever build a medium or large application with golang? I mean small services with 3000 lines of code are just fine but what about 10k, 20k or 100k loc? Does anyone has experience with such an app?20
-
Am I that bad at JS or long files of Javascript code (200+ lines) are much worse than their PHP equivalent? :))2
-
when someone judges you for lines of code. and all you do is "please tell my boss to pay me like that".
-
APi platform for Symfony :
How to transform a system which worked perfectly with 10 lines of code for each functionality with 100 lines of annotations and requires...
Why so much anger ? -
Ooh this project.. So I was put in charge of creating new pages, and general maintenance as the site was already built by a previous dev on the team before i joined the company. I take a look at the design, fairly strange forward quick analysis most of it bootstrapable, some custom code is needed for some parts so no issues there.
Looks at the code, only the bootstrap grid system is being used, the rest is custom code, an additional 9K lines of CSS and 526 lines of JS. What the hell is this.2 -
Code examples with dozen of lines in the project documentation (docx) are screenshots... lazy to format or to prevent simple copy and paste? That's the question.
-
That Brain Freeze moment when you see 62 downloads of 5$ image with few lines of js code on Sublime in photodune matketplace 😵😰😨
-
That time when you ask colleague on different project to paste their code, pastes 2000 lines of code with no indents...whyyyyy?!?
-
Have to refactor one Big shitty class with thousands of lines of code... Thanks to Bachelor thesis1
-
Is huwaei insane for saying that 1 line of their harmonyos code can do 100 lines of android code. I watched this in a coldfusion video. Link :- https://youtube.com/watch/... , The line I mentioned is at 11:554
-
Posting here after more than a year and getting through the pandemic.
I typed more lines of code during this pandemic compared to last 2 years. -
Ok Google. Thank you for providing a sample app to take a picture. Also, FU for making the basic sample camera 2 fragment in excess of 1000 lines of code.
-
Couldn't they come up with a shorter name than reinterpret_cast? It makes lines of code so much longer if you have multiple casts in one line. 😥1
-
Hey guys!
I am looking for good "whats wrong with this code" snippets with as little lines of code as possible!11 -
Let us all have a moment of silence for the wasted lines used for individual variable declaration... we were so young and so dumb... YOU ARE IN A BETTER PLACE NOW!!!
-
"I'm going to save space in my source code file by using obscure abbreviations for all my #define statements, and cramming as much C code into as few lines as possible."
- teammate who apparently has no idea how a preprocessor works, and who thinks "code density" literally means cramming lines of code in as small a space as possible in the source file! -
A computer programmer is just a device that can transform one or more cups of coffee into a hundred or more lines of code.3
-
My day:
-continue working on a project which i haven't -committed for 3 days
-add 20 lines of code
-mistakenly deleted the route file
-restore the file (thinking I'm saved)
-open the file
-50+ lines of code gone2