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

Pages: 1-4041-

C++ > *

Name: Anonymous 2011-12-25 4:31

Tell me /prog/, why are you still using lisp and scheme when you can use C++ with Object Oriented and Imperative styles. How are you supposed to make a usable application if you can't use state?

Name: Anonymous 2011-12-25 4:48

2/10

Name: Anonymous 2011-12-25 4:59

Because I'm anarchist. Fuck the state.

Name: VIPPER 2011-12-25 5:18

usable
C++

Name: Anonymous 2011-12-25 5:54

troll, but, there are many implementations of statefulness for lisp.

i and others find c++'s implementation of oop to be disgusting. a better way seems to be some kind of traits/roles system.

Name: Anonymous 2011-12-25 10:34

>some kind of traits/roles system.
U MENA PROTOTYPES

Name: Anonymous 2011-12-25 11:50

| C++
| Object-Oriented
hahaha that was funny.

Name: Anonymous 2011-12-25 11:52

>>7
Also, how do I quote like this guy?
>>4
Text boards newfag here.

Name: Anonymous 2011-12-25 13:13

Lisp/Scheme has state, and OOP systems.

Haskell doesn't, ask them. (There's a valid answer to your valid question (even though you were probably trolling), but i don't know it.)

Name: 5 2011-12-25 13:34

>>6
How is that prototypes works as a class composition mechanism?

Name: Anonymous 2011-12-25 13:48

>>9
but i don't know it.
The common misconception is that Haskell has no state. That's not true, state is just controlled and reduced to the minimum necessary. You can write everything with state, but that would be writing C in Haskell.

Name: Anonymous 2011-12-25 14:38

import Data.IORef

main = do x <- newIORef 1
          readIORef x >>= print
          modifyIORef x (+1)
          readIORef x >>= print

Name: Anonymous 2011-12-25 15:37

>>7

How is C++ not object oriented? It has polymorphism, encapsulation, inheritance (even multiple inheritance)... everything needed for object oriented programming. The only thing it doesn't have is bullshit like "Everything must be a pointer" (Objective-C, Ruby...) or "Everything must be inside a class" (Java, C#)

Name: Anonymous 2011-12-25 15:38

>>13
only python is oo

Name: Anonymous 2011-12-25 16:15

CL and Scheme have plenty of state, it's just not forced upon you.

Name: Anonymous 2011-12-25 16:37

>>13
As far as the OO ladder goes C++ is pretty low. Only a few languages are pure OO though. Multiple inheritance is actually a sepplesnism (which was supplanted by later languages as interfaces and mixins in most cases), that runs afoul of some concepts of OO which was derived from aristotelian classification which also follows a similar idea to biological speciation.

Name: Anonymous 2011-12-25 16:44

OOP is racist!

Name: Anonymous 2011-12-25 18:13

>>16
MI already existed in CLOS, which was not a problem because it's better designed than C++'s Object System. Also, there's no clear definition of what is OO.

Name: Anonymous 2011-12-25 19:10

Have you read your The Art of the Metaobject Protocol today?

Name: Anonymous 2011-12-25 19:28

>>16

Java isn't even pure OO. Objective-C isn't even pure OO, although it's probably about a step above C++... I really don't see though why you guys think C++ is pretty poor for an Object Oriented language.

Name: Anonymous 2011-12-25 19:36

>>1
Why do you need states? Are you computing with dead processes?

Name: DUBZ 2011-12-25 19:50

                    ██████████████████████                                                                             
  ██████████████████                      ████            ██████████████    ████    ██    ██  ██████    ████    ██    ██
██                      ██                    ████  ████████████████████  ██    ██  ██    ██  ██      ██    ██  ██  ██ 
██                  ████            ██            ████    ██████████████  ██        ████████  ████    ██        ████   
  ██████████████████          ██████                ██    ██████████████  ██    ██  ██    ██  ██      ██    ██  ██  ██ 
                ██        ████    ██                ██    ██████████████    ████    ██    ██  ██████    ████    ██    ██
                ██████████        ██                ██    ██████████████                                               
                  ██          ████  ██              ██    ██████████████  ██████████  ██    ██  ██████  ██      ██     
                    ██████████      ██              ██    ██████████████      ██      ██    ██  ██      ████  ████     
                      ██        ████  ██            ██    ██████████████      ██      ████████  ████    ██  ██  ██     
                        ████████      ██            ██    ██████████████      ██      ██    ██  ██      ██      ██     
                        ██        ████              ██    ██████████████      ██      ██    ██  ██████  ██      ██     
                          ████████            ████████    ██████████████                                               
                                  ████████████      ████████████████████                                               
                                                          ██████████████

Name: Anonymous 2011-12-25 19:57

>>22
That hand is overkill for such unimpressive dubs.

Name: Anonymous 2011-12-25 20:00

>>22

the hand needs a longer arm.

Name: Anonymous 2011-12-25 20:14

Name: Anonymous 2011-12-25 20:14

Name: Anonymous 2011-12-25 20:14

Name: Anonymous 2011-12-25 20:14

Name: Anonymous 2011-12-25 20:47

>>25
>>26
>>27
>>28

Sages don't drop the thread, they just make it so it doesn't bump when you post. You don't need to blankpost with them.

Name: Anonymous 2011-12-25 21:26

>>29
Get out.

Name: Anonymous 2011-12-25 22:30

>>30
/polecat kebabs/

Name: Anonymous 2011-12-26 0:06

>>31
fuck off and die, fagstorm

Name: Anonymous 2011-12-26 0:40

>>20

what do you mean by "pure OO"?

Name: Anonymous 2011-12-26 1:33

