Ranter
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
Comments
-
C0D4669023yI've seen enough async shit for one day, and you go and throw this... at me.
Fuck me dead @rutee07, I don't want to live anymore. -
@C0D4 Bro, chillax..... we are on the same boat. I begin to question my life when I saw this in the PR.
-
C0D4669023y@johnmelodyme
Hahaha, sorry, it's been one of those days where nothing you do, no matter what the fuck you do, breaks anyway.
Seriously wtf is Y.R.T ๐ง
some people don't deserve to write code when there's absolutely no way in knowing what it's doing. -
@C0D4 Exactly What I was thinking about what the F is Y.R.T as he declare it in .gitignore. which I am confused even more .
Technically he ignored it, I can't read the file because it doesn't exist. -
C0D4669023y@johnmelodyme wait what!
So we call this random Y class... well I'm assuming it's a class, and prevent it from being added to the code base ๐คจ
Am I missing something or does this guy not know how things work? -
@C0D4 I also think Y must be a public class. I am confused too, why he declare the module in .gitignore . he add this line K/ in there, I assume how many modules are ignored.
I believe the K is a folder if I am not wrong. -
C0D4669023y@johnmelodyme if K/ is in the git ignore then yea it's a folder somewhere.
But how you get from K to Y.R.T.t(), I pray for you
Hmm.
So, K is a folder
Y is a module or namespace
R is a class
T is a method
Leaving us with that little t
Hmm ๐ค a setter maybe?
But either way, fuck this guy! -
@C0D4 I told him to refer to the documentation I wrote about the company's coding guideline.
I clear explain that the delaration of the variable must be clear something like let customer_id = 'something; ' for methods :
function get_customer_details(param1, param2) {}
I don't know how he understand his code.
I told him to redo it. -
Hazarth95063yAh yes, the You aRe Truly trash design pattern, used to annotate the programmer himself as a retard.
It's not very popular, but it has its uses -
Code is obviously copy-pasted from some minified script
But... That comment. That was likely added by him. Which is scary. -
And that is why a good mathematician isn't neccessarily also a good coder.
Get HR to stop using algorithm-related interview questions! -
MM8312203yFelt this, there was a guy at a company I worked at who took his revenge for the team not writing code in x86 by writing C like this. Single letter vars and methods, wasn't his fault or problem if the others weren't keen on playing detective every time they wanted to work on his code.
Dunno the context but I'd report this or give the guy a chewing out yourself, if you can. There is zero benefit to code that no fucker can even read, especially if it's dealing with actual money. -
Root797533yIs this part of some minified code?
If not, you might want to minify your dev team a bit. -
anux7363yI don't get the confusion?
Like others noted this is a function and if i then yrtt payment succesful.
Yolo right? -
@Root it wasn't a minified code. He explained to me he was lazy to name the function and class full name and also save space.
Weird. -
@melezorus34 If you are in my country, I will fetch you all the way to his home. and gladly be my guest.
-
Root797533yI’d be too lazy to pay him, and also save space on the team for someone better suited. :)
-
@Root The funny thing is he frequently told us that he worked for Facebook previously. (Well , I don't see any company named Facebook in Malaysia and in order to work with Facebook , he need to work in the US, and he doesn't have a passport. )
-
I'd simply add a comment to this line of code, "Fix variable/method naming, write cleaner code" and not approve the PR
-
@vergil and GitHub Copilot reaction will be like ๐ฑ๐ฑ๐ฑ๐ฑ๐จ๐จ๐จ๐จ๐ฐ๐ฐ๐ฐ๐ฐ๐จ๐จ๐จ๐ฑ๐ฑ๐ฐ๐ฐ๐จ๐จ๐ฑ๐จ๐ฐ๐ฐ๐จ๐จ๐ก๐ก๐ก๐คฌ๐คฌ๐คฌ๐คฌ๐ก๐ก๐ ๐ฑ๐ฑ๐คฏ๐คฏ๐คฏ๐ฑ๐ฑ๐ฑ๐ฐ๐ฐ๐๐๐๐๐๐๐ฅ๐ฅ๐ข๐ข๐ฅฑ๐คฎ๐คฎ๐คฎ๐ฅต๐คข๐คฏ๐
-
irene33913yNormally I try to contribute something constructive to threads. Not this time.
Fuckity fuckity fuck -
@C0D4 there is no reason for this to be async as there is no internally awaited code. ๐ถ
@johnmelodyme just reject the PR with "insufficiently documented". ๐คทโ๏ธ -
This actually looks like production code. Did this genius build the project and copy the minified version of the function over the original?
What in god's name is this nonsense lmao -
@johnmelodyme maybe he's doing this to get around not being able to use his favourite library due to it but being approved by the tech lead
-
"Payment successful"
Maybe he just had it and wrote a function to pay himself
Related Rants
So I was code reviewing this guy's code before merging into the master branch.... and then I FOUND THIS FUCKING CODE, WHAT THE FUCK!!!!!!!!!!!!!!!! What the fuck is this ???
rant
nodejs