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
-
Can someone send me a copy of the "counterpart" book "Reading code that noone else can read" please?
I have to fix almost 50 security flaws in a Rails project that has been developed by an intern who seemed to have experience only in Perl, PHP and severe substance abuse...
So we're talking manual SQL with string interpolations and templates with tags that were deprecated in HTML4.
I'll need medical marijuana before the year's over... -
@mishaor Im not allowed to do that. It's a huge project and that'd take about four times as long as just monkey patching the security issues...
-
mishaor17696y@ilPinguino then try to read the flawed parts of it and then fix them in another branch. If anybody else in your team knows Rails, ORMs for Rails and/or HTML5, ask them for help.
-
@mishaor I'm supposed to stick to the security issues. Everone else on my team knows Rails and we have a dedicated frontend developer, but I'm pretty much alone on the security front and everyone's up to their ears in work.
Besides, the project's on a constant "we'll kill it soon" status so no real work gets put into it - only security fixes. Which means it's mine and mine alone.
Well, fuck it I guess. I'm gonna climb the mountain and then be happy once I'm on top of it.
This one should be named ‘The Unclean Code’ 😂
joke/meme
unreadable code
unclean code