I hear a lot about the flaws of JavaScript and why people don't like it or think the language (JavaScript) is "garbage" for reason A or B... etc.
I don't very often hear about the quirks and flaws of other programming languages; now to be clear, I don't think any language is "garbage" I think that is generally naive or myopic perspective, each language was a tool created for solving a problem/s even if its a multitool that doesn't make it perfect. If there was a perfect programming language, I feel like we would all be using it for everything.
So let's hear about some of those flaws and quirks of other programming languages.
Top comments (12)
As I have been learning Python recently there are some definite flaws I see in it. I mostly program in modern PHP, Typescript, and Javascript. Coming from PHP I was immediately annoyed that there is very little strict typing in Python and would consider this a flaw. Additionally the inheritance chain of Python, from my limited experience, is less robust then PHP. Lastly the lack of constants in Python seems dangerous to me.
You don't hear many people talking bad about Python so I thought I would give it a go :P
hahaha, yeah people generally don't speak badly of a lot of languages except JavaScript from most of my experience.
I personally don't see having no type system as a flaw but I certainly see the benefits of having one, I recently started getting deeper in TypeScript and love it.
Thanks for sharing and putting out there a hot take on Python :)
My degree uses Java as it's main teaching language as I'm sure many others do too. Writing small we services and programs for university is fine, and then I look at production Java code. Can we talk about annotations? My god
I agree, it's a big leap from learning Java to learning production Java - all those common frameworks (Spring et al.) add heaps of irritating concepts. But I also always felt like it's worth learning them, as it all makes sense and works in the end. They are powerful tools.
One thing I recently stumbled upon is the fact that static methods can't be abstract in Java, which (IMHO) makes a lot of sense at first sight, but really doesn't once you come across a situation where you actually need this. I understand that's a controversial one, though.
Controversial is fine! Most complaints of ANY programming language is controversial. It just seems to do it with JavaScript, PHP, etc... Has been normalized. However, I wanted to hear more about other peoples experiences with other languages, any quirks or flaws that people run into while working with them 😁 no malice, no trashing, no bias for or against any of them just curiosity and fun discussion on weird/annoying/frustrating/funny stuff we all have to deal with as coders/programmers.
Lol, I work in Financial Technology. Java is everywhere with banks, some legacy systems are just scary to look at, especially undocumented ones. Just towers of chaos and unknowns 😅😆
Oh, where to start? Four big ones come to mind:
This is exactly the type of thing I was looking for, I didn't expect it for so many languages. I didn't expect to get a language like PowerShell on here, interesting to also hear about flaws in C language so many people I talk to act like they are all flawless lol 😆
Some of my favorites:
Reminder: don't take it too seriously, Wikipedia is written with PHP/mySQL and matters 1.000 times more than any hipster blockchain project.
Oh, cool reads! PHP gets a lot of animosity these days too yet it helped build so many things...Still a lot of cool stuff we use runs on it like Wikipedia, but I think Facebook is also using it still.
Regardless of how much people find wrong with the languages I always like to point out they are good at what they were made for. lol
VBA is a great example: Object assignment requires a "Set" prefix, as in Set object = value. Non-objects won't even work if you provide Set. What makes this quirky is that it's not always obvious what's an object and what isn't.
Oh, that is quirky. I also would be completely lost at first lol