A general purpose programming language should have OOP capabilities, but it shouldn't enforce them.
Printable View
A general purpose programming language should have OOP capabilities, but it shouldn't enforce them.
I never said I liked OOP. I'm just saying it could be useless for many things, therefore being an useful feature in a general purpose programming. I generally don't even use OOP. And I just think it would be useful, it's not necessary for a language to succeed. Therefore I voted no.
I think there are a few levels of OOP. A simple language doesn't have to support it, but a general purpose language *should*, at least, support the basic level.
I don't agree. Why do you think C++ is hard to learn?
what is so hard about C++??
I learned C++ while I knew no language AT ALL. I did not know visual basic nor C nor Java..... only HTML :P
secondly, if a language supports everything then it's the only language you would have to learn to do any kind of application. You would not need to turn to other languages for others tasks and then come back.
I think OOP should be an option in any language, not enforced. IMHO, OOP is a superior way to prgoram
This question is so weird. It's not like the OO paradigm needs defending. I would prefer if something new, as popular as say C++ or Java were centered on a new idea. There may be business logic for this, but aside from that, programming is dead boring if we've run out of ideas already.
> When was the hammer invented?
1962. And then he released his smash hit "Can't touch this" in 1990.
:-)
A language which supported every invented paradigm would be useless. Every programmer would use the language in a different way, and it would be impossible to coordinate the efforts of teams of programmers. If you enforced a restrictive standard, then you might as well be using a more restrictive language to begin with.
Software engineering, and programming languages, are about people, not computers.
not true! people who would pay ur check would enforce a certain way to program
there would not be a company that says: do whatever you please when programming, just do it!!!
they usually put guide lines and standards to follow and you know that if you program with a big team
Then you have totally missed my point. If I'm not allowed to use the language however I want, then what is the point of having a language that lets me use it however I want? You might as well pick a more restrictive language and allow the language itself to restrict the programming style.