21

TL;DR you suck, I suck and everybody sucks, deal with it....

------------------------------------

Let me let off some steam, since I've had enough of people hating on languages "just because"

Every language has it's drawbacks and quirks, BUT they have their strengths also. Saying "I hate {language}" is just you being and ignorant prick and probably your head is so far up your ass that you look like an ass hat. With that being said, every language is either good or bad depending on the developer writing in it. Let's give you an example:

If I ware to give you a brick and ask you to put a nail in a plank, can you do it? Yes, it will be easier if you do it with a hammer, but you have a brick, so hammer is out of the question. If you hit your thumb while doing it... well... sorry, but it is not the bricks fault - it is YOU!

JavaScript, yes it has a whole lot of problems, but it works, you can do a ton of stuff and does a good job at that, it is evolving through node and typescript (and others, just a personal pref), BUT if you used js when you ware debugging that jquery (1.0) plugin written in the free time of a 13 yo, who copy pasted a bunch from SO, well, it is not js' problem - deal with it. Same goes for PHP, i've been there where you had a single `index.php` with bazillion lines of code, did a bunch of eval and it was called MVC, but it also is evolving.. thing is all languages allow you to do some dumb stuff so YOU have to be responsible to not fuck it up (which you always DO btw, we all do). Difference is PHP/JS roll with it because the assumption is that you know what you are doing, which again - newsflash - you don't.

More or less I would blame that shit on businesses which decided to go with undergrads to save money instead of investing in their product, hell, I am in a major company that does not invest that doesn't care a whole lot about dev /tech stuff and now everybody's mother is an engineer - they care about money, because investors care about money (ROI) and because clean code does not pay the bills, but money does.

If we get all of the good practices and apply them to each language every one of them has it's place, that is why there is no "The Language", even if there was, we STILL ware going to fuck it up and probably it was going to be even worse than where we are now.

Study, improve, rinse and repeat... There are SENIORS and LEADS out there that are about 25-30 and have no fucking clue about the language, because they have stuck up their heads up the ass of frameworks and refuse to take a breath of clean air and consider something different than their dogmatic framework "way" of doing things.. That is the result you are seeing. Let me give you a fresh example to illustrate where I am at atm:

Le me works with ZendFramework 2.3-2.5 (why not, which is PHP5+ running on PHP7 [fancy, eh]), and little me writes a module for said project, and tries to contain it in its own space, i.e not touching anything outside of the folder of the module so it is SELF-CONTAINED (see, practices), during 2-3-4 iterations of code review, I've had to modify 4 different modules with `if (somthing === self::SOMETHING_TYPE)` as requested by my TL, which resulted in me not covering 3 use-cases after the changes and not adding a new event (the fw is event-driven, cuz.. reasons) so I have to use a bunch of ifs in the code, to check a config value and do shit. That is the way of I am asked to do things I hate what I've done and the fact that because of CR I have lost case-coverage, a week of work and the same TL will be on my ass on monday that things are now "perfect".

The biggest things is "we care about convention and code style"... right.... That is not because of the language, not because of me, not because of the framework - it is some dude's opinion that you hate, not the language.

New stuff are better, reinventing the wheel is also good, if it wasn't you would've had a few stone circular things on your car and things ware going to be like that - we need to try and try, that is the only way we actually learn shit.

Until things change in the trade, we will be on the same boat, complaining about the same shit over and over, you and me won't be alive probably but things will not change a bit.

We live in a place where state is considered good, god objects necessary (can you believe it, I've got kudos for using the term 'God Object'... yep, let that sink in). If you really hate something, please, oh god I beg you, show me how you will do it better and I will shake your hand and buy you a beer, but until then, please keep your ass-hurt fanboy opinion to your self, no one gives a shit about what you think, we will die and the world will not notice...

Comments
  • 1
    Sorry for the long post, but... I've had enough and would prefer to not have devRant turn in to a ZB fan group
  • 2
    the reason i hate js is because it's the only option there is for web client side (until now at least), you know... i'm stuck with it, i can't just leave it alone.
    but i apologize if any of my posts/comments triggered you into writing this rant in anyway or just accumulated with a ton of other rants hating on js. i think i'll just leave my opinion to myself
  • 1
    @lolicon tbh this is not targeted at anyone, just a result of snowballing the many, many "rants" about language hate, hope you don't find this personal, mate.

    As for the only option, well, google tried with dart at some point and it was supposed to be alternative to JS, but.. it would be even worse, like browsers supporting the features, maintaining 2 runtimes at the same time, etc. So we are better off with just doing what we can to make the pain manageable and punish bad code when we see it, instead of waiting for things to fix themselves as it tends to not work like that
  • 1
    @dev-nope yes this is why it's frustrating, i'll never bash on php for example because if i didn't like it there are many other alternatives. i didn't take it personally, i just feel bad when i unintentionally make people upset, it makes me feel like an ass. i just really think the web could be 100x better and it's just stuck for compatibility/legacy reasons and bad decisions
  • 1
    I agree. Great post (if a little long 😉)

    Personally, I really like JavaScript. I hate Java, but that doesn't mean I go around saying Java sucks because it doesn't. I just don't care to work with it. I think if more people would take that attitude, it would be less of a problem.

    As it is now, between language Wars and OS Wars it sometimes gets really tiring. It's like a bunch of petulant preschoolers who need attention.
  • 1
    This is one of the best rants I came across recently. My god this is gold. I hate java because I have to write too long code and java is not my cup of tea but it's is still awesome. I hate it but I don't go bashing around
Add Comment