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
-
stisch46037yIs something wrong with me? I really want to look at this entire codebase and see if I can fix it
-
I wonder what takes more time: writing this expression or start over with a clean project?
-
Rohr7307ysrsly???
I can not understand why people do something like that... ( besides to make fun of them )
I am just starting to make first steps with JS, WebDevelopent etc thingy and as I am more used to Python/Bash and I am not used for example the way NodeJS works by design ( async ) I often end up with funny loop/if constructions.
BUT more for a POC for myself, because there is noooo way at all in any universe that a ugly structure like this is needed to fulfill what I need.
most of the time I figure out that it comes simply from lack of knowledge and the fact that I write "the way I think" which is not applicable in all situations while coding ...
so seeing something like this should be a big fat slap in your face, telling you to read docs to make that work within probably 2 lines of code instead of 200 -
@Rohr ofc no one should make fun of beginners. Instead we should help them. But point is that dev was paid(I'm assuming he was) so he's considered as a professional with some experience in writing code that's elegant and works. From a consumer POV I wouldn't want to pay someone to write my website that doesn't render/work
-
Rohr7307y@silverstar I totaly agree and I am on your side with that! It was not my intention to insult or mock on/about someone. I am considering myself as a beginner ...
So there I absolutelly no point in making fun of others !
Sorry If that came out the wrong way!
My point was, that when I am writing a statement like in this rant that spanns over 400 lines, my little duck should give me a doubtful look to remind me that there might be a better way of archiving this.
Again, sorry that I did not make that clear right upfront. -
@Rohr possibly I understood your point wrong. Possibly the rubber duck killed itself even before it was able to give that doubtful look. :P
-
ultrono23507y@silverstar unfortunately not a beginner. It was a freelancer that was paid upwards of £8k for the site.
-
cursee165957yTimes like this that I don't wanna defend WordPress nor PHP. It's not the CMS, framework nor the language fault. However when the said tools have write-as-you-like freedom, what do we expect? Most of the times, it's just some advanced monkeys with monitor and keyboard using those tools.
-
ultrono23506y@cursee the big problem with WordPress is the low entry barrier. Compare that to say magento where there is an initial learning curve and you suddenly get, in general, more experienced developers using and extending it.
Related Rants
-
ScaryException16WordPress has really cool features! You can uninstall it, for example.
-
Desinika20Yesterday's JR web dev interview: 👨🏻💻: Experience? 👶: Well JS, pyhton, UX Design and bit of Sa...
-
tahnik21OW FUCKING GREAT BEEN CREATING THIS WEBSITE FOR 1 MONTH USING REACTJS. IT'S HALFWAY DONE. NOW THE HIGHER UPS ...
So, rage time.
A few months ago I inherited a big Wordpress website, with around 750 pages.
The client has reported the main menu is broken.
Upon looking at the code it appears the previous "Wordpress Developer" (ahem ...) attempted to rewrite navigation system - no idea why.
As part of the 4000 class below is a screenshot of part of the file where he's determining if the current menu item is active, within a loop. Whilst the whole if statement spans 409 lines - the code basically continues exactly the same downwards.
Shameful :/
rant
wordpress
wordpress developer
rage induced crying
wordpress lol