View Poll Results: Should OOP be in every new language??

Voters
22. You may not vote on this poll
  • Yes, OOP is aboslutely important in developing any new language

    6 27.27%
  • No, new languages could be popular and live long-time without OOP

    16 72.73%

Should OOP be any new language priority??

This is a discussion on Should OOP be any new language priority?? within the General Discussions forums, part of the Community Boards category; A general purpose programming language should have OOP capabilities, but it shouldn't enforce them....

  1. #31
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    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

  2. #32
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,239
    Quote Originally Posted by maxorator View Post
    A general purpose programming language should have OOP capabilities, but it shouldn't enforce them.
    And I think a general purpose language should have continuations. So, I claim that any new language that doesn't have them is worthless.

    You like OOP, I like continuations. I don't see what our preferences have to do with anything.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  3. #33
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Quote Originally Posted by brewbuck View Post
    And I think a general purpose language should have continuations. So, I claim that any new language that doesn't have them is worthless.

    You like OOP, I like continuations. I don't see what our preferences have to do with anything.
    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

  4. #34
    Registered User
    Join Date
    Aug 2008
    Location
    Belgrade, Serbia
    Posts
    163
    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.

  5. #35
    "Why use dynamic memory?"
    Join Date
    Aug 2006
    Posts
    186
    Quote Originally Posted by CornedBee View Post
    You always start with procedural or functional. Object orientation is a higher-level concept than those. A language that supports procedural or functional programming can do everything, although organization may suffer. A language that supports classes but no functions is screwed.


    I'm not so sure about that. There are certainly people who think that C++ already supports too much. I don't think so, but C++ is harder to learn completely than other languages - a language that supports everything would be unlearnable.
    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 <_<

  6. #36
    Registered User whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    7,700
    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.

  7. #37
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by whiteflags View Post
    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.
    I would love to see the fifth dimension.

    When was the hammer invented?
    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

  8. #38
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    > When was the hammer invented?
    1962. And then he released his smash hit "Can't touch this" in 1990.

    :-)

  9. #39
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,239
    Quote Originally Posted by Hussain Hani View Post
    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.
    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);
    //}

  10. #40
    "Why use dynamic memory?"
    Join Date
    Aug 2006
    Posts
    186
    Quote Originally Posted by brewbuck View Post
    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
    "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 <_<

  11. #41
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Quote Originally Posted by Hussain Hani View Post
    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
    You obviously haven't worked at my company.
    "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

  12. #42
    Banned ಠ_ಠ's Avatar
    Join Date
    Mar 2009
    Posts
    687
    Quote Originally Posted by cpjust View Post
    You obviously haven't worked at my company.
    Where is this magical land of happiness and rainbows?
    ╔╗╔══╦╗
    ║║║╔╗║║
    ║╚╣╚╝║╚╗
    ╚═╩══╩═╝

  13. #43
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by ಠ_ಠ View Post
    Where is this magical land of happiness and rainbows?
    If it's in T.O., there is a significant downside to consider
    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

  14. #44
    Banned ಠ_ಠ's Avatar
    Join Date
    Mar 2009
    Posts
    687
    Quote Originally Posted by MK27 View Post
    If it's in T.O., there is a significant downside to consider
    Oh god, I knew it was too good to be true ;_;
    ╔╗╔══╦╗
    ║║║╔╗║║
    ║╚╣╚╝║╚╗
    ╚═╩══╩═╝

  15. #45
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,239
    Quote Originally Posted by Hussain Hani View Post
    not true! people who would pay ur check would enforce a certain way to program
    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);
    //}

Page 3 of 6 FirstFirst 123456 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. priority inversion due to pthread_mutex_lock(): how to avoid?
    By mynickmynick in forum C Programming
    Replies: 11
    Last Post: 04-07-2009, 10:34 AM
  2. Why C Matters
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 136
    Last Post: 01-16-2008, 08:09 AM
  3. Data Mapping and Moving Relationships
    By Mario F. in forum Tech Board
    Replies: 7
    Last Post: 12-14-2006, 09:32 AM
  4. recommendation for a good OOP book
    By Mario F. in forum C++ Programming
    Replies: 2
    Last Post: 06-15-2006, 04:28 PM
  5. Language of choice after C++
    By gandalf_bar in forum A Brief History of Cprogramming.com
    Replies: 47
    Last Post: 06-15-2004, 01:20 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21