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

How to make C++ obsolete in 221 pages

Name: Anonymous 2012-02-28 16:30

Object Oriented Programming with ANSI-C

www.planetpdf.com/codecuts/pdfs/ooc.pdf

Sepples status:
[0] Told
[0] Served
[0] Romanced
[0] Owned
[0] Raped
[1] Pillaged

Name: Anonymous 2012-02-28 16:34

tl;dr

Name: Anonymous 2012-02-28 16:36

meh

Name: Anonymous 2012-02-28 16:59

lol, c++
the book is interesting
thanks for sharing

Name: Anonymous 2012-02-28 17:10

Sepples status:
[0] Told
[0] Served
[0] Romanced
[0] Owned
[0] Raped
[0] Pillaged
[1] Linus Toldvalds

Name: Anonymous 2012-02-28 17:12

1. Classes are not remotely the most useful feature of Sepples, and certainly not the most useful change from C.

2. Most of the tasks which are poorly suited to Sepples are even more poorly suited to C.

Name: Anonymous 2012-02-28 18:08

>>6
Point 2 is a very good point.

I've only leafed over the book, but it's basically a book on how Cfront works, without mentioning Cfront?

Name: Anonymous 2012-02-28 18:36

Second sentence in the PDF: [i]At the core, there is little more to it then finally applying the good programming principles which we have been taught for more then twenty years.[i]
this looks legit to me

Name: Anonymous 2012-02-28 18:49

>>7
But it's not. It uses pure ANSI-C and can be compiled with any standard C compiler.

Name: Anonymous 2012-02-28 22:48

>>6
1. really? I find classes to be the only usable feature in seeples. Well that and namespaces and templates (although templates suck).

2. yeap.

Name: Anonymous 2012-02-28 23:04

>>10
Classes are actually like eleven different features and >>6 was pretty reckless to call them the same feature. For example the method invocation syntax is pretty convenient in a lot of ways but it doesn't automatically have something to do with inheritance (obviously, since languages like Go support one but not the other) or function/operator overloading (which is most useful for the multiple dispatch abilities).

Come to think of it categorizing C++ shit is just hella difficult but we all know it's a giant mess of bad corner cases that interact in stupid ways so whatever. You can't even really say that something is an individual feature with certainty and it's just... terrible

Name: Anonymous 2012-02-29 0:07

>>11
oh italic bold, I want to try it!

Name: >>12 2012-02-29 0:11

It needs a unicode hair space !

Name: Anonymous 2012-02-29 0:57

FILE* is an example of object-oriented C. It can refer to a file, device, standard stream (like stdin), or in POSIX, anything that can use a file descriptor such as sockets or pipes. Some extensions add a form of inheritance. If fmemopen and open_[w]memstream (which are in POSIX-2008 and TR 24731-2) get added to the C standard then FILE*s could be used as automatically managed buffers. Instead of worrying about buffer overflows or whether data is in static, automatic or dynamic memory, or in a file, device, or socket, just pass a FILE*. fopencookie could be used to replace wrappers around FILE* like the gzFile used by zlib with real FILE*s. These can be used with other wrappers forming a stack. The cookie_io_functions_t is like a table of virtual methods.

Name: Anonymous 2012-02-29 1:00

>>14
You don't know what ``object-oriented'' means !

Name: Anonymous 2012-02-29 1:26

>>15
Of course he doesn't. open_memstream is a good idea. OO is shit.

Name: Anonymous 2012-02-29 1:36

>>15
hair space is 0x200A, and can be entered using firefox with control + shift + u, followed by 200a

Name: Anonymous 2012-02-29 1:38

>>17
I don't give a fuck !

Name: Anonymous 2012-02-29 1:39

>>15
You have a very narrow view of what ``object-oriented'' means !

A FILE* is a reference to something that has a set of operations/methods that can be applied on it (common interface). How it's implemented is not important (concrete class), and there can be many different instances with different behavior that all allow th f* functions to be called on them (interface inheritance). That's quite ``object-oriented''.

Name: Anonymous 2012-02-29 1:44

``I invented the term Object-Oriented and I can tell you I did not have >>19 in mind.''
-- Alan Kay

Name: Anonymous 2012-02-29 2:03

>>18
hmm, the insertion of hair spaces should be automated somehow.

Name: Anonymous 2012-02-29 2:22

>>20
HeDidntInventTheTerm

Name: Anonymous 2012-02-29 2:51

>>21
print u'ONE WORD FORCED HAIR-SPACING OF THE TEXT THREAD OVER'.replace(' ', u'\u200A')

