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

Pages: 1-

SICP, in my /prog/?

Name: Anonymous 2009-05-10 3:23

I guess SICP is a meme here.

Anyway, you guys will never guess. I am making a NEW PROGRAMMING LANGUAGE.

Name: Anonymous 2009-05-10 3:27

no waiiii

Name: Anonymous 2009-05-10 3:35

>>2
I am.
(+ 1 1)
==> 2

Name: Anonymous 2009-05-10 3:42

what's it called?

Name: Anonymous 2009-05-10 3:58

F
The Faggot Programming Language

Name: Anonymous 2009-05-10 4:10

>>5
No, that's the name my mother gave me for Christmas 2003

Name: Anonymous 2009-05-10 4:14

NewBasic

Name: Anonymous 2009-05-10 4:21

>>3

too impractical, would be better to do something like

(+(1,1))

Name: Anonymous 2009-05-10 4:23

>>8
Ugh, I can't stand prefix notation, reminds me a lot of Scheme, and to a lesser extent, LISP. You're langauge should use something known as infix notation, which looks like:
1 + 1
==> 2
Your parse can even skip over the whitespace, so it will except both 1+1 and 1+ 1 as well.

Name: Anonymous 2009-05-10 4:27

>>8
1/10

>>9
something known as infix notation
Read your fucking SICP, /pr/etard.

Name: Anonymous 2009-05-10 4:45

>>10
:D

Name: Anonymous 2009-05-10 9:41

>>9
I think you need to reexamine your position. Prefix notation is superior, and you need to prefer it.

Postfix is best, of course. (1, 1)+

Name: Anonymous 2009-05-10 9:46

>>9
What if your function has other than 2 inputs, infix suddenly doesn't work so well.

Name: Anonymous 2009-05-10 9:49

>>9
0/10

Name: Anonymous 2009-05-10 10:29

I personally prefer appendix notation. If you are ill-informed and have not yet achieved satori, in appendix notation all procedures are stored in a separate location. For example:

<main file>
(1 1)
(2 2)

<procedure file>
+-

Name: Anonymous 2009-05-10 11:01

I have to agree with >>15.
Over the years I came to understanding that infix, prefix and postfix notations interfere with the natural thought process of a programmer.  Only appendicks notation naturally separates data and executable code.

Name: Anonymous 2009-05-10 13:36

>>14
0/10

Name: Anonymous 2009-05-10 14:22

>>6
Microsoft Christmas 2003?

Name: Anonymous 2009-05-10 14:56

HAX MYSOfbkgbfokpjngbfjlkdcnkhrjsbdvsdhjsbgvhdsfbnvjdgk fhvnb. dskjslfbvmdujknjhjKGHIJNilhfnhludib lkrwiknb rgjhldgkvn dliutsgfjnvkhejnjghkjbhjkjnLIUIJNIUHGFVLRUTKDNFB VYLIRUDTNSFVUTJEDBFSVNIEJDFSLVN KBRULDGB FKUTEDFNIEKSMF ZOPKEFSLIKHFSBKEHKSJFB KDSN BLIHK

Name: Anonymous 2009-05-10 19:17

>>18
Microsoft Visual Novel++ 2009 Enterprise Edition

Name: Haxus the Thread Restorer 2009-11-14 20:31

Haxus the Thread Restorer

Name: Anonymous 2009-11-14 20:42

I think what we have all neglected to examine is suffix notation

(define (x square) (x x *))
(16 square)
==> 256

Name: Anonymous 2009-11-14 20:54

Postfix is a bit hard to read/write, but is most compact, infix seems natural because that's how people are thought up until middle school, but it's actually not that good of a notation for programming. Prefox feels most natural once you get used to it (give it a few days for completly fluent reading of code).

If someone can't change the ways they perceive syntax, they're probably not that good of a programmer anyway. Math and programming is about semantics, not about syntax. A programmer should think in concepts and ideas which translate into code, not code `incantations' which he can copy/paste from somewhere (or just recall from memory).

Name: Anonymous 2009-11-14 20:54

s/Prefox/Prefix

Name: Anonymous 2009-11-14 21:37

oh yeah, >>22 s/suffix/postfix

((x x *) (x square) define)
(16 square)
==> 256


How's that!?

Name: Anonymous 2009-11-14 22:13

Haskell lets you mix n' match. Just sayin.

Name: Anonymous 2009-11-14 22:33

I let the compiler infer what operator I meant.

Name: Anonymous 2009-11-15 8:26

>>23
infix seems natural because that's how people are thought up until middle school,
Nope, it's more natural because just by glancing at an expression with prefix operators you instantly know what each operator's operands are, instead of having to count parentheses or to make a mental model of the stack in your head.

Name: Anonymous 2009-11-15 8:57

Fuck.
s/prefix/infix/

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