A general purpose programming language should have OOP capabilities, but it shouldn't enforce them.
Yes, OOP is aboslutely important in developing any new language
No, new languages could be popular and live long-time without OOP
A general purpose programming language should have OOP capabilities, but it shouldn't enforce them.
"The Internet treats censorship as damage and routes around it." - John Gilmore
Code://try //{ if (a) do { f( b); } while(1); else do { f(!b); } while(1); //}
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.
"The Internet treats censorship as damage and routes around it." - John Gilmore
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.
Vanity of vanities, saith the Preacher, vanity of vanities; all is vanity.
What profit hath a man of all his labour which he taketh under the sun?
All the rivers run into the sea; yet the sea is not full; unto the place from whence the rivers come, thither they return again.
For in much wisdom is much grief: and he that increaseth knowledge increaseth sorrow.
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
"C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg."-Bjarne Stroustrup
Nearing the end of finishing my 2D card game! I have to work on its 'manifesto' though <_<
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.
C programming resources:
GNU C Function and Macro Index -- glibc reference manual
The C Book -- nice online learner guide
Current ISO draft standard
CCAN -- new CPAN like open source library repository
3 (different) GNU debugger tutorials: #1 -- #2 -- #3
cpwiki -- our wiki on sourceforge
> 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.
Code://try //{ if (a) do { f( b); } while(1); else do { f(!b); } while(1); //}
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
"C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg."-Bjarne Stroustrup
Nearing the end of finishing my 2D card game! I have to work on its 'manifesto' though <_<
"I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008
"the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010
C programming resources:
GNU C Function and Macro Index -- glibc reference manual
The C Book -- nice online learner guide
Current ISO draft standard
CCAN -- new CPAN like open source library repository
3 (different) GNU debugger tutorials: #1 -- #2 -- #3
cpwiki -- our wiki on sourceforge
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.
Code://try //{ if (a) do { f( b); } while(1); else do { f(!b); } while(1); //}