Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Dynamic typing appears to suck donkey balls. And for such reasons, I have no idea beyond "ooh, shiny" why PHP gets hate while JS gets love.
The problem isn't with PHP, instead it is with MD5 which fucking belongs to the Victorian era. It's the implementation that matters not the language.
Use something PBKDF2 with salting for God's sake.
@oneinazillion13 actually in This case the problem ist definitely PHP
Said no-one ever
(friendly reminder that this problem doesn't occur in Python and JS and if you really hate dynamic typing both have static typing compatibility)
Who uses md5 btw?
VinzuSama339dYeah, bashing PHP with "==" use instead of "===" and using "md5" which everybody knows is deprecated... Haha so funny and soooOOooo original.
I just come here to look at the salty comments. Only developers can get so irritable over a post pointing out an obvious flaw. 😂😂
I'll take you up on this one.
Weak typing sucks. I am originally a Haskell dev, working on aerospace & chem applications -- I love my types.
What does dynamic typing offer? Shortcuts. Less code to write. (Of course we have replaced typing systems with unit tests in those cases... but they are hardly mandatory).
Strongly/thoroughly typed languages such as Haskell and Rust are slow to develop in. Excruciatingly slow!
They are not prototyping languages. They are not Ruby, Python, PHP or Javscript -- you can't easily poop out a versatile web backend in an afternoon.
So why is PHP more hated than JS? Both are weak after all! JS is even weaker than PHP...
It's because languages aren't one-dimensional, it's not just weak vs strong.
It's because PHP is BOTH rigid and brittle, while JS is soft and malleable.
Strongly typed languages might be beautiful strong unyielding Marble, but for quick mockups Clay is still more useful to a sculptor than brittle Limestone.
And to extend the material analogy:
No sculpting substance is absolutely superior (yet?).
Some are inferior for almost all purposes, and have been phased out. Basic is like cardboard, Fortran is like asbestos -- pays well, but bring your respirator.
Some seem superior for a while, but have surprising drawbacks. Don't build a whole skyscraper out of clay... at least not the foundation.
We have not even scratched the surface of what is possible. Golang, in my opinion, is like 3D-printed plastic. Not the best type system, sometimes it breaks, but it's both rapid, relatively strong and quite versatile.
Many languages are shifting. Java was concrete -- uglier than marble, but such a strong and mature standard language.
Yet people aren't "done" -- Kotlin has evolved out of Java to give it a bit of that JS malleability while mixing in some tough Scala, Groovy and C#-fiber.
We're trying to build space elevators... and it takes time to invent our carbon nanotube languages!
trode588dUsing == and make a rant about it is like eating a 2 years old yoghourt and complaining about the taste... You're allowed to do it, but it's a bad idea.
Your Job Suck?
Take a quick quiz from Triplebyte to skip the job search hassles and jump to final interviews at hot tech firms
Get a Better Job