Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Object Oriented Nonsense

Name: Anonymous 2018-02-21 15:19

Anyone else think C++ is preferable to the other OO garbage due to not requiring everything be in a class?

Name: Anonymous 2018-02-21 15:42

No, Scheme and Erlang are both better.

Name: Anonymous 2018-02-21 16:45

C++ is not OO.

Name: Anonymous 2018-02-21 20:29

>>3
It is. Otherwise it would be called C without ++

Name: Anonymous 2018-02-21 22:21

>>3
C++ uses objects and can perform message passing and object inheritance.

Name: Anonymous 2018-02-22 7:36

but C++ OO is based on classes. there are other approaches but sepples isn't a good example of one

Name: Anonymous 2018-02-22 7:37

eiffel is the best OO language

Name: Anonymous 2018-02-22 8:47

>>3
don't be daft

Name: Anonymous 2018-02-22 11:26

>>6
I don't understand what's the point of making an object without defining a class.

Name: Anonymous 2018-02-22 12:09

>>9
then you should learn (idiomatic) Smalltalk, Erlang, CLOS, Self, Objective C or Lua. you could also learn old-style JS (before they added classes) but that's arguably the wrong way of doing classless OOP

Name: Anonymous 2018-02-22 12:12

prototype-based dubs

Name: not >>9 2018-02-22 12:17

>>10
Anything you'd recommend, especially for Smalltalk or CLOS?

Name: Anonymous 2018-02-22 12:19

>>12
probably prolog, or clojure if you don't want to deal with abstract bullshite

Name: Anonymous 2018-02-22 12:20

>>10
This is a fancy way of spelling Scheme.

>>12
SICP

Name: Anonymous 2018-02-22 12:34

>>10
So you're saying that there's no real difference. It's just your opinion that you don't like the idea of defining classes and instantiating objects based on those classes.

Name: Anonymous 2018-02-22 12:34

>>12
I dunno what's the best way to start with CLOS (Common Lisp in general is not beginner friendly) but as far as Smalltalk goes I'd just download Pharo Smalltalk and play around with it. also, >>14 might be a SICP-reductivist but he has a point. read SICP

Name: Anonymous 2018-02-22 15:17

The reason that I suggest Scheme if you want to use an OO language is because:
1: With macros you can easily make a fancy class syntax and whatever.
2: Scheme is great for use with message passing, SICP has a whole chapter on that.
3: Message passing lets you create both pure and impure objects.
4: It will open your mind in general and teach you how to properly use 1st order functions.

Name: Anonymous 2018-02-22 17:31

>>17
stupid shit
instead of implementing a broken half-assed object system in a useless language you can just use a language with a functional one (like c++) and make a real program

Name: Anonymous 2018-02-22 18:30

test

Name: Anonymous 2018-02-22 18:36

>>18
these types of people are not interested in making programs. they want to autofellate over their clever code that no one, even themselves a couple days later, will ever use.

Name: Anonymous 2018-02-22 18:53

>>18
You might as well program in Scratch if you are not interested in learning.

Name: Anonymous 2018-03-01 2:44

>>1

Go to the old school and learn Z80!

Name: Anonymous 2018-03-01 3:08

dubs get

Name: Anonymous 2018-03-02 23:55

I wouldn't mind OO if the performance hit isn't normally noticeable.

Name: Anonymous 2018-03-03 3:49

>>24
I have no idea what you mean by this.

Name: Anonymous 2018-03-03 5:09

>>24
in C++ there really is no overhead for classes unless you use virtual methods.

Name: Anonymous 2018-03-03 12:34

>>24
That's only true for non-compiled languages.

Name: Anonymous 2018-03-03 20:36

>>24
wtf are you smoking?

Name: Anonymous 2018-03-04 0:39

symta does OO well

Name: Anonymous 2018-03-04 1:12

>>29
make your're game

Name: Anonymous 2018-03-04 2:37

I've heard Ocaml does OO better than java but i've never used it.

Don't change these.
Name: Email:
Entire Thread Thread List