>>22
HAIR SPACE FAIL !

Name: Anonymous 2012-02-29 2:53

>>23
f u''.g()
ugly.

Name: Anonymous 2012-02-29 3:24

I'm testing using vim to make hair spaces by using the CTRL-V u 200a to type a hair space, and doing a substitution with s/ /(hair space here)/g.

Name: Anonymous 2012-02-29 3:37

>>25
$ sed 's/ / /g'
Erryday I'm hustlin'.    
Erryday I'm hustlin'.

Name: Anonymous 2012-02-29 3:45

Object Oriented Programming with ANSI-C

Name: Anonymous 2012-02-29 5:43

>>23
c2 FAIL !

Name: Anonymous 2012-02-29 10:36

>>14
This.

Name: Anonymous 2012-02-29 13:09

I like how hair spaces break monospace fonts.

Also,  what  does  double  hair  space  word  spacing  look  like?

Name: Anonymous 2012-02-29 13:19

I don't think there is such thing as a double width hair space. Why would the Chinese ever need one?

Name: Anonymous 2012-03-01 0:04

>>31

I did a grep for space in my unicode table webpage and got this:


<tr><td>0x0008</td><td>8</td><td>&lt;control&gt;: BACKSPACE</td><td><font size="+3"</font></td></tr>
<tr><td>0x0020</td><td>32</td><td>SPACE</td><td><font size="+3"> </font></td></tr>
<tr><td>0x00A0</td><td>160</td><td>NO-BREAK SPACE</td><td><font size="+3">&nbsp;</font></td></tr>
<tr><td>0x1361</td><td>4961</td><td>ETHIOPIC WORDSPACE</td><td><font size="+3">፡</font></td></tr>
<tr><td>0x1680</td><td>5760</td><td>OGHAM SPACE MARK</td><td><font size="+3"> </font></td></tr>
<tr><td>0x2002</td><td>8194</td><td>EN SPACE</td><td><font size="+3"> </font></td></tr>
<tr><td>0x2003</td><td>8195</td><td>EM SPACE</td><td><font size="+3"> </font></td></tr>
<tr><td>0x2004</td><td>8196</td><td>THREE-PER-EM SPACE</td><td><font size="+3"> </font></td></tr>
<tr><td>0x2005</td><td>8197</td><td>FOUR-PER-EM SPACE</td><td><font size="+3"> </font></td></tr>
<tr><td>0x2006</td><td>8198</td><td>SIX-PER-EM SPACE</td><td><font size="+3"> </font></td></tr>
<tr><td>0x2007</td><td>8199</td><td>FIGURE SPACE</td><td><font size="+3"> </font></td></tr>
<tr><td>0x2008</td><td>8200</td><td>PUNCTUATION SPACE</td><td><font size="+3"> </font></td></tr>
<tr><td>0x2009</td><td>8201</td><td>THIN SPACE</td><td><font size="+3"> </font></td></tr>
<tr><td>0x200A</td><td>8202</td><td>HAIR SPACE</td><td><font size="+3"> </font></td></tr>
<tr><td>0x200B</td><td>8203</td><td>ZERO WIDTH SPACE</td><td><font size="+3">​</font></td></tr>
<tr><td>0x202F</td><td>8239</td><td>NARROW NO-BREAK SPACE</td><td><font size="+3"> </font></td></tr>
<tr><td>0x2408</td><td>9224</td><td>SYMBOL FOR BACKSPACE</td><td><font size="+3">␈</font></td></tr>
<tr><td>0x2420</td><td>9248</td><td>SYMBOL FOR SPACE</td><td><font size="+3">␠</font></td></tr>
<tr><td>0x3000</td><td>12288</td><td>IDEOGRAPHIC SPACE</td><td><font size="+3"> </font></td></tr>
<tr><td>0x303F</td><td>12351</td><td>IDEOGRAPHIC HALF FILL SPACE</td><td><font size="+3">〿</font></td></tr>
<tr><td>0xFEFF</td><td>65279</td><td>ZERO WIDTH NO-BREAK SPACE</td><td><font size="+3"></font></td></tr>

Name: Anonymous 2012-03-01 0:07

Hmm...so there's no real semantics added to the language other than OOP? LOL. Yea big fuckin quantum leap, asshole.

This is a man's programming language: http://www.bitc-lang.org/

Name: Anonymous 2012-03-01 0:14

>>33
Did you read the second paragraph, ``faggot''?

Name: Anonymous 2012-03-01 0:21

>>34
Nope. U mad?

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