>>33

Pure OO means every single type is an Object. Ruby and Smalltalk are the only ones I can name off the top of my head.

Name: Anonymous 2011-12-26 2:16

>>34
JavaScript

Name: Anonymous 2011-12-26 2:59

>>34
Does that contribute to how incredibly fucking slow Ruby is?

Name: Anonymous 2011-12-26 4:44

>>36

No it does not.

Name: Anonymous 2011-12-26 4:55

>>35

by that definition javascript is def. not pure oo.

you can't set a property on a string (unless created with new String), you can't call stuff on null, numbers, etc.


Object.getPrototypeOf("fuck");
=> TypeError: Object.getPrototypeOf called on non-object

Name: Anonymous 2011-12-26 7:54

Let's settle this once and for all.

>OOP to me means only messaging, local retention and protection and hiding of state-process, and extreme late-binding of all things. It can be done in Smalltalk and in LISP. There are possibly other systems in which this is possible, but I'm not aware of them.

>Actually I made up the term "object-oriented", and I can tell you I did not have C++ in mind.

 Alan Kay, inventor of the object-oriented paradigm.

Name: Anonymous 2011-12-26 12:54

>>37
Actually it does. A big part of why Ruby is fucked up is that standard practice for virtually everything is to manipulate the prototypes. It's a language built on bad practice. The way Ruby does it is about as reasonable as boxing your results in exceptions instead of using return.

Name: Anonymous 2011-12-26 17:39

>>39
This. OO design and programming is all about self contained objects that pass messages to each other.

Name: Anonymous 2011-12-26 17:45

>>40
I BOX MY DICK IN YOUR MUM'S VAGINA INSTEAD OF USING RETURN

Name: Anonymous 2013-09-01 14:05



::::::::::: ::: :: : : rァ' ̄77ヽ.    iア'ヽ、          /
:::::::: ::: :: : :  }!::::::::!{:::::i,}  r/:::::/,ハ、        |    ・
::: ::: :: : :   '、::::::ヽ、」|‐-r'::::::/ソ:::::!{._         !    ・
:: :: : :      .>;-‐ァ'`'ー'i-<__ン´ `' 、      |    ・
: :      / く__/    '、__,>   、   ヽ.    !
      ./ /  ;' __,/! ,ハ /ー!-‐/!.  ';. '; ';  ∠.
     .,.' ;'  ! ./_」/ レ' ァ'‐_-'、! __.! ! i    `''ー-----‐
     く.; !   !ァ'´;-、    i´ ハ Y´ ,.イ  !
      i !   !i  i_,リ    ゝ‐'’ !__,イ/  !     ,. -‐‐-、
     └i__,.ヘ,ハ .,.,.   ____   ""/ |   ,.'    / ,.-‐-、 i
      く/   !、.,  └‐┘ ,/  ハ /(    i  i 、__ノ
       ;'   ! ./`"7''=r‐ァ'´   /'´ノ)::::)   〉 `'ー-‐'
    ____ i.   Vヽrイ__!/   _,.イ`ヾ、!__」{  ノ
  ;'´,.-、` '、  r!:::`ヽ!7‐ァ'--‐ァ''´ ,rンヽ,
  i '、┘ ノ,i>く二ソi-iヽ、::::::/!/ r'/:::::::::::';
  ノ    ̄ rく   iソ::::/!´`ヽ、>'  /ソ:::::::::::::::i>
       `ヘ._ r!::::/、  ,ンi:::;ゝ /7,!-、r、_ノ  厄
         i`'ヽ'|:::) ノ::::}L/::V´  /'´

Name: Anonymous 2013-09-01 15:36



                             __|       ヽ __
                            \         `7 |_|
           ,.  ''"´  ̄ ̄`"'' ー 、,       ヽ.       /|ヽ ノ |_,
         , '´   ,. -‐   /´ ̄ヽ. \     _)
        /   ./           |  ヽ、   \         つ
      /_,,.. -/  、/   ,ハ     ,'   |  `>   \       __
      r'  "´/ /  ,>、_/ !     /|  /|  ハ    〉         /
      |>'"´|/!  ,イ |´,ハヽ!,  /_,,!イ / ./ !  /  _|_ヽ (__
     / _ /_|_./o、弋_ソ |/ イハ`Y /|/   \    | __)
    /  \ヽ二 ○wx`ー       、じ゚ ,ハo /       ヽ.  |
   /  ,  。 `7 ̄|ヽ      , '二ニヽ xw| /ア○      ) ___
   ! /|    /  人 \   /     `|   八 \ 。   <   ∠、
   ∨ '、  O /  \ ,ハ !    _ソ /  ハ  )  O /  r-、 _)
      \|\|__,r |\ト 、..,__,..イ / / /     ∠__  ̄
       /´ ̄\X`>\\_ト、.,_」イ へ(          `Y´ ̄ ̄ ̄\r─-、
     /::::::::::::::::::::ヽ.X\ \\| /Xハヽ.               | ̄ ̄ ̄ ̄|
   ,r//::::::::::::::::::::::\.X\ `ムX/::::::::\   /´ ̄ `ヽ.    | で ツ .|
  く X\::::::::::::::::::::::::::::;ハ X Y/  \:::::::::::::ハ、|´     ,ハ    | あ ン .!
   \X \:::::::::::::/´` ー- 、メ|    \::/X/ ヽ._ソ、_/ ト 、 | る デ .!
     /ヽX `ー-i´!      |/!   ヽ. 〉X/\ く____/ ハ |   .レ .|
   /  ` ー-,rト、     ,ト、     レヘ /   Y´  ´   | !____!

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