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 - "same code"
-
Client asked to change the shade of blue to a little lighter shade. Deleted the hex code and typed the same hex code again and showed it to him. Instantly approved.8
-
I just can’t imagine it.
( ._.) “Hey dude, I code. Do you?”
(.-. ) “Same”
( ._.) “Friends?”
(.-. ) “Friends”125 -
And that's why there are scientific programming languages:
"Hey, you are the Java guy, aren't you? My Java is broken!"
Me: *Takes a look at the code*
if ("4+4".equals("5+3")) {
System.out.println("Same result!");
} else {
System.out.println("Different result!");
}15 -
If it wasn't for coding I wouldn't have met my boyfriend. 😊
We started working at the same place and position with 2 weeks apart, and quite quickly we turned into best coding buddies which eventually turned into more!
2,5 yrs later we no longer work together in the same company, but we do live together and code together on side projects at home ☺️8 -
Client: Why do I need to pay for a website. You're just copy pasting images and text from a word doc.
Me: There is a lot more to it, like code...
Client interupted me before I could finish: Why am I paying you for code I can't see!
Same client told me to "just phone google" to put their site on the 1st search page.14 -
Code not working.
Comment out code.
Slowly rewrite it bit by bit till it works again.
Check against commented code.
They're the same.
Wtf.
Seven hours wasted on this shit :/3 -
Sad story about refactoring.
Programmer: I cleaned up the codes, extract reusable methods, reduced repetitive code and improve overall readability and maintainability.
Manager: why the page still display the same.
Programmer: ...7 -
When you made a commit that deletes more code than what it adds. And the features are still the same 🎉8
-
Latest from my team,
One of the Dev copied code from a stackoverflow question.
Got same exception as highlighted in the question and started complaining that his code does not work.3 -
I spent three hours coding some algorithm and then looked it up on Stack Overflow out of curiosity. Big surprise. Someone did the exact same thing but more effeciently, and had all the code in his answer on SO.
Ughhhhhhhh 😓4 -
Me: Why is there such a delay between the app and the hardware device?
Colleague: Ah, same old same old, TCP is just an inefficient protocol. We should stop development and build our own replacement to TCP.
(PS. The actual problem was his code)9 -
Had a blast this past week. Set my vs code theme to the same colors of xnxx.com..
Had a two different guys do a double take as they were walking down my row.11 -
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 -
Everyone should learn to code" is a movement to flood the market with Software Engineers so that salaries can be reduced.
Conspiracy theory that I just read on reddit and sounds about right.
Would you feel the same?12 -
I got my first own office... We did it. We just painted our mini Iranian office in two nights and we about to code it,has 5 min distance to our college and it's a golden opportunity to work and study at the same time.8
-
Code review:
- Almond: This method here is a mix of convoluted loops conditionals and ternaries... I really don't think we can pass this. Can we make sure this logic is a lot clearer?
- Bob: Oh, ok, sure. I'll work on that.
Next day:
- Bob: I've hopefully cleared up the meaning of that code now.
- Almond: Sure, let me look. Err... it looks the same to me? Have you done it in another branch?
- Bob: Oh no, it is the same, but there's a link in the code now to a PNG of a flowchart I put together in draw.io to show how it works.
...🤦♂️16 -
left a company over 3 years ago because they wanted me to dumb my code down so that the other devs could understand it. they wouldn't allow me to use classes in my code lol. anyway, 3+ years later figured I would try to log in to some of the admin panels... passwords still the same. MySQL dbs... passwords the same... cpanel... passwords the same. smh. even if I still worked there the passwords should be changed every so often. top notch security right there. funniest part is they don't even do backups or use VCS for the code. sad sad company. glad I'm no longer there. my personal projects have more security, redundancy and fail over lol4
-
Work today was good although put in 2 hrs of overtime....
But I optimized some code by changing out a class. Now it does the same thing except does it:
in SECONDS on my local PC
instead of 10+ MINUTES on a massive server.12 -
while we were in the car...
mom: so what are u doing in your new job? you code in java?
me: no, i code in javascript, html, css and php..
mom: so thats java. how nice.
me: no, its javaSCRIPT.
mom: theyre still the same.
me: java and javascript are not the same
mom: but most people use java so why dont u just do it in java?
me: thats what ive been asking myself too in the past few weeks, why did i even accept this job3 -
My colleagues broke down our AWS account by hard coding the AWS access API keys and pushing the same code to a public repository. This took down our system for nearly 3 days.2
-
And here Ladies and Gentlemen, we see some Code I hatte to discover.
(Actually the same method get's called)9 -
Me: Hans, Get ze Flammenwerfer!!!
Hans: Why?
Me: The fucker rejected my PR because "calling twice the same getter is a code duplication". I swear, he always tries to find something!3 -
I am an idiot. I wrote some 100+ lines of code months ago and I took another look today and it seems like it could've done the same thing in 3. Fuckity fuck fuck.8
-
During code review:
Guy (also the same guy who pushes code without making unit tests): "Hey, this thing you added is unnecessary. Remove it."
Me: "Have you read the rest of the changes? It isn't unnecessary."
Guy: "Not yet"1 -
166 lines of if else hell just to decide between prod and sandbox.
Run the same query multiple times to get the same data.
And that's all written by our code review team lead.
What a mess.2 -
Just Fixed a major issue in my code and the Sun came out at the same time! I feel like should I go out and scream on my balcony!4
-
Today at work while reading legacy code:
do {
...
} while(false)
Wanna cry and laugh at the same time22 -
When you rewrite some sloppy idiot's code to be way clearer and straightforward. Then you fix a bug you introduced... and another... until the code ends up looking more or less the same as when you started...2
-
The time when i learned to turn on the developer options ; i felt the same as a developer who has compiled his code without a single error. 😂3
-
I just finish "rebuilding" a page that I have built last year. My Js file (jQuery) went from 1200+ lines to 600..
I rewrite everything, the functionality is the same but the code is mush more cleaner.
Soo bad and redundant code.
Although comments where very helpful.
Feels good. -
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
-
I often times write code and think to myself "I don't have to comment this, it's obvious what is going on", only to find myself back at the same code, figuring out wtf it does...1
-
How to avoid haters on Stackoverflow:
1. Add this before your code: "Try the following:"
2. Profit!
Exact same code, but one is hated11 -
Do NOT "compress" your code by leaving out braces in control structures and putting the 300 char statement on the same fucking line as the control structure!
Yes, your code file becomes vertically shorter than the usual 3000 lines, BUT my brain tumor proportionally grows larger.7 -
that moment when u run the code and it works, and then u run the very same code again and it fails.4
-
Why does it feel like learning to code requires a building of endurance? Like training for a marathon, you have to build up to bigger and deeper learning sessions. Rewarding and frustrating at the same time.25
-
I have previously seen this in a production code base. The same code base included nested if statements (20+ conditions)...
If (condition == false) {
return false;
} else if (condition == true) {
return true;
}11 -
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 -
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
-
Everyone complains that a certain developer's code is not up to standard and when they have to take over his project the lack of code quality is really slowing them down.
I look at code, agree it is poor quality and put together a learning plan for said developer.
Also look at who approved every pull request which allowed bad code into our codebase. Same developers as those complaining it's no good. You had your chance to stop it!9 -
I was asked by a client to code review their platform built in PHP. The platform was becoming slow and new features built by their current IT supplier broke existing features.
I gained access to the source code... One PHP file (index.php) containing about 80K lines of code... I am impressed and disgusted at the same time. 😂3 -
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
-
Same days you just need a duck.
Me: map.get(record.Id)
Code: null
Me: no, map.get(record.id)
Code: null
Me: let's grab this record from the map
Code: null
Me: what the flying fuck, take this fucking ID from this fucking RECORD and find it in THIS god forsaken map.
Code: null
Me:.......
Code: 😉
Duck: did it occur to you the ID exists only AFTER the map is created.
Me: you fucking wha..... oh I'm a dick head.7 -
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: 😑😑😑 -
Reasons 1 and 2 arent that important to me. The main reason I code is #3.
1) Brain exercise. I always feel sharp after a coding session, even if it ended in disaster.
2) Lots to do! There's never a full day in code. Make your own universe, if you so desire.
3) Pride. I have a pride problem. I never felt proud of myself no matter what I do. I graduated with a melancholy feeling, same deal when getting my license, same deal when passing a test (God, glad that's over!)... But code makes me proud. I love what I make. I want to show everyone. I want to show it to everyone before it's even finished because I just can't wait. I want everyone to use it and to love it. Because I sure do, and it's the best thing ever.
I could make a viral video, produce a triple platinum record, or build a billion dollar business and still not feel the same level of genuine satisfaction and happiness that I may get from writing good code.
It always keeps me coming back. -
# Showing code so everyone knows it's the same code/file being executed.
Interesting in the difference of the time it takes.8 -
"Awwww I remember when I started to code :)"
That is for condescension when looking at shit code or:
"Wait, you code?"
For the same case1 -
Self documenting code is a fucking myth you bloody sheep.
Write “self documenting code” then add a fucking comment or two explaining why the fuck the code deserves should be there because nobody can see what the fuck it is doing or understands how the whole collection of microservices works. I’m sick of spaghetti code bullshit full of accidental redundancy because it is impossible for anyone to realize why something is there at a glance.
I renamed different “Contract” classes today by adding numbers before code review.
Contract
Contract1
Contract2
Contract3
All of these classes are supposed to be the same but somehow they aren’t and you self documenting dumbasses missed it. Don’t gripe about the numbered classes in the repo… fix the fucking code and collapse the classes so we don’t have four sections of code describing the same fucking structure from a http get with different interfaces because four people couldn’t read the whole like some fucking computer.11 -
When you're working on the same project and git branch with another intern and he decides to make copies of the files and rename them to avoid having to merge his code with yours. ._.4
-
The bad thing about programming is that you can copy paste working code from a previous program on the same machine, same IDE and it still won't give a fuck.. I'm currently here.2
-
Had to hand in as assigment for my algorithms & data structure course and really put alot of work into it, commented code, easy to understand and all.
"Why are you showing me copied code from the internet?" was the professors answer...
I did not copy any code and some algorithms often look the same...6 -
WTF is the point a
of auto-generated documentation. Some dude litterally thought it was a good idea to read the code and write the exact same shit differently. WTF IS THE POINT!?
Documentation takes work, sorry, stop being lazy.11 -
When your code works perfectly fine, and you go to dinner and return and the same code starts crashing.
And I'm like.....
.... Is my computer doing things on its own while I'm away from my desk?..... :/1 -
Writing a super extensive project in php. Twice so far, I have had weird problems of codes not working.
But everytime I copy/paste the SAME code from another file, IT MIRACULOUSLY WORKS!!!!
WHAT THE ACTUAL FUCK!!!12 -
So i helped my friend write a program and i sent it to him. The next day he told me that the code dosent run, so i asked him to show me the errors and apparently he thought C and C++ is the same thing and was trying to run my C code as C++ code...5
-
You have 5 devs on a team at least 3 of them are working on the same code and there is no version control and we have to rely on looking at when the file was last modified....FML!!!11
-
Quote of the day
"Writing code without thinking of its architecture is useless in the same way as dreaming about your desires without a plan of achieving them."
That literally hit me hard5 -
Spent about 30 mins configuring a bluetooth speaker on Ubuntu before starting to code, tottally worth it
Programming would't be the same without music1 -
My friend in 2016 : I will learn how to program and quit this miserable job.
My friend in 2017: Wow programming is taking off I need to learn how to code
Just waiting for the same message in 2018 now...3 -
Slept for two hours tonight because of my baby girl... I've been staring at the same piece of code for an hour or so.. Had 2 double espressos.. Didn't work.. Ppl talking to me and im like...4
-
So to start off, I am a hipster. Guilty as charged. A few months ago.
Me and my work's programming team decided to enter a hackathon. Note, I had never stayed awake for 48 hours straight programming before.
It was late and I was waiting on programmer 1 to finish writing a class so I can finish a part of the network code. We were all working on the same git repository, same branch for some reason at the time.
So I started just writing in random comments in the code while waiting. I finally got to complete the network and committed my work.
They both made a pull about the same time and both my boss and coworker turned around at the same time.
I had written a comment
// Ya know those glasses I wear to work everyday? They're not prescription. They're fake.
The look of disappointment just staring me down was absolutely priceless. And the fact that they both read the comment at the same time.. 😂😂😂😂😂😂😂 -
Code comments #1: A way to document bad code that wasn't reduced to it's essentials and thus unreadable. Bad.
Code comments #2: A way to explain for non-programmers how the code works. Wrong place.
Code comments #3: Company policy. No one really knows why, but others do that, so we better do it to. The management sucks.
Code comments #4: Because some hip methodology/guru describes how to document code. After a few years, when the methodology has been (unofficially) forgotten, everyone still comments the code the same way. The old management sucked.
Code comments 5#: For insecure programmers who want to convince them self they understand the code they've written. Maybe apply at McDo?
Code comments #6: Some programmers are apparently paid by lines of code. Possibly understandable.
// Comments, anyone?8 -
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
-
Taught myself to code in the wee hours while my wife and son slept after working and finishing my actual collegiate schoolwork. I continue to learn daily and the process is pretty much the same, minus the schoolwork.
-
The joys and sadnesses of being a Teaching Assistant also include witnessing and sending half of the students taking the course to the Exam Committee when they all copied the same code from StackOverflow. At least I don't have to correct their assignments ¯\_(ツ)_/¯4
-
When you find another student code..... it repeats the same code for the LCD in 340 lines of if ;-)1
-
When I implemented a new algorithm in C and beat the previous implementation of a tool by 5 seconds in speed (17s best case before) and my mentor implemented the same algorithm's pseudo code beating the previous implementation by 14s.19
-
Debugging a HTML code from 2 hours which was working fine..
Ah!! No 2 elements should have the same id8 -
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
-
Hundreds of PHP files with same name and _# at the end to differentiate them - each containing hundreds of
$(document).ready(function() {
$(some_slector).on(some_event, function() {
//one line of code
}
}1 -
did you know, that in PHP, you can do:
if ( ! function_exists('function_name'))
{
function function_name()
{
//code of the function
}
}
which apparently means you can do
if($var == 'something'){
function functionName(){
//some code
}
} else if($var == 'something else'){
function functionName(){
//some completely different code
}
}
so now, apparently:
1. before this code executes, the function doesn't exist at all (okay, i can live with that)
2. after this code executes, any call to that function can result in any of those two completely different bodies of the same-name function executing, depending on what the $var was set at that time?
...so... now not only the same call to the same(name) function can do two completely different things, *but if you change the value of $var afterwards, you can't even properly find out which version of that function is in effect for the remainder of the run of the script*...?????
WHAT.
THE.
...i mean... I can't help but think that the idea of conditional function declaration like this is... kind of cool (have I been warped by JavaScript too much?), but at the same time... WHAT THE FUCK.18 -
I know its supposed to be the same since it is built on Electron. But vs code looks waaay better on a Mac than it does on windows. I think its funny.7
-
I wanna have 8 arms.
Two to rip heads off.
Two to tear people apart.
Two to wank.
Two to code.
All at the same time, best.14 -
Me and the unofficial CTO (3rd party's CTO) are interviewing an ios dev. (I'm an android dev, btw)
CTO: In your view, would you find developing an ios app would be faster or at the same speed as an android dev?
Me: *shock*
Canidate: I've never developed on Android before, but I'd think it would be the same speed. We both need to make screens, views, and type code.6 -
Troubleshooting code...
Me: "ok cool did that fix it?"
Program: [same error]
Me: "alright, so can I break it harder?"
Program: [new error]
Me: "now we're getting somewhere!" 🎉2 -
Got convinced to work with a boss who seem to know it all in tech.
I honestly thought he knew tech, to code at least.
And then one day he referred to Java as the same as JavaSrcipt.
Oh no.3 -
C++ type fuxor we found by accident in our code. I am not upset about allowing 2 different types to have the same type name. I am upset that the compiler thinks they are the same type and allows pointer assignment. I didn't know you could fool the compiler this way. I suppose this might be useful if the types are in sync. But damn, this is kinda fucked.13
-
My biggest fear about publishing open source code is people looking at it and having the same reaction a have when I get back at my old code.2
-
When the previous dev has written all datetime query lookups by date only, resulting in any values for the ladt day of the month to not be included.
THANK YOU.
Same wanker has copied and pasted same 100 lines of code over and over and literally changed one value in between. Obviously never heard of a function.3 -
Most useless feature: an extension that did the exact same thing as an opensource extension so that the company could hide the code and not include licenses (???)
ps.: they obviously used open source frameworks and libraries -
Been trying to learn code for almost two years now, started with C++, took a break because I couldn't figure out what to do with the knowledge, started Python 'cause I thought I'd be inspired by scripting and automating stuff, same thing happened, switched to java, same problem, aaaaaand I'm back to C++ and still can't figure out what the fuck I can do, I don't code anything and I'm tired of following tutorial in the hope of getting something interesting done
Long rant I know but fuck I'm so depressed about that...8 -
I have never believed that it would come to this. I am writing a javascript code exam on a paper. Honestly. I always laughed at posts where I saw code on paper, but now... I'm the same xdd.4
-
So today my pr needed approval. One of the lines of code created a unique ID using the uuid4 functionality.
I got a reject saying I didn't handle a case where I would get the same uuid twice.
Well, I guess it would be the problem of the developer working on my code in a couple thousands of years 🤷♂️2 -
When I am asked to do something and the next day same person asks to change what was changed the day before.
For fuck sake do a prototype and fucking change that and not the actual fucking code 😒😒😒 -
Cause with enough experience and time I can do anything anyone else can and more.
A painter can paint a painting by hand, I can paint the same painting by code.
A musician can create a song on an instrument, I can create the same song by code.
A teacher can teach. I can teach a computer to teach teachers how to teach. -
IHateForALiving: I created a trigger on the model, every time you perform a save it should fire an event. You're calling the same methods I am, and the trigger is NOT firing. Are you sure we are running in the same process?
TheTeamLeader: I'm manually starting this whole piece of code in your same process, there must be something wrong on your side if it's not working
90 minutes of debugging later
TheTeamLeader: there's the thing! Your hooks are registered in a separate process, of course they are not firing
IHateForALiving:rant and that explains everything i'm seeing as target practice for knife throwing your mother used your forehead1 -
I am both happy and sad looking at the code I wrote some time back. It makes me realize how much I have learned and at the same time how stupid I was.1
-
The frustration that comes to each developer when he tries to write the code structured by thinking through each situations, and your team lead comes and tells you why r you doing so much validations just hard code them we need to release it today client is waiting. After 3-4 months the same team lead goes through the code and shouts at you telling why the he'll you hard coded all these, can't you write the code correctly by thinking through.3
-
Have a nice weekend programmer's!!!!!
I hope your code behaves on Monday the same way it did on Friday.....🤣😂🤣2 -
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 -
I like to build, tinker, and create with code.
That doesn’t mean I like to fix your computer, diagnose your internet issues, teach you to use your desktop UI, or google the same question you asked me to show you google has the answer 😑2 -
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 -
I had a long dream about code .. I woke up serval times and still continued the same dream and continued coding didn’t and I didn’t finish it when I finally woke up.
I don’t know what the code does, and I never run it in the dream!!
Happy Monday I guess -
VS Code for sure. Same experience on win/*nix systems, built in debuggers, terminals, flexible configuration. I am so deep in love and can't recommend it more
-
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 -
That moment when you click a Google link at the same time your code finally launches your app ... and you say "Hmmm, how did Google redirect me to localhost:8000?"
-
Technical architect in my project see's my blog and writes an appreciation email ! This made my day 😊 cz he rarely ever appreciates anyone.. Same thing my PM saw and asked are you using our project code?? 🤐🙄 I mean WTF it angular js & JavaScript ... everyone writes the same way...the syntax is same around the world .
Blog : https://ngcoderscope.wordpress.com6 -
The “if” statement works the same in every* language, so if you can code in one language, you can code in most of them.
*Terms and conditions apply.5 -
Going through legacy or other developers code which don't have documentation or even comments. Plus the author of the code is not working in same organisation anymore to consult. We have to understand the code like deciphering any ancient language. 😥2
-
When you are all assigned to make one specific program but get called out for plagiarism for making the same program even though the code is different. Great job4
-
Here's what overthinking sounds like -
My mom was watching me coding on VSCode and said - You just type things in colors and get paid.
I thought - wow i never thought about it that way. For me it's syntax highlighting but to someone else it's writing code in colors.
This must be the same way for butchers where they don't think how precious life is - killing animals is just a part of their job.
Same with child traffickers - They don't care about human lives or emotions. It's a job for them to do what they do.
Same with military generals or assassins.17 -
Ugh! So boring writing the same thing over and over! So instead I wrote a ruby script to generate some C# code for me!
Honestly...I just make excuses to do stuff with Ruby 😂3 -
I am working as a functional consultant in a project and I setup a source control for a project for better code management....
I wanted to review the code and realized developers have been checking in zipped source code in that....
Checked with Dev Lead and got to know that's how they have been managing code till now in other projects in SharePoint so they are following same practices here3 -
Just did a performance benchmark of my project written in OCaml and I have to say, I'm really surprised by how fast OCaml is.
There are several other implementations of the same algorithm in other languages and the OCaml code beats almost all of them.5 -
time management and programming belong in the same realm
like i code at 9am then i take a sip of coffee, and then its 12am -
Couple years ago I was asked to add couple of simple features to a piece of code on clients server. I thought it was simple process until I got the code and noticed that the variables were named like int1, int2, int3... etc. Also same logic in the database.
Needless to say I spent too much time to figure out what those variables and db fields contained. Also the whole code was copy paste code from the web. -
A week with flutter:
1. I like how simple it is compared to React Native
2. Same issues as react, want platform specific, good luck writing plugins. Though the upside is I can use Swift and Kotlin with it, but still mixed code is bad7 -
!rant
when you find 3 spelling errors in the same line of code and realize that these are legit 'cause the objects and methods are actually coded misspelled.
That's when no one dare doing code review but simply it builds and its fine.
Luckily #NotMyCode -
Committing code with the same commit message although you refactored several times and changed the structure1
-
I will never ever see, play, or think about video games the same way again. Even playing all my childhood games is never the same.
I will now forever see the game from the inside out, imagining what code the devs might have written to achieve what is happening: sprites, audio, triggers, AI algos, etc. No longer is a player or character just a player or character; they're sprites, animations, classes and variables and method calls. o.o2 -
Visual studio is rather silly.
In one project, just changing the character set to unicode was enough for the program to work.
In another project, exact same code, I also needed to add a command-line argument to enable unicode.
Isn't. That. Just. Silly.4 -
Wrote some code. Didn't work.
Cleared all build caches, deleted project files and re-opened the project from scratch. Code still doesn't work.
Copied the same code over to a new project. Works.
I FUCKING HATE DAYS LIKE THESE!!!2 -
Damn... I like VS Code and at the same time I fucking hate how slow this garbage "editor" has become.
Can I haz rewrite in Rust? 🥺9 -
Code doesnt work, i dont know why
*comments then uncomments same line*
Code works, stilll dont know why2 -
Does LUA have anything similar to the GIL in Python? Because my code seemed to be updating the same piece of memory at once
-
I find it so ironic that people love to rag on those who copy code from StackOverflow when most of these same people use tools like composer or npm.
At least you can vet code snippets.3 -
That moment when you feel that you are a great developer ready to do some pull requests to the framework you are using and then you check the source code of it and wonder if that's even the same language.
-
Sometimes I want to show off some fancy code to non-programmers. Then I remember basic code would do the same.1
-
Sometimes devs are missing social skills. I felt that today.
I did not know the social code of conduct when leaving the hospital masurbitary room and meeting a colleage about to use the same room I just used.3 -
tabs vs spaces
i hate it when i cant find where i used spaces instead of tabs. just a simple mistake and it doesnt work
me: *codes makefile in codenvy*
terminal: *** missing separator. Stop.
me: *rewrites code exactly the same way in Notepad++*
me: *copy paste code to codenvy*
terminal: *compiles whole project*
wow. just wow.6 -
Completed a project in summer for a client based on Laravel and kept working on other projects based on same framework. Today went back to add some functionality ended up feeling miserable looking at my own code. Don't know how to feel about this.3
-
Oof, scope creep
Come back to an 8 month old project and I can't update the website because something in webpack needs something in python to compile... Um why. Literally just a poster with some images and a markdown parser.
So I spent 5 hours and 850 lines of code later modernizing the code and... I have the same website again but now it compiles. Woo? -
Working on some 2 year old php code don't know who has written it.
Found a function with some 500 lines of code and there is 3 times MySQL connection is initiated overriding same fucking variable with hardcoded database parameters in all of them
What the fuck man😦😦😦
Plus I have just started revewing the code there are tons of files and everywhere connection is hardcoded.4 -
<rant>
How the hell do these people have a senior position?
<rant-cause>
Sdev:"The are no vulnerabilities in my code because i have Avast running at the same time"
</rant-cause>
SecOps: "<insert potoo bird reaction>"
</rant> -
Learning to code is like learning to write when you were younger. It can be sloppy or clean but if you keep at it it'll probably become clean. But, with these sites like code academy that accept only one solution to the problems they present it's as though you're being told that everything you're doing is wrong eventhough you get a solution to the problem in the end. It bugs me that these sites want people to code the exact same way.
-
I've been staring at the same section of code for about two hours now. I want to solve this puzzle and design it properly. I'm desperately trying to resist the urge to hack it. Not sure I can hold out much longer...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 -
the best part about development is that all code looks the same to most people - including devs
so long work assignments and hello command-line digdug1 -
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
-
*writes programs with variables for arguments*
Runs.. Crashes
*removes variables places exact same code in parameter list*
Runs.. Succeeds.
I don't understand you my GPU -
My fights with other devs always revolve around the position of curly braces:
Should they be on the same line or should they have a whole line just for themselves?
I mean, if they go on the same line you have less lines of code and you can fit more into the same view, but putting them on a new line makes it all a little less messy7 -
Einstein: Insanity is doing the same thing again and again and expecting different results.
Me [After my code fails to compile]: Let me change nothing and run it again.4 -
I need to build multithreading in my brain, i want to learn at least 8 new code languages and techniques at the same time(not to mention normal languages)2
-
I just copied the exact same code from another program into mine, actually left out a loop because I didn't need it. Also took some other stuff out, nothing much, just some var = othervar that I didn't need.
The other program, from where I copied the code, works fine, is fast, I see no issue, has been in production for a while now and no complaints. Mine, WITH THE SAME CODE, doesn't move. I don't understand how this is possible.21 -
Immortality in the sense like Matrix did it would be quite handy. Imagine you could become a program like Smith and be able to change your own source code, clone yourself with the same thoughts, knowledge and past.
Well, unless someone turns your machine off.5 -
First thing Wednesday morning, fired up the macbook, opened vs code, ran the same unit tests that were passing last night, 1 failure! FML.
For some reason an Angular form that was valid with the same data last night isn't this morning. Probably some crappy date issue in the mock data1 -
Today I saw a 200-line function named Apply and a 200-line function with different code, but does the same, named TryAgain...1
-
Having a CTO who was a strong backend developer, has zero understanding of UI/ UX and frontend part of code is funny as hell, weird and scary at the same time.2
-
This should put an end to those code formatting rants. Now everyone can be on the same page.
https://prettier.io/2 -
Do you ever look at old code from years ago a think “god that was bad”? I’m so embarrassed by something I wrote on 2010, it’s shockingly bad!
I actually feel a little low and think maybe I’m not very good! Of course now my code is so much better but think to myself, is what I’m writing now gonna be the same down the line?2 -
The cool feeling when you see your static analyzer that compare previous version and future release and code quality is improved.
At the same time the bad feeling because you was the same dev that made the previous version. -
The „UI-God“ in our team has never heard of dry or clean code.
Clashing classnames for modules in global namespace, gives a f* about patterns, naming conventions, structure and everytime I rebase it breaks my code.
I need the same amount of time fixing his work as he spends on it. -
We have 4k Monitors and SSDs with more than 120 GB, why there are still new projects that use a formatting style that doesn't have a clear relation of the opening { and corresponding closing }. i.e. put them either on the same line or column?
Please don't write code where the imaginary line between the { and } goes diagonally over other parts of the code. It makes it unreadable and my brain hurts from looking at it. Its better to have readable code and "waste" some lines and bytes for code that is easier to read.10 -
That moment when you find a function called with faulty arguments or a referece mistaken and fix it and code actually works now aaaaand you wake up.. i started to dream about the same code cause i keep rewriting it for different reasons.. what a life
-
Just went to my highschool's computer science club meeting. My first annoyance was that they were going to have a 'girls who code' thing...But, they were in the same group as general population. So, essentially, it's separated between girls who code and human beings who code.
Then they said that they would likely be using Eclipse throughout the year. We may be having a bit of a debate -
Can't decide between the guy that used gedit to code and the guy who wouldn't read the documentation.
Wait, that was the same guy! -
When your co-worker asks you to implement a fix for a problem in his code..
Reading yourself into his code, then you see him having fixed the same problem several lines above in another method. -
Swagger superposition: the generated server now works but the local hosted editor does not connect. I look at one screen and wonder: "Why does this work?" and then at my other screen (same code, same port) and think "Why DOESN'T this work?"
-
We have all run the same code although it didn't work the first time. And it never worked the second.😂😂
-
So my code wasn't working and couldn't understand why. I had a statement like someVar == 'A' but when I wrote the letter A I didn't change my keyboard language from Greek to English and I didn't notice because the letters are the same in both languages. Spent like 8 hours commenting out and debugging code just to re-write all the code cause I thought the compiler is broken or I am losing my mind....1
-
If I have to train one more person, or answer the same question for the 100 times I'm gonna loose it. I just want...need to code
-
The code is under "GNU General public license as published by the Free Software Foundation, either version 3 or any later version" and I used it as a reference.
Should I redistribute the my new code under the same licence and make the source open? Should I make just the component open source or the entire app?2 -
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 -
I have to stop refactoring everything. 4 weeks on one of my private projects and I'm still on the same place. But I have refactored the code like 4-5 times now ...2
-
Sigh, I have this terrible habit where I make and run my code in the same command. I'll spend an hour wondering why my bug fix didn't work and it's because the make never succeeded, but the code runs anyways. 😒😒😒4
-
Hi. Quick question, I came across a rant that described the best tools for a designer to help developers be on the same page for the prototypes. Can you guys suggest some? I remember there was one that shared the same exact hex color or code for UI/ux interfaces between designers and developers.6
-
This guy was editing a code file but compiling and running a differnet version with the same name in a different location and kept asking around not knowing why nothing was changing1
-
Same code, same chip, different platform and compiler(arm64 and amd64) and exactly one bit flipped on the chip init from the same binary, is this even possible...4
-
So my friend had an idea for a game and asked me if I could help him develop it. Now, he understands how the code works and can even write quite a bit himself. On several occasions (including today) this happened:
*writes code*
*tests code*
Me: Hmm... this isn't working like it's supposed to
Friend: It looks pretty good, maybe check to see if everything is in the right order
*checks code*
*tries alternative solution*
*checks again*
Me and friend: Well this is even worse than before
*presses ctrl+z a lot to go back to the original*
*opens new project*
*writes new code for same purpose*
*checks code*
Both of us: IT WORKS!!!
*checks again just to be sure*
Both of us: IT STILL WORKS!!!
*compares new code to original code*
Me: It's the exact same code with different variable names!!! Why did this not work before?
Friend: No idea
*puts new code into main program*
*it still doesn't work*
Reasons Java makes me cry sometimes4 -
when people attribute you as the author of bad code you didn't write, as you receive PR feedback to update it
when you are updating something different in the same area3 -
try{
someObject.someAttribute = (int?) reader["columnName"];
}catch{
someObject.someAttribute = null;
}
Or, same coworker, another piece of code:
if(((int?)reader["foo"]).HasValue){
bar = (int?)reader["foo"];
}else{
bar = null;
} -
Junior front end guy made a backend code, he made even a test.
GET /model/ very nice simple case tested.
NO. MORE. TESTS.
Well, it's the same guy who complained reaaaaally surprised that he had to check http status code after a request.
Im kinda the bad guy because I get upset with that stuff instead of clapping his stupidness2 -
Working with someone who made repetitive css code like this:
#home {
x
}
#blog {
y
}
where x and y exactly have same child classes structure with small differences, making css file somewhat large.2 -
I came into the 10s trying to make my own code work properly and I'll go into the 20s doing the same goddammit
-
!rant
So I'm making the system for my University's cafeteria.
Pretty ez and all but THIS FUCKING PAGE, THIS GOD FORSAKEN PAGE JUST BUGS.
I'll elaborate: Basically I have a bunch of pages that bring up some pie charts and a .pdf of earnings, all of them work and they are pretty much cookie cutter so I can re-use the code. But this random one, with the same code, repeats the same entry a couple of times.
And by god have I tried to change every variable, code format and minimal shit. Still doesn't budge.
Guess I'll have a cheeky ciggy break and try to fix it later when I'm not steaming my noggin
Ps: yeah yeah, shitty jpg quality but its the "Busca Unidade" field that just cloned itself 7 more times underneath -
I wrote my first code in 5th grade in QBasic, together with a friend who introduced me to it. We made a math "game", with hard coded problems, so you'd get the same questions everytime you played ;D
-
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 -
Man I hate how CSS is treated differently on different operating systems using the same browser, let alone making the same UI heavy application perform identically on android chrome and iOS Safari.
Messing around with the css to figure out what all properties are treated differently, this is how the exact same code behaves on chrome on iPad versus Linux.
Look, I'm not a CSS genius, far from it, BUT it really shouldn't be this bad to make a responsive UI heavy application work on all platforms. I've been at this for weeks now.9 -
Aiming for 90%, barely managing 60% ever.
From marks in school tests to code coverage in apps, the reality remains the same. -
I should try to put ascii arts of pepe memes instead of meaningful error handling messages in my code, this way I would know for sure if people are actually not just patching fucking try catch silence everywhere instead of doing proper code.
I should probably do the same with documentation as well while being at it. -
"X ? true : false"
I love seeing these :D
Clearly a decent attempt at simplifying the code and at the same time missing the mark.12 -
Spent 8 hours in debugging a defect, just to know that code has been completely refactored, that defect is resolved, another critical defect to be fixed at high priority 😭😭😭😭😭😭 in the same code .. refactored by someone else 🥺🥺
And people call .. life of software engineers is so easy and cozy 🤔😰😢🥱4 -
Neovim,
I can code, git, ssh, reddit, mailbox, Spotify all at the same window.
With coc-explorer you can switch between your buffer just like VSCode4 -
The manager that believed that sharing code was bad. We had a web and a windows client over the same db. No code shared. He'd rather duplicate the code and maintenance than share it. And the BL should be put in stored procedures, 'cause that's so easy to change in-flight...
-
The better question is which one didnt I get through code?
My best and first real friend was doing an internship in the same company as I. Via her I know all my current friends. -
Tldr:
Can't fucking figure out why I'm the only one who can't solve a DP problem in code, when me and friends use the same idea and no one knows why only mine doesn't work...
We are given a task to solve a problem using DP. My friends write their code with the same idea as a solution. Copying the code is not allowed. I follow the same idea but my code won't work. Others look into it, in case they find errors. They can't find any.
The problem (for reference):
Given a fixed list of int's a = (a_1,a_2,...,a_n) and b = (b_1,b_2,...,b_n), a_i and b_i >= 0, a.length == b.length
We want to maximize the sum of a_i's chosen. Every a_i is connected with the b_i at the same index. b_i tells us how many indexes of a we have to skip if choosing the corresponding a_i, so list index of b_i + b_i's value + 1 would be the position of the next a_i available.
The idea:
Create a new list c with same length as a (or b).
Begin at the end of c and save a_n at the same position in c. Iterate backwards through c and at each position add the max value of all previously saved values of c (with regards to the b_i-restriction) with the current a_i, else a_i + 0 if the b_i-resctriction goes beyond the list.
Return the max value of c.
How does that not work for me but for the others?? Funny enough, a few given samples work with my code. I'm questioning my coding ability...7 -
> push code on staging and promote on production works fine
>.come home
> pull from master and code doesn't work locally
> pull from the feature branch, same issue
> fml
I'd be so fucking disappointed in myself if I hadn't pushed it and merged it. -
What might be a legit reason to commit a target directory with thousands of compiled crap the code in the very same repository generates? Why the hell would anyone want to do this?4
-
Management fixes our slow running buggy code problem by exactly copying every file into separate version control depots so that Dept A does have to deal with Dept B bugs and Dept B does have to deal with Dept A bugs to the same files.1
-
Yesterday I spent many hours debugging obscure compilation errors.
At the end of the day I was like "Fuck it, I'll think about it tomorrow morning".
This morning the compilation works fine. No errors. It's the same code as yesterday.
I'm raging5 -
Hey, i'm just a guy and I develop applications and study at the same time, so I dont work...
In a lot of post I read words like IT jobs, 'editing code in production', could someone please explain me their meaning? Thank you3 -
what i hate about school projects is that they ask for the pseudocode of the the whole code. like seriously, its the same thing anyway. its not like we're gonna implement it in some other language, in that case pseudocode is helpful.1
-
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 -
My biggest dev regret is being complacent in my programming ability from way too early on. I learned a bunch of stuff from intro programming classes (which I always brushed off as "unnecessary" and "boring") because I was too ignorant to accept that writing the same Python code over and over wasn't progress. I'm way behind where someone with 7 years of programming experience should be, because I spent 4 of those years writing the same garbage.
-
My code is in Acceptance Testing phase, and I got a defect reported.
I tried to redo the same without changing the code, it works for me
god dammit -
>= 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 -
we were taught separation of concern when getting into webdev, don't write html inside your js codebase, don't write js inside html code base, don't write css inside your js codebase. People who taught us this, are violating this same principles by introducing stupid frameworks.
-
Maybe I shouldn't code today... or get more sleep.
Every single bug I had today was due to referencing the wrong variables... and not including 'this.'
How do you guard against creating variables with the same names in method and class scope?2 -
If I just try another way to do the same thing my broken code tries to do, either the new version makes my mistake obvious or everything just works.
Is this debugging? It's just rewriting. It seems faster than debugging. -
Hey guys, new here.
So, let's say I'm an intern working at this startup company. Learnt a lot of stuffs. Is it consider stealing if I implement some of the same code from the company to my own project? In terms of logic and all.13 -
> code golf challenge
okay, listening
> easy for beginners
alright, nice, I qualify
> all code must be exactly the same forwards and backwards, >50% of bytes must be run both ways, must run under any OS or system ever made
welp, there goes any hope of being able to fit something into the rules at all
(if you're interested, https://n0.lol/bggp/)15 -
Rarely refactor my code: sometimes there are completely same parts of code which I am too lazy to move to a separate function)))
-
You make edits to your code, then you deploy.
But the behavior remains the same.
You try to figure out why your new code doesn't get executed.
Try other cases.
Try changing this.
Try changing that.
Still no changes.
Then you realize you deployed to a minimized emulator* the whole time.
* replace emulator with device/server/whatevs -
I hate it when my teacher underestimates my skills in programming, he/she tells me to rewrite again even though its just the same logic... I got shorter lines of code, he/she wants longer and readable code 😠😠11
-
New piece of code which should work perfectly and solve your problem but it is not working just because you forgot to remove an old piece of code you were trying to fix the same problem! Fuck my life!1
-
I started a months ago in a new company and I grab a horrible legacy system and what makes me more angry is they know the code isn't code and isn't fit our new reality but they don't want to refactor the same.
So which more features we produce more bugs comes along because the legacy code bugs still on there.4 -
Git Merge 1 of branch to master: COMPLETE
Git Merge 2 of branch to master: (code change on branch, no change to master, exactly the same conditions, command, and procedure as before) FAILED - CONFLICT
Guess I’ll just die?3 -
Finding a stored procedure to copy code out of because I didn’t have the brainpower or willpower to write the same code again.
Ironically, finding the sProc probably took more time than actually rewriting it.....1 -
When refactoring and reusing code, is it even ethical to change author?
I am on a project of creating reusable library from another project. Original code is perfectly written, easy to understand. I will just prune the code and fix minor bugs.
I have seen colleagues replacing the original author field in the same scenario with their names, feels wrong. Can I add non-standard maintainer field in doxygen format?14 -
Why do I always get errors when I am trying to learn something by following YouTube tutorials like I follow every single step, write the same code but I get errors. I feel like giving up sometimes13
-
Fucking sick of colleagues who just want help with fixing their own broken code, even when given different but alternative to achieve the same thing. It's even worse when they try leverage part of this alternative into their code.
When you are given a Mercedes, you drive it. You don't use it to find parts for your old broken down Nissan.3 -
Android developers will understand my pain.
When you don't ask android studio to auto create those functions in your activity.java code. But studio does it for you anyways.
Then comes Lint, it will give you a warning on the very same code, that studio commented over the default function.
Damn you studio/lint...get over your differences.
Others have a life to live.1 -
I genuinely want tp know why few devs don't add the opening brace on the same line as method/class declaration ??
Whenever I find a piece of code which follow such style a part of me cries thinking of the time I'll be spending first correcting...14 -
There was a colleague working on some functionality , he worked it well and I didn't bother to check his code, asi thought he may be writing it well.
But when I needed to fix some functionality , I seen the code and I don't belive it was a complete shit... But still works ....
Has anyone experienced the same ....8 -
I just done know what happened to me, now I miss semicolons In code.
when I use to read people ranting how they miss semicolon and I was like " how can somebody miss it" and look at me now I have the same problem.
:|1 -
I currently have a single monitor setup.
I want to upgrade. Which one is better?
1. Buying another monitor (same as I have)
2. Buying a big 40" TV and code on that25 -
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
-
If I want to develop a fuzzer for an open source software, do I need to code it in the same language as the open source software is written?
-
Im a student, and im learning coding, but analisys too( diagrams, use cases, documentation).
I really love code, but not feel the same about the other part.
Do you feel the same ?2 -
I ask question about code
You don't answer
I ask same one again
You don't answer
*concludes you don't know what that code does* -
When the whole team started to work on the same project for the first time.
You could know that the code was written by more than one person.
The test suit took about an hour to finish.
Glorious days they were.1 -
*Triggers OAuth request through browser
Returns : success and valid tokens.
*Another project triggers the same process and code.
Returns : well shit nigga, I know I use the same logic as above but fuck you. -
Trying to explain the difference between infrastructure as code and infrastructure as a service to someone who thinks they mean the same thing. When I thought it's all good he asked me:
- So, does AWS offer IaC as a service?
- Me: -
Material-ui looks and complete and so but their documentation is a nightmare .
They seperated component example and the code of those example.You gotta go to one page to see a silder example and test it and then you have to click on a link at the bottom of the page to go to the code where they mixed multiple variation of this compoment into the same spaghetti code.11 -
Ok, let's put some repo on gitlab, create a new branch to make some awesome features, push a lot of commits over that branch. From the website make some changes, in same files, similar in the position of line of code, but in master, you remember your awesome work, let's. Make a merge, wait there's a conflict, let's solve this, you lost some lines of code after merge, ok let's try with rebase, oh lord, the same result, what to do, what would you do? I've not more ideas 😑2
-
I saw my data structures teacher open the same Java code in eclipse, then opened it up in Editplus, and then proceeded to download nodepad++ and open the same code.... On three separate lectures.
-
Starts a new project in school with a colleague. Write some code, a lot of code, just to find out, that he "optimized" my code and now all of my code looks completly different but does the same thing wiht same performance.
Colleague: The code is now better
My Face: 😫 -
Use simple working code of an if statement and reject bad data with an error.
Get the same result but through properly using springs nested path errors. But it doesn't work so now you need to spend hours in debug hell through spring framework code for something that should be easy, is blocking another team, because I have no idea how to do my fucking job.1 -
Jenkins, why you be so fucked up? The same pipeline file runs in one folder, but fails at the root of the Jenkins server. It's the same code! Literally, the exact same code, I just moved the job into a different folder.2
-
Manipulating the spec by taking shortcuts and having certain config values do the same thing at a different place to cut down on code bloat. Let's hope the customer is happy with it.
-
So many occasions to choose from! Probably the most pissed I've been is when I'd been assigned to work on (and completed fixes for) the same bug as another developer twice in the same week after already having spent 4 days working on a new enhancement that's requirements changed literally an hour after I'd saved the code!
-
not only using a static factor to resize a freeform, user uploaded image into thumbnails, but also defining this "const" in every method that uses it ... with the same values ... gotta love working with this code ...
-
Quotes typed in Outlook are not the same as quotes typed in Visual Studio, or SSMS. Just so you don't spend hours trying to figure out WTF is wrong with you code, only to face palm.1
-
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 -
I'm gonna enter in school tomorrow, in the presentation, they told us that during the "piscine" (a test phase to put everyone on the same level), we have to make code with functions with less than 5 lines of code inside it to validate the exercise. Do you think it's the good way to make a program?
-
TFS did it again! Merged changes into something that doesn't build! So I had to undo my changes and lost an hour of work. Isn't the whole purpose of TFS to enable teams to work with the same code concurrently?6
-
Honestly, am I the same guy who wrote this code 4 years ago? How comes I never commented it! Shit man. What do you do with code that works just fine but you don't know how it works..???2
-
Honestly? The environment... I have different styles in different languages and IDEs, for example I started Java with NetBeans that defaults brackets to same line, so when I use Java I default to same line brackets, C# on the other hand, Visual Studio defaults to brackets on their own line, and so do I.
You could see me write same code on different languages/environment and it would be styled differently. Yes I know, I should be burning in hell,I am THAT kind of guy xD3 -
Why on earth would anyone agree to work in a company that sends your code to some other team to check it then you get stupid comments like yes it works great but make the code look like the code in that system we made 10 years ago so everything can look the same. Easier for maintenance.
That is not how programming works ...
Code has an essence to it...
You cant just make me break the ...
Honestly id rather work for less money and never have my code questioned on the bases that “it should look like...”1 -
In free days is hard to decide within code practicing for the whole day or gaming rush for the same amount of hours you spend on work or university projects.
-
If some older employee writes the same code, nobody bats an eye. If a newer employee (with less than 2 years in the company) writes the exact same line, everybody loses their minds (in PR review)...
Not that I give too many fucks generally, but sometimes this partiality is annoying AF.
This causes: https://devrant.com/rants/2263742/...1 -
You set a value to a variable at line 80. At line 237, you set the value again, calculated in the same way, with the same, untouched parameters. The variable isn't used at all anywhere between these two points...
If I have to do maintenance to your .net code, and can tell that not only did you learn on COBOL, but that you're a bad COBOL programer, Fuck You!2 -
If one can claim experience in a language if they have written a hello world code, can I write that I have 5 years of experience, if I write that same hello world code every year for 5 years in a row?4
-
So I work with another team that develop services I use for my website.
The thing is, when they do big changes, I am not warned. So when I update my proxies, surprise, don't compile anymore, have things to change.
Worse is, I have their code right now. And the code that is deployed right now. They're not the same. So I know that I'm gonna have to change again things some days, but that's because I searched through the code. -
Fuck google, fuck android, fuck their engineers. Trying to implement paging library 3 from last 10 days. Hitting my head for 10 fucking days. I even created a REST api for this. Before it i was using firebase sdk. After trying everything. As last resort I put my code on their sample source code. still same problem. only god knows how their sample works but lookalike my code doesn't. My Problem is recyclerview keep loading more items without me scrolling.6
-
does someone know how is devrants tagging system coded? im asking about sql code. if 1 user can create multiple posts and each post can have multiple tags, how many tables do i need to have? asking bc i need to code the same thing7
-
If I app.properties in src/resources in a jar.
And load it in code I guess using Classloader.getResource()?
Can I override it at runtime? By I guess adding a different file but with same name into the classpath?9 -
Anyone else has the same issue with XHR on Firefox, where it sends shitload of requests and then does something?
Testing the same code on Chromium stuff works just fine, only one request and calls another method. Firefox does free DDOS4 -
It seems Java on Linux runs slower than Windows... Same code takes about 2x longer to run. And well this code is for a batch job...
Does anyone have experience with JVM tuning/optimization or can confirm/disprove this is the case?23 -
Does anyone know how to preview your code through VS Code I can't view the files at the same time I can only open HTML or CSS or JavaScript by themselves9
-
The worst part about writing JS is not having a reliable development environment. I have literally had three different outputs for THE SAME FUCKING CODE! <sarcasm> It's almost like they are not even complete or something </sarcasm> FML3
-
After few weeks I got back to an Electron app. Rebuilt the thing, copied fresh binaries to a Win 10 VM, and the app doesn't even start, it instantly crashes. Literally nothing changed - libraries (and their versions) are same, source code is the same, node version is same, it was built on same machine, VM wasn't even started since then.
Tried a fresh Tux binary, and of course it runs fine.
God, I hate Windows. 😩2 -
!android_code
Hey I am getting plb in tabbed activity application in android..
Let me know how to code separately for each and every tab within same activity?? -
Random idea for the day.
An IDE plugin that allows intentionally mixing syntax from different programming languages in invalid ways within the same file.
BUT corrects code blocks to the right way by checking each code block detected as invalid say every thirty seconds. Generating code that is equivalent in output to the incorrectly specified code.
Any takers?2 -
SonarQube just showed my package name as duplicated code because I have a second class in the same package with the same package name -.-
-
When you use Cloud9 to make a project go faster by coding at the same time with your partner and you spent time on Ctrl+X + Ctrl+V on all the code so that it says that you did that code and none of it was done by your patner XD1
-
Why every time Adsense reject my website
At first, due to not finding the URL, because at the same time I was handling the server
Then, Some errors in the AdSense code.
And now, they are not finding any quality content.6 -
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.
-
So as I rewrite the same code I’m
Reminded of why I’m rewriting the same code.
Screw you Colorado !
This rant is better indicative4 -
I just discoverd a search input and can inject code on it. Send a email to the owner talking about the problem and what can happen. i dont received a reply and the website Stay the same
-
I feel stupid when I can't use VIM. Not sure if that's too bad or too good.
Do you feel the same? Writing jkhl in your code? Or :w to save your documents or emails?1 -
Multitasking is never easy. I can't debug code on one codebase and write new feature for another codebase at the same time.
-
postman to manually check api endpoint works
try again later, doing what you think was the exact same shit, which you've documented, reread your document get 404
fuck csrf
use debugger
find out its returning a 404 when the code i added fails, welp4 -
That no one can agree to write code the same way, use the same framework, or use the same tooling. Thank you js fatigue.
-
My friends making me do their coding project for school : 😈
Teacher finding the same code for both of us: 😒3 -
Dev and QA environments are housed on AWS servers, both sharing the same API code. Dev API is unable to connect, while QA is able to connect just fine. How does this happen 😱
-
The job is supposed to be about tinkering with and determining what tech to pull together and how to make it work best to solve novel problems. Not to roll back the code and get fast doing the same fucking project