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

/prog/'s own esoteric language

Name: Anonymous 2008-08-04 18:08

Fun idea. Let's make our own programming language.
Conditions:
Must be somewhat useful like ABC.
Not limited to characters only. Can include words.
1 function per post.

Name: Anonymous 2008-09-17 19:19

>>91
you can already do assignment without a var=value statement by setattr() and locals() (or even globals())
Sucks

for and while loops aren't functional anyway
But it's far nicer and more expressive to have them as first-class syntax. The whole statements thing is utterly retarded. And Python doesn't have tail-call elimination so either you do it with a decorator (which is going to be slow) or you use loops.

the rest is just differences of syntax
Making everything an expression so that you can do it from lambda is a big difference and improvement. Then you have homoiconicity, which alone makes my thing worth implementing.

>>92
def is a multi-line closure. But it's not anonymous, nor an expression.

>>93
Guido hates FP altogether. He wants to add just the bare minimum of support for it to Python so that we don't run away somewhere else, but he's never been an enthusiast about it. I think he's just being stupid here. Also, I can't believe the person who designed Python (which did otherwise a pretty good job) can't deal with folds like that. He was just being an asshole.

>>94
He doesn't; he hates it.

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