What are very popular modern programming languages without Object Oriented Programming at all?

What are very popular modern programming languages without Object Oriented Programming at all?

Programming languages with which you can build useful programs that might even sell some copies by license and/or by selling professional support for such programs?

I would assume that the language C is one such language.

:thinking: Any programming language can just use procedural programming.

Well, there are several functional languages that don’t have any OOP at all. Such as Erlang, Haskell and F#.

I wouldn’t say they are very popular per se, but they’re also not very niche.

1 Like

Developing a new software without using OOP is like developing a new car without ESP, ABS etc. it would drive and you might find some customers who will not know that such kind of things exist and buy it.

There is no single reason why you should develop a new application today without using OOP.

There is no single reason why you should develop a new application today without using OOP.

When I tried learning about OOP in PHP I was frustrated from PHP’s syntax which I have found cumbersome in comparison to JavaScript’s vanilla syntax which I find easier and more intuitive.
When I tried learning about OOP in JavaScript I was frustrated from either too much terminology or too much complexity when combining it with particular JavaScript codes which were too sugary or contained too many methods, and OOP just made such particular JavaScript situations worse.

All vanilla JavaScript and Bash I wrote until today, some very nice user scripts or automation scripts mostly, don’t have OOP. I don’t feel bad from that.

It’s not… quite that overt. The thing about the vast majority of programs is that they’re black boxes to the end user - they dont care HOW you do it, as long as it works. (There are some examples where efficiency becomes a concern, but even then, you’re not generally getting to the level of “what coding strategy did they use to make this”).

That said, You absolutely should make it a goal, if you’re going to pursue programming for very long, at least to grasp the concepts of OOP, even if you never use it - other people WILL, and if you’re going to be reading their code, you want to be able to understand it at least.

2 Likes

The term procedural in this context is confusing for me. Code that might be called procedural can exist the same in OOP programs. Another way of saying it is that it is possible to use no OOP with a language that supports OOP. Right?

There sure are many that disagree. Programmers that favor C, such as Linus Torvalds disagree.

I think that’s the point @Pepster64 was trying to make. If you don’t like OOP or don’t want to use OOP, it is not necessary to find another language that doesn’t have OOP capability. You can still use PHP, Javascript, or whatever and not do OOP if you don’t want to.

4 Likes

PHP and JavaScript are not good examples of OOP languages but yes it is possible to use a language that supports OOP without using OOP.

Well, I guess you can use Python or similar languages, I meant to avoid OOP. But actually useful programs are built using OOP. Therefore, I sincerely advise you to choose OOP for yourself))