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 - "commenting"
-
A note on devRant community etiquette. I've seen some behavior lately that I want to just mention since it goes against the rules of our community. We've specifically built moderation tools into upvoting and downvoting, and that is how all content should be moderated.
Commenting on rants that you don't think should be posted only gives them more exposure and unfortunately at times people trying to moderate content via comments and rants have gotten abusive towards other members. On the contrary, I've yet to see any of the people these select few members accuse of "ruining the community" act hostile towards anyone.
So with that said, I wanted to make sure this policy is visible, because commenting on other people's rants, especially in a hostile way to stop them from posting, is bannable and we really don't want to see it. Like mentioned before, that's what downvoting is for and it's much more effective since it doesn't boost the content like adding a comment does.
We take content quality seriously and while we haven't been able to eliminate reposts completely, we've made a lot of progress. For directly reposted content, we added the repost detector (https://devrant.io/rants/425054/...) and are still working to improve that and appreciate any feedback/ideas for it.
Like any community on the internet, devRant will always have some reposts and it will always have some content you really don't like. That's what comes along with being an open platform with very little moderation. We get requests to moderate more heavily, but we don't like censoring recent rants and don't plan to do that.
Most of the times people who repost content or an image didn't realize it was already posted. Not everyone uses recent sort and almost always they have no ill intent.
Anyway, feel free to let me know if you have any questions and feedback is always welcome.46 -
I cannot spell for shit, so my coworker keeps commenting on my pull requests with spelling fixes...
Decided to buy this for him today...12 -
Announcing a few new devRant Android/iOS features, available immediately in the latest versions of the devRant app which just went live.
1. As pictured, you can now easily scroll to the bottom of any long rant by selecting “scroll to bottom” in the ... menu of any rant with >= 10 comments.
2. At the bottom of any rant that has at least 1 comment, you’ll now see a button that allows you to refresh the rant (and scrolls to the bottom) so you can see new comments if there are any.
3. Any rant can be refreshed by tapping the “Rant” title in the title bar.
How did we come up with these awesome ideas/decide to add these features? For most of them, we didn’t! At least 2 of these were recently requested by devRant users (some requested a bunch of times) and we heard everyone and saw how much these were needed. Remember, you can always suggested features in our GitHub issue tracker: https://github.com/devRant/devRant - we always appreciate feature suggestions and ideas for improvements!
Just to add one note - we still have plans to improve commenting functionality, but we’re hoping for the time being these additions make things a little more intuitive.
Let me know if you have any questions, and thanks everyone!22 -
Hey everyone - tonight we performed a database upgrade and unfortunately there were a few "surprise" breaking changes to the query language we use that weren't caught during testing. Once they were discovered after the upgrade. The queries were corrected within a few minutes. You might have noticed some issues with commenting, voting, etc.
On this note, please let me know if you notice anything suspicious like errors when trying to perform normal actions, or anything at all. I appreciate any reports since it's a bit tricky for us to cover every last part of the app alone, though I think we went through most of it. Thanks and please let me know if you have any questions!22 -
People in my office sing me praises for what I can do with Linux even though I joke with them that “I have no idea how to do that - but give me half an hour and an internet connection and I’ll figure something out for you.” I even once specifically said in response to my boss commenting on my skills, “You do realize that I just like…google stuff when you ask me to do something with Linux that I don’t know how to do, right?”
But his praise didn’t change at all. There was no “Wait, that’s all it is?”
Instead, he said “Yes, but the fact that you think to do that - and that you know exactly how to phrase your searches and how to sift through the results to get the right answer, and you then integrate what you’ve learned and use it going forward - is still so much more than any of the rest of us can do. To you, it’s “just googling stuff,” but it’s still a unique and valuable skill you bring, so don’t shrug off the compliments so cavalierly, okay?“
And this was coming from an executive with an MBA. Don’t undervalue your googling skills, kids. It’s not lying if you know you can figure it out.10 -
Is devRant Just for rants?
I see such a Great community here that goes way beyond complaining about PMs and users (even though you're all right, usually). I've read comments about support for depression, Anxiety, people being supportive of woman and downvoting/commenting against the common sexism that we see on the internet every single day. We have fun, we all feel like friends even though we can remember only a few names and stumble uppon them once in a while. We mostly understand each other and it all feels like a huge family. It's a Great thing to help throughout all of the struggles I have daily in Life, and I bet many people here feel the same.
Thank you all so much for making devRant this Great community. Papa bless.13 -
Not one feature.
All analytics systems in general.
Whether it's implementing some tracking script, or building a custom backend for it.
So called "growth hackers" will hate me for this, but I find the results from analytics tools absolutely useless.
I don't subscribe to this whole "data driven" way of doing things, because when you dig down, the data is almost always wrong.
We removed a table view in favor of a tile overview because the majority seemed to use it. Small detail: The tiles were default (bias!), and the table didn't render well on mobile, but when speaking to users they told us they actually liked the table better — we just had to fix it.
Nokia almost went under because of this. Their analytics tools showed them that people loved solid dependable feature phones and hated the slow as fuck smartphones with bad touchscreens — the reality was that people hated details about smartphones, but loved the concept.
Analytics are biased.
They tell dangerous lies.
Did you really have zero Android/Firefox users, or do those users use blocking extensions?
Did people really like page B, or was A's design better except for the incessant crashing?
If a feature increased signups, did you also look at churn? Did you just create a bait marketing campaign with a sudden peak which scares away loyal customers?
The opinions and feelings of users are not objective and easily classifiable, they're fuzzy and detailed with lots of asterisks.
Invite 10 random people to use your product in exchange for a gift coupon, and film them interacting & commenting on usability.
I promise you, those ten people will provide better data than your JS snippet can drag out of a million users.
This talk is pretty great, go watch it:
https://go.ted.com/CyNo6 -
devRant is a place to rant. Not a journal of best practices.
Can I just rant without giving a long winded backstory?
Do I have to explain myself to prevent people from commenting that the problem must be me?
If you read a rant, and you can't relate to it sympathetically.
Move along! That rant is not for you!
When people are trying to vent no one wants to see your snippy little comment about how 'unprofessional' they are being.8 -
!rant
I feel darn good today! I caught some A-holes cheating the system on Stack Overflow.
So basically a question was asked with no code examples present and not a single reference to any framework being used.
The tag only had 'javascript', which probably limits to only 157.244.457 existing frameworks.
I'm commenting something like 'Show us your code so we can have a look'.
After 2 minutes, out of the blue, an answer appears. AND WOW! This guy had a Magical 8 Ball™!
He could predict the framework AND had a very specific fix. Just a one-liner! Go figure!
So I'm like thinking.. What the fuck just happened? Did I miss something? «Going over the question two more times»
All of the sudden, up-votes start popping up all over the place. The question was marked 3 times, the answer was marked an up-voted multiple times, and THEN it hit me (I'm kind of slow).
I checked both user profiles and instead of the usual 'air of mystery', these guys were actually dumb enough to include their company name.
AssertEquals == true.
So in the comment section, I raise my concerns on the legitimacy of the question as clearly this was 'telephoned' as we say it in Dutch, meaning as much as 'rehearsed' in this context.
But as if that was not enough, this another guy comes in and COPY/PASTED(!) the answer of guy #1. Again. Up-votes. EVERYWhere.
So I start going over some of the questions and answers of The Three Musketeers or TTM, as I'll refer them as of now.
TTM had posted over 15 questions combined, mostly crap and incomplete no-code questions. And they had answered most of their own questions.
Sometimes another guy's answer was accepted with zero up-votes as a smoke screen while the real winner was one of their own.
I marked ALL of these questions for moderation, left for lunch, and came back to see how far my blast radius reached.
Turns out, pretty damn far! Although their accounts have not been deleted, TTM have lost most of their reputation points.
They will remain on my watchlist for a couple of months. I know that is quite childish of me, but I just call it my 'guilty pleasure'! ;D
And besides, what else is there to do, instead of browsing DevRant?14 -
Well, this has been one hell of an awesome ride already. I’m at 70K+ and the biggest ranter as for reputation (those upvote thingies). Although I don’t care about being the biggest one currently, I do take pride in it but I’ll get back to that one later on. (I’ll very likely lose the first place at some point but oh well, couldn’t care less :))
I joined back in May last year through an article I found on https://fossbytes.com (thanks a bunch!), joined and was immediately addicted. The community was still very tiny back then and I’ve got to say that getting upvotes was also not the easiest :P. But, I finally found a place where I could rant out my dev related frustrations: awesomeness. I very much remember how, at first, reaching 1K was my biggest devRant dream and it seemed to be freaking impossible. Then I reached 1K and that was such a big achievement for me! Then the ‘dream’ (read these kind of dreams (upvotes ones) as things that would be awesome to reach not just for the upvotes but for participating, commenting, ranting, discussing and so on within the community, so as in, it shows your contribution) became 10K which seemed even more impossible. Then I reached 10K and 20K seemed freaking impossible but I got there a little faster and from that point on it’s been going fast as hell!
It’s always been a dream for me to become a very big but also ‘respected’ or especially well known user/person somewhere because that pretty much never happened and well, having dreams isn’t wrong, is it?
The biggest part of that dream, though, was that it would be a passion of mine that would get me there but except for Linux, the online privacy part was something I always deemed to be ‘just impossible’. This because irl I ALWAYS get (it’s getting less though) ridiculed for being so keen on my privacy and teaching others about it. People find me very paranoid right away but the thing is that if they ask me to explain and I actually present evidence for my claims, it’s waved away as if it’s nothing. (think mass surveillance, prism, encrypted services, data breaches and so on)
I never thought I’d find any other people who would have the same views as I do but fucking hell, I found them within this community!
Especially the fact that I’ve grown this much because of my passion is something I am proud of. It’s also awesome to see that I’m not the only one who thinks like this and that I’ve actually find some of you on here :)
So yeah, thanks to everyone who got me where I am now!
Also a big thanks to sir Dfox and Trogus for putting your free time into making this place happen.
Love you peoples <3 and to anyone ‘close’ on here I forgot, if you match any of the comments as for privacy/friendliness etc, don’t worry, those nice things also apply to you! My memory just sucks :/
P.S. Please do NOT comment before I comment that I’m done with commenting because I’ve got a lot of comments coming :D61 -
A programmer once explained Nietzsche like this:
A long time ago, god created the world, but forgot to leave a developer documentation, thus the whole world was like legacy code...
And humans are like the end user of this world, and some among them spent time studying it, using the Moral API, hoping to get a result of "http 200 ok" from our world for the peace of mind. But the true operation of this world is still yet unknown...
As time passes, humans begin to find that in Moral API, good and evil are two base classes, and all the other moral properties (like ethic, justice and stuff) are just other classes based on those two classes through multiple inheritance.
One day, when programmer Nietzsche was observing the world's runtime behavior, he came up with a question:
"Did god really use good and evil as base classes? Could it be that they are actually derived classes?"
Most of the world is currently in the favor of mankind, and god must've wrote individual user cases for it's end users, he thought.
This made Nietzsche thinking: if end users are considered into two cases: the strong and the weak, how would the world be designed base on its user story?
Let's think about the strong, they can bully the weak as they please, and there's nothing the weak can do to stop them. In this case whether the Moral API exists or not doesn't fulfill the need of the strong.
But when it comes to the weak, Nietzsche thinks that because the weak cannot fight the strong, they need to belittle bullying and praise the strong for being nice. When the weak does this, it covers their powerless state to some extent, making them look somehow equal to the strong by being capable of commenting.
God might have coded the Moral API to fit the weak's requirement, also adding some public methods for the weak to comment on the strong. If the strong takes care of the weak, they call him nice and good, if the strong bullies people, they call him bad and evil.
That's when Nietzsche realized, that good and evil are both derived classes from the weak, and the base class should be the strong and the weak.
Then he started a series of studies about the Moral API, and got some thesis that persuaded lots of other end users...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 -
I've been wondering for a while, how the backend my team has to use could have so many issues. I was convinced they had no alerting system in place and have been commenting on it for a while now, and complaining about it.
Was on a Zoom call with one of the backend devs today, he shared his screen and had his email open. I saw a folder he had setup called alerts, and sub folders under that. One of them was named the name of the service/app we are using ... it had over 360,000 un-reads ... and emails are automatically deleted after 4 months in my company.
So they have alerts setup, they just don't care ... problem solved. Enjoy your weekend folks!2 -
Just realized I'm commenting about how to summon Cthulhu with regex, while my upvote count is 666...
Őh bøy. Ţhįş įs ÑØŤ ģôíņğ ţø ęňđ węļĺ6 -
public class HelloDevRant
{
public static void main(String[] args)
{
//Commenting for reasons! ;)
System.out.print("Hello dear devRant community!\nI am new here!\nNice to meet you.");
}
}5 -
Why... why the fuck do people write unit tests and then comment out the god damn fucking assertion lines....
Like what the flying fuck? Cool, we can get some code coverage marks but for fuck sake actually let your tests do their fucking job!!!
Oh, the asserts fail?
Well fucking sort that shit out instead of commenting them out.
I don't get it, if you're going to write tests, fucking test something with them, or we'd be better of without them.8 -
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."7
-
ESTIMATING FUCKING HOURS.
Well not literally, that only takes 10 minutes.
But software estimation... anyone pretending to be good at it is a dirty liar. Adding a button? Uh, let's say 2 hours, I mean I gotta poop in between as well, and it's probably some broken bootstrap theme with hacked custom margins.
Building a commenting system coupled to an ancient CRM? Uh... maybe one day? Maybe a month? I don't even know what the CRMs looks like? You won't show me because "that's irrelevant"?
WELL THEN I DON'T FUCKING HAVE A CLUE.
And in the time we spent on discussing time estimations, I could have written like half of the feature... or zero... because you still haven't fucking shown me what the CRM API looks like.
YOU KNOW WHAT I'LL GIVE YOU AN ESTIMATION. ME. VACATION. DONE IN 6 WEEKS.6 -
Please don't comment in front of the code like this:
doSomething(); // does something
Please just stahp
Do this:
// does something
doSomething();
Much better and friendly for everyone10 -
I love Json format. It is so simple, powerful, easy to read and all that good stuffs. There is only one thing I wish Json could support, that's commenting.12
-
I am just a relatively newbie at devRant, but if I see something like in the picture I feel like devRant needs a feature to subscribe/unsubscribe to an rant without commenting.
(Don't know if this has already been discussed here)7 -
Large comment block at the top of the file, commenting explicit line numbers, as in: "line 365: copy to a new image".
Only everytime the comment block grew, the line numbers got more and more off. -_-4 -
Story, !rant.
This memory came up as I was commenting on another rant, and thought it was worthy of a better retelling.
So about a year or two ago, I had just gotten a Software Defined Radio, and was tinkering with it and looking around for cool stuff I could do with it. After stalking planes for a while (caught a 747 over my area 😎) I saw this program that decoded satellite images of earth, coming from the NOAA satellites. I thought this was amazing.
So I waited until one was over my area and let the software do its magic. The image was not great, since I had this set up on the first floor and there was a lot of material between me and the satellite.
So I came to the brilliant conclusion that I'd leave the program on automatic more (it will start sampling when the satellite is near) on my terrace, which should yield better results, right?
Perhaps. Who knows. Anyways, couple hours pass and we are running late to a family dinner. So we book it. Family dinner was great, good food and all, and was having fun, so never thought about my poor laptop, sitting alone in the night.
But then, when I was walking home in the rain... It hit me. I started running. I couldn't believe what I had done. Fast forward five minutes, and I'm out of breath, but home. I run upstairs, and see the laptop just sitting there, lid open, no lights on, and of course soaked right through.
I couldn't believe it. My only piece of tech at the time, and my only avenue for programming, gone. And I was 15, so I wasn't getting another one any time soon. Took it inside and drained the water out of it, and just left it there lying on its side.
Next day it worked just fine 🤣 the battery on my laptop only lasted max one hour, so by sheer luck it had lost power before the rain came. That is the one time I have to thank that battery for being such utter trash.7 -
I love group projects.
There is no greater feeling than, after you set up the repository with the first code files, your team mate changes the indentation and commenting style in every file to his own style without even discussing the general coding style rules in the group first.
Fucking awesome start.
Go eat a sack of unwashed hobo balls you filthy cunt.4 -
Why is innumeracy acceptable in our society?
It riles me where I see something like a current affairs or political show, (basic) stats are presented and someone says "I don't understand statistics, but [personal story follows]"
And when a person says they don't understand numbers there's laughter and nodding.
Imagine if I was on a panel and someone handed me a sheet of paper and I said that I can't read big words. Would hilarity ensue or would they assume I wasn't qualified to be commenting on *anything*?
People, if you are functionally innumerate, it's not funny. You have a 5th grade, at best, education. Be embarrassed and get help.13 -
I decided to start a new web project tonight. I'm a serial starter-never-finisher, but I thought, "No @AnonymousGuy, you'll work on that android game that's genuinely almost releasable aside from the shitty makeshift UI you gave it while learning Unity."
Fuck yeah. Motivated, I picked up my laptop and put it on my lap. I grabbed my phone, opened DevRant, spent 2 hours reading rants, commenting, +1'ing, and looked down at my laptop. Put it back on the floor. I'm too tired now.
Fuck me and my total lack of self-discipline. 😑3 -
When my coworker doesn't want to believe his code is inconsistent, yet he changes the syntax for commenting 3 times over 10 lines.14
-
//Let it be known that on May 25th, 2012, a single missing semicolon on the below line caused nearly eight hours of confusion and grief.3
-
I really, really don't understand people.
Made a post showing gameplay video from my game "Hang in There" - hundreds of like on it, people commenting how original it is, and that they want to play it "now".
Released the game a couple of days later... less than 15 installs - and the freaking game is FREE :/
Here it is, judge it yourself:
https://play.google.com/store/apps/...20 -
when your co-worker instead of commenting a piece of old code wraps it in:
if (false) {
...
}
Took me 2 hours to figure out why my changes weren't working.3 -
!rant
How many of you developers agree with Robert C Martin that commenting should be avoided as much as possible and that it should only arise when we fail to express ourself effectively through code.27 -
!rant
Is it just me or does being a programmer sometimes feel like being a magician. It's such a weird profession. You're living in a bubble, nothing you create is physically tangible, yet anything is possible, and there is always more learn.
Most of the time it's art. Commenting out dead or obsolete code instead of removing it just because it feels like you put a little bit of yourself into it, even though it has no use anymore.
I sometimes wonder if there is any other profession out there that makes you ride the same rollercoaster of satisfaction, frustration, glory and defeat we've all been on.3 -
Son of a... insurance tracker
You hit delete and I’m stuck with this reply!?!
Stuff it, I’ll rant about it instead of commenting.
How’s an insurance e company any different to google tracking your every move, except now it’s for “insurance policy premiums” and setting pricing models on when, how, and potentially why you drive.
Granted no company should have enough gps data to be able to create a behaviour driven ai that can predict your where and when’s with great accuracy.
The fight to remove this kind of tech from our lives is long over, now we have to deal with the consequences of giving companies way to much information.
- good lord, I sound like a privacy activists here, I think I’ve been around @linuxxx to long.20 -
Yesterday, my new (Irish) co-worker comes to my desk and asks me a question about an issue in his code.
His commenting all done in Irish.
Him: "If you want me I can translate the comments for you?"
Me: "Ní gá, is féidir liom é a léamh go foirfe." ("No need to, I can read it perfectly fine")
co-worker looking at me like: "wtf just happened?"
After a while, I spotted the issue (I noticed the expected output from one of the functions not being of the correct format - an integer instead of an array).
So I fixed it.
Next day (this morning) I came back at work, looked into my food drawer to see what I would eat for breakfast (yes, I have a drawer specifically for food, and yes, I eat breakfast at work), found a small box containing an Ulster Fry :D
Best breakfast at work in a long time :D6 -
Continue of https://devrant.com/rants/2165509/...
So, its been a week since that incident and things were uneventful.
Yesterday, the "Boss" came looking for me...I was working on some legacy code they have.
He asked, "what are you doing ?"
Me, "I am working on the extraction part for module x"
He, "Show me your code!"
Me(😓), shows him.
Then he begins..."Have you even seen production grade code ? What is this naming sense ? (I was using upper and lower camel case for methods and variables)
I said, "sir, this is a naming convention used everywhere"
He, " Why are there so many useless lines in here?"
Me, "Sir, I have been testing with different lines and commenting them out, and mostly they are documentation"
He, "We have separate docs for all, no need to waste your time writing useless things into the code"
Me, 😨, "but how can anyone use my code if I don't comment or document it ?"
He, "We don;t work like that...(basically screaming)..."If you work here you follow the rules. I don't want to hear any excuses, work like you are asked to"
Me, 😡🤯, Okay...nice.
Got up and left.
Mailed him my resignation letter, CCed it to upper management, and right now preparing for an interview on next monday.
When a tech-lead says you should not comment your codes and do not document, you know where your team and the organisation is heading.
Sometimes I wonder how this person made himself a tech-lead and how did this company survived for 7 years!!
I don't know what his problem was with me, I met him for the first time in that office only(not sure if he saw the previous post, I don't care anymore).
Well, whatever, right now I am happy that I left that firm. I wish he get what he deserves.12 -
People commenting in google play like "this app is bad, crashing all the time". Well, there is a report button over there, maybe you can help me to solve problems instead of whining?2
-
Not commenting enough, using if instead of switch, messing (and breaking) the IDE, not reading pop up messages, thinking and not doing, watching Netflix, starting on new projects before finishing old ones, complaining about certain languages, googling instead of figuring it for myself (sometimes), let my friends persuade me into making something for them, run-on sentences, not enough comments, giving up quickly, not doing adequate research, and of course, not writing down good ideas I have.9
-
When your friend do all the work and you're just sit beside him commenting on the UI like a fashion critic.1
-
!rant
int postsSoFar = 0;
Hello everyone! This is my first post here, so I guess we can do postsSoFar++ on this ocassion.
Let me start off by saying I'm grateful I have found this community! Only devs can understand devs problems. So it's great to have found a place for people to release their anger and frustrations where they're not part of a minority.
That being said, I'm not to keen on commenting too much or anything at all. I mostly enjoy seeing rants from others. But I never find myself to be in a position of being 'helpful' to the discussion.
Reading things that I don't understand make me feel left out. Not only posts here, but even source codes for projects and such. I feel overwhelmed at times and barely get a general idea of what's happening.
That being said, I love programming and started it seriously two years ago. C++, Java and Python are my favorites even though, at times, I don't understand them fully.
I'm more of a lurker on most social media but here it feels like I could share my experiences. But I don't have interesting enough things to say. And I'm anxious of even trying to say my opinion on something without someone else already saying it.
This is not a cry for help on how to be more social. But I am sure there are others like me in here that would love to start on speaking out their thoughts.
I know how welcoming and friendly you can be, guys and gals, to newbies. So, it would be appreciated if you continued to do so, including myself, of course.
Much love from a newbie programmer! <38 -
Friend - could you comment your code, so I can review it pls.
Me - *comments "gets shit done" ,
"Does some shit ",
"I really don't like commenting my code "4 -
Commenting in code isn't to remind you what you did, its to temporarily remove features your boss doesnt want today, but will tomorrow1
-
Copy paste from the internet, usually stack overflow without knowing what the fuck the lines do.
I saw this girl who was tasked with building a spring mvc application and she literally googled(yeah googled) "spring mvc web app" and copied from the first tutorial site and pasted it.
When errors showed up she copied everything from the second link and pasted it ... Wait for it... Without deleting the old copy but commenting it out so each file had 100 lines of code and 100 lines of comment9 -
At my current project we use SVN, but today I noticed a colleague of mine uses another version of version control as well.
Example:
V1:
console.log('Hello, world!');
V2:
//console.log('Hello, world!');
document.write('Hello, World!');
V3:
//console.log('Hello, world!');
window.alert('Hello, world!');
//document.write('Hello, World!');
Every singletime Ive to remove 40 lines of comments before Im able to follow the code and refactor it.3 -
Feature request:
A lot of people have been commenting on rants just to later get notifications about it, but also from my experience often times I comment on a rant but don't want to be subscribed to it.
Why not make it not subscribe you to the rant by default, and instead change the rant mute button to do the opposite and subscribe you to that rant? It would avoid the pointless comments, and this7 -
I used vs code for a solid 3 years, but my friend has been using notepad. No color coding. No dark theme. No auto commenting. No suggestions. Just plain black text in a white box.
Like a psychopath.6 -
I (don't) like how some people say "If your code needs comments, your code is probably ugly and should be rewritten".
Well, asshats. You have never considered complex calculations/functions or "temporary" workarounds, right?
Sometimes, you have to do it in a not-very-readable way for efficiency. There is no way around that in that case, and comments that either explain the code below or provide alternative, slower code that's commented really help others understand your code.
If I ever work with you and you don't bother commenting your code at all (or rather use slow code because more efficient code doesn't appeal to your "muh code dun need comments" approach), I will hate you.6 -
How come it is so hard to find good developers. Have been doing interviews for a couple of weeks now (for a senior PHP developer role).
First round is me talking about the function and company, asking questions about candidates experience, wishes and we usually end in some tech conversations. Most of the resumes I got are pretty fucking good. I mean, experience with low-level languages, experience with the problems we need to solve here, contributions to open-source, experience in R and MathLab etc etc. On paper they look perfect.
For the second round I give them an assessment which they can do at home on their own machine in their own time. It's not a hard one, just some mathmatical problems they need to solve. A quick google GIVES the answer (no joke!!). But that's OK, I look at their code cleanliness, proper use of commenting so I can determine if they are solo-developers or fit good in a team and if they abstract repeated functions and make sure that they take their work seriously, you know the drill.
It pisses me off that I get BROKEN FUCKING CODE WHICH DOES NOT EVEN RUN and that I get code back which I look at and makes me vomit instantly, I mean, DO YOU EVEN TAKE YOUR PROFESSION SERIOUS? How dare you to ask for 50k the year, a lease-car, extra bonusses AND YOUR FUCKING CODE SPITS OUT COMPLETLY WRONG ANSWERS OR DOES NOT EVEN RUN WHAT THE FUCK DUDE GO BACK TO FROM WHICH EVER HOLE YOU CRAWLED OUT AND STOP WASTING OTHER PEOPLES TIME WITH YOUR FUCKING INCOMPENTENCE...19 -
After a very busy week I’m enjoying my Friday evening with a nice glass of Tullamore, a few slices of my medium cooked housekeepers roast and some vintage-ish music videos on the projector.
Because of homeoffice I forgot how good it feels to be exhausted.
Enjoy your weekends everyone🥃
And don’t even think about commenting some shit about Lana, she’s a-fucking-mazing😬15 -
So today I arrived on Ireland to hike for three weeks. Tomorrow I'm heading out together with one single other scout to walk 160 km from point A to point B, both of which are unknown until the minute we start. I'm not quite sure how much internet coverage I'll have, so perhaps there won't be so much ranting, commenting and ++'ing. Sad to leave for almost a month with just a couple of hundred ++'s left to reach the magic 5 digit score. Well, anyways. Unless I appear earlier, have a nice few weeks!5
-
I regret commenting on a WordPress blog using my full name. Although there was nothing stupid on what I wrote, I just hate it that I googled my name and it showed. I just want to delete my useless information / myself on the internet.
Never will this happen again.10 -
Learned a new word here in devRant: sleep code.
Code that's is written where you hardly can get an eye open.
Crazy shit 😵
Edit: Yeah, I count sleep code as one word (or phrase if this will satisfy you before commenting)11 -
Back then when I was working on a website logic, I didn't want to comment my code. Despite that, I wrote some things which were obvious and I thought it would be funny to explain obvious things in code. I made a joke out of commenting.
Recently I needed to use a part of the code for a different project and the comments were exceptionally helpful and I would be lost without it.
So, kids, comment your code!11 -
The Return of Mr. Gitmaster:
So there is this colleague I already ranted about several times. After my previous team lead had confronted him about not doing much work, there was some irritation because he showed not up at work, but it turned out the external training he did was just a week earlier. Then he was ill a week, another week vacation so we didn't see him much. Not that his pre- or absence makes much difference to our repo: When his and my team lead looked at his commits of the past three months they found like the one copy-pasted HTML-form that wouldn't even show.
Fast forward to now, where we have a new team lead and we were going to lunch with Mr. gitmaster. So we got some more hero stories from the great work he was doing in the previous company. How he was graphically monitoring the heap fragmentation that stupid glibc was causing to their search engine, and how much better it became with tcmalloc.
I still don't understand how he bridges that cognitive dissonance from all the superior tech knowledge he displays to not actually writing any code at all. Not that I would not have experienced some states of feeling low, in paralysis unable to write a single line of code... but he seems so full of confidence, always commenting how trivial and easy all these tasks would be, as if it's all so lightyears below his abilities. Maybe he should just become a manager - but not mine. -
I guess most of the things I do are a bad dev habit?
From not commenting stuff to commenting in German to copying stuff without looking at it, procrastinating a lot, not starting at all, bad naming of variables, bad... Everything? Idk, I have a lot to learn4 -
Architects at the company I'm at rant about, "We don't believe in commenting our code. Good code is self documenting". Nothing about our codebase is "self documenting" FML7
-
/*Why this website does not use slashes to the front of all the comments on a rant is beyond me!*/4
-
Hello everyone!
I have just released a huge update to dr!
This update includes commenting, viewing comments, voting, better backend, and much more!
If you haven't already downloaded the client, go to:
https://github.com/ewpratten/dr
Be sure to read the README!
(Yes, I know some commands take a long time to execute. A lot of data parseing happens in the background. This is being worked on.)4 -
-not commenting
-leaving console logs behind in production
-not testing if it works in IE
-using root too much
-using if instead of switch
-never staying consistent with naming conventions
-starting projects and never finishing3 -
I was about to write a rant on saturday, but I thought: the company and the morons hired by the ceo and investors make me rant, so the company should pay that, during my working time.
At my current rate, this 10 minutes monday rant plus some rant reading and commenting, it's about 10$.
Let's the morons pay that.3 -
Actually got these tips today:
1. Write code so clean that it won't need commenting.
2. UML and other flow charts and graphs are very important.3 -
Doing and Code Review today... Not sure if this guy has really bad OCD, gets bored, or gets stuck and starts commenting the shit of things...
I'm not sure if I like it or hate it... typically "Good code should be self documenting" but this actually might be acceptable... code on the left, 10K foot view on the right?4 -
I just started commenting my code. I know, its horrible i havent done this earlier..
I actually enjoy it now, i can express rage, write small jokes for myself to read next time i gotta edit the code, or just remind myself how fucking stupid i used to be11 -
Did you know that commenting '+1' or 'OMG I really need this, pliiz can I haz this asap?' just spams hundreds of mailboxes? Use that little star above there. It's appreciated. Thanks.5
-
My internship company does not believe in the concept of 'commenting'. They just tell me: "Ahh just write readable code!
Yeah that's cool until I need to read out thousands of lines of javascript without a single comment!5 -
how would you spell the sound of a fart? I really need this for commenting a block of code in PHP16
-
Deleting debugging/logging lines instead of commenting them out, when there is 95% chance that I will need them again3
-
That time when you hop from one rant to a ranter profile and onto the next rant and repeat until you're commenting on some ancient post.
😬😬😬 Sorry!3 -
i *hate* when someone changes my code with out doing any of: asking first || commenting changes || telling me afterward.4
-
HOW. IN THE WORLD. COULD IT BE SO DIFFICULT TO COMMENT THE CODE I WRITE MYSELF ?
After my first project (you know, the "Working project I made for fun long ago" code everyone did once, but when you look at it again it looks like sorcery and there's no way to understand it ?), I decided that I'd comment almost everything I'd do... But...
When I begin a project, it's fiiiine and I do my comments the way they should be... AND THEN, WHEN DIFFICULTIES ARRIVES AND I START TO BE TIRED (ie : always) THEY START TO INCLUDE INSULTS OR WEIRD JOKES ABOUT THE PROGRAMMING LANGUAGE, MOVIES REFERENCES, AND SOMETIMES THEIR LANGUAGE VARIES. (Like, that project you're doing in English and suddenly there's a comment written in French in the middle of that)
Soo, yeah, even if I do comment my shit now, it isn't more helpful, lol. Maybe I should listen to relaxing music when I code err.
Oh, comments. Damn comments. Someday I'll do those correctly. Maybe.8 -
Yeah, I can see you guys are also commenting (t.memeing) about this so may as well jump in the fun too.
Also Im still alive to anyone that may care an atom about it3 -
If you are more interested in “being right” (aka winning an argument) than learning from experiences (both your own and others), then I will not waste my time on you.
Story time:
As a member of a startup accelerator I had the privilege to run into many types of people.
There were 2 entrepreneurs who liked to argue a lot. They would argue not just with other members but with advisors, investors, EIRs, everyone. They were much more interested in “being right” than learning from the experiences of those around them.
They flustered many people, but sometime we would have REALLY seasoned investors or entrepreneurs speak to us. Those folks never got flustered.
I needed to know why...
So I pulled aside one of the bigger investors and asked him why. This was his response.
“I’ve invested and advised on every type of company you can imaging, with every type of entrepreneur. There is a lot to be learned from that experience. But if you are more interested in winning and argument than learning from experiences and creating a good business then you are not worth my time.”
He would give his advice and then go right back to his email for those folks.
Smart
1 of the 2 entrepreneur I mentioned actually turned it around. Once he found out that the investor had invested in and almost identical company in the same space and that they had sold for 100M+ he finally started to listen. You could see him really fighting the urge to argue, but he did it. That guy ended up being successful and is on track growing a company today.
The other guy had no success and is still on the Slack group of the co-working space arguing with anyone who will engage him.
I know which one of those I would want to be.
PS. If this hurts your feeling and you feel like commenting. Feel free. You’ll look very cute.2 -
I have been commenting a lot recently on linux ranters who rant about windows for stupid reasons.
To all these people who think linux is better and they are smart(er) than windows users, i say:
We use windows in the company I work for. And if you are a linux user, you're just not welcome and your skills are just a waste for the company. And yes it is a successful company with 100s of millions of euros as net revenue.
Our users have windows machines and we offer topnotch Microsoft solutions for them.
When you ask me to switch to linux because of a problem i had in a Windows machine, it makes me feel that you are a stupid person who knows about linux and gives solutions based on his stupidity and on zero knowledge of the scenario.
Please be professional and think about the solution you are offering. It would be best if you did not offer any solution at all in fact.13 -
Some Project Manager outsourced a redundant RADIUS setup with MySQL backend. We got 2 copies of a daloradius appliance running on Ubuntu 10.04. Once I saw this, I started to get a bit suspicious and requested to audit the system and database redundancy. With the system in production, and without getting back any documentation, I got into the VMs using the default root password. This was not even the worst part, as I found. One server was using a local MySQL instance, while the other was also using the first one's MySQL instance. When I reported this, I was told to comment clearly any changes to the configuration files, which resulted in commenting the word SHAME above each change.1
-
!dev
Theres atleast one fucking bastard that writes comments like "2018?" "2018???", "september 2018?", "still listening in 2019??" in every fucking song video in youtube. Fuck you braindead useless pile of shits! Yes its fucking 2018 and why the fuck you just write it there?? Why the fuck somebody even cares and likes that kind of trash comments?!? Fuck you bunch of wasted human cells. I want to kill all of those fucking fuckwits. STOP FUCKING COMMENTING DateTime.Now.Year IN EVERY FUCKING SONG YOU MOTHERFUCKER CUNTS!5 -
Wozniak, Apple don’t give a shit about what you think, they didn’t 34 years ago when you left and they certainly don’t today. Please stop commenting, you are irrelevant.11
-
Working for a company with solid procedures really makes me appreciate how important they are. Knowing someone will be scanning through my pull request made me *really think* about appropriate layout and commenting. Before I could submit any old code and the other programmer wouldn't give a monkeys.
I guess that's a poor reflection on my performance but, I'm working on it -
So today I started working on a code base someone else wrote and stubled across this and thought it was worth sharing.
Why somebody would be doing something like this is beyond my understanding.
Not commenting on the empty catch block keep in mind the whole snippet has nothing to do with rest of the code...
WHY!!!!!?!?!?!?!14 -
Trying to automate gitlab deployment with Ansible. It runs but freaking keeps failing on task. Reconfigure the gitlab server. Without helpful output!
After 2 days bashing and commenting line after line the answer reveals.
True != true Fuuucc...1 -
People who dont know shit about technology and dont know how much work is required to make a product are commenting on how software should be made. (Pure management background people not even senior level).
- PS. Im fine with management people with tech background.2 -
Effect of coding :D :P
That you start commenting even when your searching , and the fun part is Google understands it.
It showed me result of Phuket ignoring Bangkok, HAHAHAHAA!!!!2 -
I found someone commenting on some store location on Google maps:
- Where is its place exactly?
dude! you're commenting on ITS PLACE.1 -
Not commenting and documenting as I write. I always wait till after and then I get bored of it while doing it...
-
example of my commenting on bugs to fix later
Before I found devrant:
//1-3-18
//when user goes to send mailing for first time
//we need to remove the message from admin
//which only displays on first time login, but
//may block the data we are looking for
// then return to parent
After DevRant:
//9-8-18
//when user goes to send mailing for first time
//there's a fucking stupid message that they
//have to read once which blocks the data we need
//so, goutte click that shit, then return to parent3 -
<insert obligatory "long time lurker" statement here>
Started a role about 6 months ago. I'm the sole IT programmer. A bit of the mess I inherited...
- 100+ stand-alone applications/tools (luckily most of them aren't too big).
- No documentation.
- Some applications' only copy of the code exists in production.
- We only have production.
- A single file consisting of 30K+ lines of VB. Little to no comments. The one comment at the top says to keep old code by commenting it out and state what you changed.
- Previous devs didn't like foreign keys.
- No. Fucking. Version. Control. At. All.
- And so much more...
Luckily I was hired due to my experience so I could fix all these problems. Its actually a really great job.7 -
I want to dedicate my first post to all the people who build this great community.
And I hope start commenting more.2 -
During my job hunt as a Java Developer looking for job while on a job just like what every other developers do, around twenty twelve i got an invite from one of the companies i applied for, i wasn't expecting a test though but i was prepared for it anyway. The test proceeds, i and the other partakers were given separate systems and spread out across the room like teams in a football match, i don't know if they planned on making us nervous, it seemed so very awkward. First question was *Who originally developed Java (like seriously???? i almost cummed!) i skipped... skip skip skip. After so many skipping minutes i then arrived at that question ***Check string for palindrome, hmmm i then noticed my system was connected to an open wifi (don't know if it was a dumb mistake or on purpose). I definitely googled and faithful loving heavens i found the website were they got all 21 questions with their answers from (https://simpleprogrammer.com/progra...). I answered all questions using different approach, applied xml commenting, state possibility and outcome of each code block, added wiki references, i flawed the test. Few days later i received a call for final interview, got there and the interviewer was like "Do you teach/lecture on coding or something? cus you really did pretty good on the test the other day", I felt like a god and was like "no, i don't. just did what i had to do". Seems like he loved my reply and i got the job without a second question. The open network is still a mystery to me till date.6
-
Anything that allows me to forget my imposter syndrome for a few minutes.
Examples include:
- Coworker sending me a Slack message commenting on a function I sent him: "Dude this thing is awesome"
- Manager commenting on a data sync process I wrote: "I love that. Seriously."
- Myself finally solving a problem that had been eating my lunch all day: "In your face, computer!" -
Who said CSS/Sass is not worth commenting? I'm fed up with those devs not commenting a single thing in their code. CSS/Sass might seem simple but there's many cases where a single line of comments would save you 10mins, or more... FFS!4
-
My dev Goals:
- Write better code commenting more.
- Create my first Open Source Project and publish it on GitHub.
- Improve my design skills.1 -
I've refrained from commenting on which IDE is best and which isn't, what simply works for me is eclipse. So far it handles stuff for me pretty nicely... until today.
Look at this screenshot, can you spot the wtf? Like, SRSLY, WTF.... Might it really be just that DOT at the end or is it just the dot concatenated at the end of the error message?13 -
Stop commenting out code blocks!
Either fix your shit or delete it.
I am open to argue what fixing may mean, as it is perfectly fine to make your broken code not reachable, e.g. via feature flags or skipping certain tests. Yet never ever should you comment those blocks!
So you say you want to keep it for historic reasons? You know, that is why we use version control! If you ever need certain functionality back, you can restore that state.
Each decent IDE also offers a local history where you can even restore code blocks that weren't even pushed or committed. So use that!
Commenting out test cases is a really bad habit, as you have no reminder that you shall restore it.
And no, a TODO and a FIXME won't count as a reminder as you have to actively look for them. And we all know how well that goes, don't we? (One time, I found a typo of a `TDO`. So even with a regular lookup for TODO, stuff will slip.)
Each test suite offers you ways to skip tests if there are valid reasons why they should not fail the build temporary and they offer colorful feedback. Yes, that means that your tests won't be green, but guess what: That's a feature! They shouldn't be.
That yellow is a fine reminder, aka warning!, that you should really fix your shit.
Commented code screams: "I DON'T KNOW WHAT I WAS DOING!" and it confuses the hell out of other developers ("Was this commented because of debugging purposes and should be active again or can I safely delete this!?") and adds verbose crap to the code base.
If you find yourself to be in a place that you comment code a lot, I also argue that your workflow is broken.
When you are using a decent debugger, there shouldn't that much of a need to comment in and out a lot of code in order to reason about your code-base.4 -
Feature request: hierarchical commenting for replies to specific comments within a post to de-clutter the comment section a bit. @dfox @trogus4
-
!rant, but a feature request.
@dfox, whenever I use the comment box, it covers the whole screen. So, if I wanna tag somebody in my comment, I gotta close the comment box once, memorize their username since there's no autocomplete on @'s and then type back.
Either the comment box could be shortened, or autocomplete be added to user tag function, which could atleast detect the users commenting on the current thread (since programmers suck at memorising).
What say, DevRanters?5 -
"Multiline strings can be used as block comments in Python." Except in some places, where your code will pretty much blow up without any errors, because instead of commenting out a portion of an array, you've just added one big string element. And there's no other way to make block comments. And after actually commenting out every single line, your version control won't know how to merge it anymore, because there are now 100 changed lines instead of 2.6
-
Hi devRanters, hi you all.
I really appreciate all of you that are patiently reading, humorously or not so humorously commenting and wise or not wise giving advice to my semi-serious rants.
It's a great stress relief for me in this moment to know somebody it's out there listening to my stupid problems.
And probably will also improve the life of people around me.2 -
Please don't tell me the mobile app is a priority when the whole IT infrastructure has been handled by fuckface interns who had not a single fuck to give about documentation or commenting their shitty code that strangely reminds me of a drunken Jenga game.
-
This rant exsists for @ReportBot's logging.
I do not recommend commenting on this unless you want to be spammed with notifications8 -
Feature Request
Be able to see the text of the rant one is commenting on, some of use have difficulty remembering more than 50 lines of text at a time.5 -
On thursday i spent 5 hours on a function. It was about to include in production build which was due on friday.
On friday PM informed me that we are dropping this function from application. It will not be included in any build now. So just prepare the build without that function.
So, instead of commenting it out or make it hidden i deleted the source code for the function entirely.
Today morning it has been decided that we are including that function in our next build.
I am fucked. I am very bad Developer i guess.. i am laughing on my mistake. It will not happen again though.9 -
Why is there always one asshole!
New job just a month in, had a meeting where we could bring up improvements and put them on cards.
I brought up the idea of using slack so we could collaborate better or maybe a collab space. We all have our own offices or share with high walls.
The guy running the meeting has the same title as me said we never had that before, are you unhappy with yiur onboarding?
Slack or a messaging app is industry standard for even none tech companies. I was polite and said it was just a suggestion and it might make it easier to get help for the new people if there is a group chat.
Also brought up using a formatting standard so code reviews are spent commenting on spacing. I said we could you prettier to implement that and just pick a standard.
He said that was an issue because people were not paying attention before they pushed the code.
I am sorry I am new so I am rewriting and rewriting code all the time. I was to format on save and not spend time fucking formatting!
I could use a package before since it I formatted it would look like a bunch of fucking changes in git.
Why make things harder? Part of the meeting was how to get code done and PR’ed faster so it gets to the testers. Autoformatting shit would help.6 -
I just used Visual studio c++ for the first time. In comparison to intellij it just sucks, so many features are missing, im fighting with the editor all the time.. For example Code completion, visual studio suggests me the method name, i press enter, new line inserted, wtf? Apparently only tab is working here, next try, visual studio suggests method, I click tab, method name inserted but whithout brackets, omg. The standard shortcut for commenting out code is CTRL+K followed by CTRL+C, if you want to use the code again you need to use CTRL+K followed by CTRL+U. HOW STUPID IS THIS? Refactoring of code, e.g. Method names also sucks...6
-
I can't share it but I basically just wrote an email at work that's pretty much a rant.
Basically something like should we use Java for this new component? It needs to communicate with our existing server written in JS.
And someone was like no we should stick with JS and Node because that's what the website is written.
And so I'm like wtf... It doesn't matter as long as everyone agrees to follow the same rules... And then added a part about commenting and documenting stuff being more important so I don't need to keep doing CSI on the codebase when something blows up.2 -
If you have any project (personal or not, doesn't matter) that does not have proper code comments and documentation and you don't want to make one because of the effort (maybe even "wasted" effort), think again. When commenting on a wall of code to say what it does, you may find a better way of doing what you have to do, possibly increasing performance, or improving security.
I have been able to do better input sanitization for a method on a personal project of mine because of this.
Don't use the amount of effort for proper documentation as an excuse not to make one.2 -
Stayed up extra late fixing a bug. Fucking bug is buried in a thousand lines of MOTHERFUCKING SML.
FUCKING ASSHOLE SHIT-WAGGLING COCKSMEAR AND THAT SHITTY, GODDAMNED BACKWARDS FUCKING LANGUAGE!
Fucking wasted an entire night chasing down a fucking bug in SML with no positive effect.
I wound up commenting out 7/8 of the entire fucking codebase to try to find the fucking bug. No positive effect.
Finally had to go to sleep because my son was about two hours from waking up.
Getting back to work, and within twenty minutes I found the fucking bug and fixed it.
Fucking wasted nearly an entire night's sleep, and I ended up fixing the fucking bug before finishing my morning coffee.
I seriously fucking hate motherfucking SML.3 -
There should be a button on a rant that would allow you to get notifications without commenting.
(And probably a notification group for those "marked" rants, as there are many comments from rants you commented on that would bury the ones you actually care about)3 -
Things I learned in this 2 month training in an IT company ;
- the way @marcerisson wanted me and my group project team to use Git (and kept yelling at us about ) is actually the proper, professional way of using Git
- there is a difference between an MVC model and a fucking pack of overcomplicated spaghetti code
- commenting your code and naming your variables properly IS IMPORTANT especially when another dev might read it 15 years later (i see you Mr I Name All my Variables With the Name Of the Function and A Number)
- « if it worls it ain’t stupid » also apply in a professional area
- where ´s my fucking rubber duck2 -
FFFUUUUCCCCCKKKKKIIIINNNNGGGG GGGGGGGOOOOOOOOOOOGGGGGGGGGGGGGGGGGLLLLLLLLLLLLLEEEEEEEEEEEEEEEE.......
Spent 2 days trying to figure out why the template app didn't work, debugging and commenting out code....
The solution was somehow the XML elements need to be flipped... AKA... the template ***written by a Google monkey*** is WRONG!!!!
https://stackoverflow.com/questions...6 -
That feeling when after not enough time, of reading and commenting on new rants, you catch up to your rant, only to realise 2 hours have past and not 10 min, like you think it was..
-
It is as if this community is not too large.
It's always the same people commenting and posting rants
We can even count them16 -
Why commenting is important?
If you are commenting a variable or method and you can't find the right way of explaining it, there's a problem with your code6 -
// Hairy ass complex logic
if(1 == 2) { ... }
If only the programming language had a built-in syntax for commenting out code, you fucking cumdumpster idiot.1 -
All of the basic features of the rewrite have been successfully implemented! Ranting, commenting and even different types of posts have been implemented.
In 1 fucking month. Fuck, if that’s not impressive I don’t know what would be honestly.
Now - time for notifications.2 -
Thank God for devrant. I am literarily fuming right now. Just removed some redundant (or so it seems ) code last week and already suffering the consequencies. Crazy commenting screwed me up really bad.3
-
Feeling sleepy reading v4l2 documentation.
Opens devrant for a few minutes.
After 45 minutes of scrolling and commenting.
Shit, I need to get the driver working today.1 -
Hi, I am the programming director of my FRC team from Israel, MisCar 1574. In this competition, the robots operate autonomously for the first 15 seconds scoring points and than for the rest of the match which is 2:15 minutes the robots are being controlled by drivers. Before the Detroit world championship we uploaded a showcase video of our autonomous, we reached a pretty good level and as the programmers we requested a specific song to be used in the video. This song is called in Hebrew "Yam Hashibolim" and it has a meaning to us, this is what we listened to while working hard every night until about 4:30 am in order to do this. But our media team didn't listen to our request even when all the other team members were with us on this. We would like your help convincing them by commenting #YamHashibolim on this video https://youtu.be/x7wPmq_Fa0Y
If you also participate in the FRC, you are welcome to add your team number like #YamHashibolim - team XXYY
We would really appreciate any help from you 😊19 -
It realy just warms my heart when the customer provides us with software that I need to go through manually and test every method individual before we can start implement it. Then I have to spend hours testing every fucking bit of it to make sure the modules we control with said sw doesnt meet their untimely doom cause the sw is too broken to actually run.
Any.net developers on this plattform? If you doesnt use these xml comments for commenting methods, you're on my hit list.
I realy hate these back-alley developers. Sorry of I sound salty and whiny but seriously. These past 3 weeks, most of my time Ive just worked around issues instead of solving them, cause their sw just keeps chaining good coding down to the ground. And theres no documentation cause "we have higher priorities ", testing is done by us at release cause "its faster and we dont make mistakes" and worst of all, our contact quote on quote "senior experienced developer lead design im far up my own ass and way more experienced than you" guy is a consultant who is only reachable about 2h on a daily basis.
Tldr: we live in a society. -
Hey Guys
So... I Have a question / rant / frustrated commenting to do...
WHY THA FUCK DO FIRMWARE TAKE SO LONG TO UPDATE!!!
been configuring my webserver and 2 p2p cameras to access from the outside, and for each click or change can take 1 to 5 minutes to implement...
And then, like 6 or 7 hours latter I notice that everytime the port wasn't associated, a small label in like size8 text shows that port is already in use...
And... Da FUCK??
I'm associating the ports myself... how can port 82, 83, 84, 85, 86, ... be In use?
I have my server in 80, WebDav e another non relevant port, and trying to find open ports for the p2p cams...
Fuck I'll just delete all that services that no one uses and are pre configured, like, emule? napster? FifaPC? WTF? I never played Fifa, don't like socker. KaZaA SERVER? WTF why does this shit comes pre-configured?
Btw I'm writing this while I wait for the router to finish every time :p7 -
I happened to come help with a project that deadline was in two weeks. It was hardware project for customers with UI.
They said to me - help us 2 weeks and it’s done. It only needs polishing. There was nothing working and we finished it after half a year.
Hardware was crap and drivers wasn’t working. Managers called me stupid when I tried to explain that this is hardware team fault. They used to say that it was tested in laboratory and there is no defect. Laboratory my ass fucking assholes never released anything from scratch.
I got depressed after this project for a year. It was fucking nightmare.
Everything, literally everything was rewritten 3 times cause of stupid decisions that I questioned all the time. At the end of project most of those assholes stopped commenting my decisions. I believe we released impossible product that was crap but based on usage rates I got later when I left it returned expenses.
I lost like 2 years of my life and about 20kg during those 6 months. Never again. -
I saw this piece of code, one of my colleagues at work wrote it.
The content in in the function also had 0 comments.
Sorry for posting this here co-worker but it sincerely bothered me.
// Delete all
function deleteAllFunction(){
...
}5 -
Today a senior developer and a colleague started looking into my code reviews and started commenting best practices that were never used in the team.
Got my chance back at the senior developer's code when he raised a code review, which had none of the best practices.
Gave back a good set of review comments to him :D
Karma is a boomerang :)2 -
Not commenting my code just to return 2 weeks later to wonder what kind of special asshole wrote the code. And what the heck it does.1
-
Devrant devs.
Hereby I suggest you add the option to add a poll to a rant so that people can vote on various topics. Voting and commenting should be a separate thing.4 -
I fucking hate those cringy Indians commenting dogshit on almost every youtube video. Never have I even seen anyone more dumb than these retards. Almost every programming tutorial on youtube is infested with "plese sir pls teach me hw to hck i wnt to be a hckr" and "sir my phone no is xxxx and my email id is xxxx send me the cod plz". I mean even on css tutorial videos? seriously? No other third world country has such boneheads. I just hope each and every retard like this drops dead the moment they write stuff like this.11
-
So this new guy keeps commenting on the fact that I drink the ‘free’ instant coffee instead of the 3$ coffee from the shop next door..
LEAVE ME ALONE!!5 -
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
-
So i was commenting on a rant by some user where we had this conversation about IDEs and editors...
Point: Intellij has an option to set a background to the whole ide which gives coding a unique experience instead of the pale dull solid color background.
Go to Settings > Appearance > Background image is in the main appearance tab click and set the image, position, transparency ... And voila u have a background image on your editor.
Alternative way just go to settings and search for background image12 -
Ctrl+/ for commenting a line in xml.
Successful.
Ctrl+/ again to remove comment ....nests earlier comment.
smh...... -
When commenting it would be nice to see the comment you are commenting against. Often they are long with several points and you can't refer back to it8
-
Talking about UX design.
Im on facebook scrolling down all this shit news and then i see one of my friend commenting on one post.
I tap on it and .... The commenting list appear but it not scroll to my friend comment... Close this shit get mad close facebook 😂
Long story short facebook sucks cocks1 -
My favourite part is the community. From places like devRant to people commenting on GitHub projects and pitching in where they want to. It's like a family, somewhat.2
-
Someone raised a PR for the opensource project "fast XML parser". Since this was a major change, it was difficult to review. I asked for the purpose and requested to break it into multiple PRs, where 1 PR should have related changes only. And any good change but unnecessary change can be avoided to scheduled for later.
We had long arguments for a month or two.
I don't know why but instead of breaking the PR, the contributor keep updating his PR for every commit someone made on the original repo.
He also stopped contributing for other changes, and commenting on other issues. (Change in the behavior)
Finally after 5-6 months, I had to close the PR as it was not active, having conflicts and not as per guidelines. -
I learned a lot about joomla this week, is something I had hoped never to say. If im commenting shit like this 2 months from now, remind me to quit.2
-
That's funny how I'm pretty sure I had interaction on devRant with people I know IRL, without the possibility to verify. I like the mystery that maybe the guy I saw commenting or ranting is someone I am familiar with.2
-
I really shouldn't use devRant before going to sleep, but that's at least currently the only own and peaceful time I have during week days because of really busy school and work schedule. (Yey, it's weekend!)
If I don't realize that I should stop using devRant at night it moves my sleeping time so that I don't get enough sleep or I won't be able to wake up in a timely manner.
I just immerse in the reading, commenting or even ranting so that I forget the passing of time. Making thing worse is that when I'm writing something my inner perfectionism wakes up and I try to make the text as good as possible and so I get more and more active when I should be relaxing and getting ready to sleep.
Do not worry about my sleep. I'll probably just start to read a book instead. But when it's a good time to use devRant then... 🤔
When or how do you use devRant?
What kind of sleep routines do you have?1 -
Am I the only one who's slightly triggered when I ask a question, get no upvote, and when someone answers, he gets 2 or 3 votes and people commenting like "yeah I'd do the same"?
I mean, it's like being the father who'se wife is being congratulated for being pregnant, she wouldn't be if I didn't do my job 😎3 -
What's worse than no comments? Outdated comments.
If you won't maintain your comments, I'd rather you don't comment at all. We are all better off for it.1 -
!rant
In my team, I am not allowed to use ANY comments except for the really lengthy classes in the backend.
Thus, the code of the whole project (a complex webapp, consisting of 20-something Django projects and various services) is basically undocumented.
The slogan sounds "good code doesn't need commenting".
Seriously, fuck this and all of the times I scratched my head wondering "what the fuck is this spaghetti about".
Have any of you encountered something like this? Usually people don't want to comment, I would do it gladly but can't even make a small inline about what complex method is exactly doing :P3 -
Sorry for not ranting and commenting alot lately... I'm feeling a bit down, very tired, and not at all motivated ... But I'll be back one day soon I hope3
-
Reviewing VBA code with least comments possible and out of nowhere there is an Application.Undo which crashes the macro
*Write comments as if the next dev is a psychopath who knows where you leave*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
-
If you write comments for your functions (you should) do not use param names as param description! This is fucking useless.6
-
How does it always go to this...
It is a rare occasion I get to be the only human being at home during evening time, so I really should make the most out of it (my own space and peace is really important to me, so living with another human being is exhausting, no matter how much I love them), yet I find myself yet again slouching on the sofa trying to figure out what to do and commenting on rants while time flies by and I find the hour so late there's no point in starting to do anything anymore...
What a waste of perfectly valid oxygen..2 -
The morning started so promising. I’m at a 2:1 “commenting that shit out” ratio now. Time for some tv.
-
Laziest thing is to do is commenting out the buggy code in minified JS rather than actually fixing3
-
ProTip :: Avoid code conflicts by commenting out Git header references. Never worry about "resolutions" again
-
To all devs who don't comment their Code
WHO THE FUCK SHOULD KNOW WHAT YOU INTENDED WITH YOUR FUCKING PIECE OF CODE
Well - I am one of you. I'm realy lazy in commenting. But it is very hard to understand a piece of code if you are not used to a complex architecture.
If there will ever be the chance of having another dev seeing your Code:
COMMENT IT1 -
From log debug to taking care of a whole software written by a guy who does not work in the company and did not spend any time commenting the freaking code.
The best part? The code is not finished and guys above you do not decide what needs to be done but expect stuff from you. -
coding all day long and then realising that you haven't commented anything...
after all, deciding not to comment your code because you are lazy and sure that you will know what you did in every single line of code when you were writing it... and then 2-3 month later blaming yourself for not commenting when you have to fix bugs or rewrite the code! damn! -
There was a rant here from someone about being let down by the people that hired them...
I was commenting but the rant was deleted.
I feel you friend. Leave to another place where you're trusted and valued. -
I see I'm back in Facebook jail after posting too many URL's. :-(
Was commenting on a post of mine to find out it had automatically been deleted. (I guess because it had a URL in it..)
In case anyone was wondering what the URL was, it was:
https://en.wikipedia.org/wiki/...
Bloody useless social media system not fit for purpose !
Chat, but don't chat too much, or you get censored !21 -
How much of development is commenting out sections of code because the client hasn't sent you the data and next release uncommenting it?5
-
My biggest ongoing sin is that I neglect commenting while maintaining a legacy system. No one else has commented anything so why should I? Well I should. I comfort my self with the fact that this legacy system will be replaced with a shiny new well commented one in the near future, which im also working on.
-
I know I am merely a mediocre Programmer, but do you really have to sit right next to me, commenting on every single line I types?3
-
Progress on my blog (incocast) goes smoothly, even implemented a basic rss feed. Currently the blog is Service Layer only (because I still have to create a front-end)
It might even be interesting to open some api calls to the public... I don't know yet.. Maybe..
Either way the next thing to implement is a commenting system! :) -
Out of everything in this assignment, I just know I'll lose more marks for shitty variable naming than any missing features.
Commenting? Perfectly acceptable. Use of functions and classes? Perfectly acceptable.
Variable names? perfectAcceptableMaybeFileOneButAsAString
I don't get how I'm so shitty at it! I currently have shit like file input, file input as string, file input as vector, I didn't know that would be the hardest part!1 -
A lecturer just told a class of final year developers approx 50 people that commenting our code should be banned and we shouldn't write comments within our code in case we cause confusion2
-
I didn't care about commenting. Now opened my project after a long time.
Me: What does the white and red lines do?
Why even I wrote this?😕😕😓😭12 -
Wierdest bugfix?
Mine is commenting out a console.log("Finished doing something);
(Yup. Just the string. And the log function was original. No fuckin idea why that fixed it)6 -
Sometimes i feel really messy in my code and unorganized.
after a while i regret what i did and in order to fix this mess i re write the class all over again or i end in an endless errors which is time consuming.
So what's the best way to write a clean code in your opinion other than commenting and identation1 -
It depends, really. Sometimes it's a spontaneous urge, sometimes it's me drinking and coding whilst doing so.
Sometimes it's a lot of coffee as mentioned in another post commenting on this week's topic.
Regarding the drinking: for some reason my code works and I write more in less time.
Un-fucking-believeable.3 -
God I feel like an idiot :/
So for about a week, I had this problem with a C++ JSON reading/writing lib which was fucking annoying as all fuck.
Basically, the problem was that when I sent data to the server ( Yes this is a server ), rapidjson would call assert(false), which would crash the program. Commenting out this call would not stop the crash, as it would just call the same thing somewhere else.
The code I thought had the little bastard of a fucking problem was in the commandsManager class, which, did commands managing ( Shocking, I know ), the only code which used the json lib in there was legit fucking copied and pasted from the docs.
I think you can guess that the problem wasn't in that fucking class, it after I had called a function in it in the main method, which didn't check if a very, very, VERY fucking specific member was there or not, but it tried to access it anyways. That caused the fucking crash
I had wasted a holy FUCKING WEEK ON THIS FUCKING BUG AND I WAS LOOKING, IN THE WRONG GOD DAMN FUCKING PLACE!!!1 -
A guy on YouTube posted in a GraphQL tutorial about his CSS issue. He asked about why a certain background for a website that he is creating only looks good on a phone but not on his desktop. I asked him to put the code on either jsfiddle or codepen but he still put the code in the comments, only the CSS part. I kept telling him to place it on those two sites, eventually he did. I looked at the pen and guess what? The picture is a portrait one... He wants to use CSS to make it look good, I don't know how he is gonna achieve that but good luck. I am done with him, stopped commenting.3
-
I've always found commenting my code tedious, is it better to comment as I code or wait until its stable and then comment all in one go at the end?12
-
For once I actually read the discussion threads in Facebook about COVID all morning basically commenting saying "are you people stupid, use your ducking brains" but basically just said believe what u want...
But wow did I get pissed off... Probably even worse than my rants about my team...
So guess I finally understand the negative and divisive effects of social media now...1 -
I can't delete old useless code, I am afraid of deleting it and I always end up commenting it as if I am giving it a chance to prove itself. #rant3
-
My team has a pathological need to NOT comment! What the fuck!! I think it is because a lot of it is actually magic, so they don't want to admit ignorance. My code is full of "not sure why it works, but breaks when removed." Chunks. That way, when debugging, I actually know what is going on????
I am currently going through and editing someone else's code, and I see code that has no clear purpose, even when removed! Does it do something I don't see??? Does it do nothing?? Fuck! -
Has there been any luck in implement the “blocking” feature devRant?
Is the ability to block specific users from commenting on your posts still in the development pipeline?6 -
What frustrates me 'most' in coding is, putting comments...🙄🙄🙄
The frustration seems to go more than the 'most', when I don't find them and wonder, what the heck! 😠😠😠8 -
Making classes and functions without commenting what I expect each class and function to do. Which means that my classes and functions have really long names.
Example Code:
Class ReallySpecificClassToWorkWithThisFramework { ...
public void DoThisActionInTheFramework (obj TheKeyToTheWholeFunction) { ... }
} -
I want the sticker and that's why I am quoting. "Code never lies, comments sometimes does."undefined programmer coders life commenting coding javascript hacker coding style nodejs angularjs programming java2
-
Is it better if my code has 0 comments or 9999999999999 comments as in, literally commenting every single line of code, explaining exactly what the variable is used for, method etc?15
-
I just started studying and commenting did not seem so important to me because we've only written simple programs so far. Recently, a friend showed me his book and a story that was in there.
They bought a code and all the names were in Hebrew. Not so bad, if not all comments would be hebrew too. Wtf!
Now I know why commenting is important.1 -
How do I turn off notifications for a specific post I commented on?
The reason being: people will keep commenting on a post I once posted in and I don't want to get notifications of those.3 -
When you're the only developer in a group who uses self-commenting code... or comments for that matter.
-
Commenting the code at the end of the day. Not while working on them. Usually end up having comments of create action on update action.
-
Once I wrote a tool to help convert alarm messages from an excel sheet into an xml file with other specific things included.
My colleague (who is very proficient at coding in his chosen system) while I was writing said tool asked why I was commenting code as it was basic!
I asked him to work out what my code was doing (it wasn't mega complex) he spent a long time googling! -
I asked my co-worker/classmate to integrate a react component into a project "we" worked for the (forced) practicum. I searched and setup the example with him (or rather for him) to check whether it's working as intended.
Note, that we were both not really familiar with react and or node. I had a bit more experience and would have helped him, if he had asked. IF
I asked him regularly how he's progressing and he said he did fine. 3 days later I finished my tasks and wanted to know how far he got.
Status? Non working example project because all he did was commenting out seemingly random lines all over the only file in the example project one had to copy paste from the Readme. -
let rant: (Bool, Bool, String) -> Void = { (isRant, isDev, contents) in
print(contents)
}
rant(false, true, "
So, a year ago more or less, I set out to teach myself some server-side programming on the side.
Many (MANY) tutorials, Digital Ocean droplets created and destroyed, coffee mugs and FMLs later, I can say 'Hello World' from Node.js - built from source and not running as a sudoer - using express and forever on Ubuntu, behind another Ubuntu server running nginx - also built from source so to add headers-more and naxsi - using all sorts of goodies to enhance security and talking to each other via SSH. Oh, and taking to the world over HTTPS with a grade A on SSL Labs (I know this doesn't mean much to you. Yeah you, rolling your eyes over there. So why don't you just bugger off before even commenting? Haha)
Feels good man.
")2 -
If I only have 5000 page views my free tier commenting service allows. Is it necessary to let users know. Or is it alright for them to find out when they can't comment on my horrible site anymore until next month5
-
Forget, "I'll make the identation and commenting once I finnished coding this". There is no such thing.1
-
[Want to Ask]
Hi people...
Some times ago I read about ikigai (http://theviewinside.me/what-is-you...). Yet I'm still not sure what I want to do for the rest of my life. I'm a teacher. I love teaching programming. But lately I'm not sure anymore.
I know, this `ikigai` or `purpose-of-life` thing would be very different among individuals.
In case of you don't mind, and in case of you already find a single thing answering these 4 questions:
– What is something you love doing?
– That the world needs?
– That you are good at?
– And that you can be paid for?
Please, share your answer by commenting this rant.
Thanks!!!5 -
Oooops, I hate Code Refractorring.
I know Code Refactoring is important.
But it's such a pain when you teach it at the end of the tutorial when the site is functioning exactly as you intended.2 -
It's always the same mistake I do: writing bad words as variables or in comments. NEVER DO IT YOU WILL ALWAYS REGRET IT2
-
When you realize that your company's git doesn't support smth like emailing or notifs, when commenting on bugs/merge requests/etc. and you manually have to tell those ones via other channels, that you just wrote smth/responded to them.
As a co-maintainer of a personal project I feel spoilt now, for having this functionality for free, but ... oh dear2 -
It will be better if posting a rant or especially commenting saves the post until submited or cleared. That way you can check to what you are responding. Or whe you search for an image or gif.
-
DevRant Rant. Was commenting on a rant, then the app crashed. Haven't been able to find that rant since. Also, when creating new rant, I still have the text of my last rant here along with tags. On IOS 12.14
-
I've been working on a project that involves realtime messaging and i intend to also allow the comments count to update in real-time with websocket.
What i currently do is, when a user post's a comment the socket is notified to refresh the posts list page. (But if many users are commenting simultaneously that would be so many updates per few seconds. )
What's the best way around realtime comment-count updates in webapps.8 -
Commenting and forgetting to delete before merging to master, only to create another branch just to delete these comments or put TODOs. 😑😑
-
Learn to comment as part of writing your code.
Its tough to pick up afterwards; my current workflow is to write all my code for a day then start commenting for the last half hour of the day. I have shame. -
Anyone else getting annoyed by the fact he/she has to scroll down all the way after commenting on a rant?
EDIT: on the browser version6