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

MIT's scheme gets Pythonic

Name: Anonymous 2007-05-27 10:13 ID:Zm7J6MaB

Name: Anonymous 2007-05-27 10:17 ID:xw9rRP22

ONE WORD, THE FORCED INDENTATION OF CODE, THREAD OVER!!!!!!!!!!!!!!

Name: Anonymous 2007-05-27 10:18 ID:xw9rRP22

oh I just actually read the article, this is awful.

Name: Anonymous 2007-05-27 10:36 ID:rKLlRpqh

SIFIC?

Name: Anonymous 2007-05-27 13:36 ID:Zm7J6MaB

The new book will be SIPCP, Structure and Interpretation of Pythonic Computer Programs.

Name: Anonymous 2007-05-27 13:59 ID:Heaven

Now if you excuse me I'll go siphon some Captain Picard episodes off eMule.

Name: Anonymous 2007-05-27 14:31 ID:0rflFClW

Python isn't that bad, but I'd have prefered Ocaml or Haskell.

Name: Anonymous 2007-05-27 14:36 ID:rKLlRpqh

>>7
Haskell would be a particularly bad language for the purpose because it is unable to teach `normal' programming with side effects.

(I have read SICP and I'm a Haskell fag.)

Name: Anonymous 2007-05-27 16:04 ID:zhgoA9r4

>>8
That's a feature not a bug.

Name: Anonymous 2007-05-27 16:11 ID:rKLlRpqh

>>9
When teaching the basics of programming, that is not a feature. Haskell is one of the very few purely functional languages used at all in the real world. Using Haskell for an introductory programming course is about as stupid as using Java for the same.

Name: Anonymous 2007-05-27 16:19 ID:0rflFClW

>>8,10
That's not true. Haskell has extensive support for imperative programming. Mix that with Haskell's excellent expressiveness and you've got one awesome learning language.

Name: Anonymous 2007-05-27 16:26 ID:1Cb9yRAK

At least it's not Java

Name: Anonymous 2007-05-27 16:40 ID:rKLlRpqh

>>11
Did I mention I am a Haskell fag? I know that Haskell supports imperative programming, but it does that in a way that is different enough from almost anything else to make it a bad choice for teaching introductory programming.

I don't think Python is too great a teaching language, either, compared to Scheme, but Abelson & Sussman seem to be supporting it, so maybe I'm just wrong.

Name: Anonymous 2007-05-27 17:00 ID:ZT3+7enq

>>13

Why teach imperative programming then?

When you're teaching the basic concepts of programming, it might be helpful to use a language that ISN'T in common industrial use—then the concepts can be presented separated from the syntax of any particular programming language. The concepts learnt can then be mapped onto other syntax later.

This is speaking from personal experience of several friends who have *never* programmed before doing the same course as me; we at first learnt C (why?), and then Java. It took them a while to formulate the abstract ideas behind the syntax of C and apply them liberally. At first they were stuck in a somewhat syntax-is-everything mentality; for example, it took a while for 'method=function' to stick.

Silly I know, but it continues to surprise me what they have problems with when they've *never* touched code before.

Name: Anonymous 2007-05-27 17:01 ID:0rflFClW

>>13
How is the IO monad together with IORefs different from 'standard' imperative programming?

Name: Anonymous 2007-05-27 18:07 ID:rKLlRpqh

>>14
Because imperative programming in some form is necessary to do anything except very trivial programs. In Scheme, it can be fluently mixed in to otherwise functional programs with a single keyword, which is conceptually easily mappable to the programming model of almost any non-purely-functional language.

>>15
It strictly separates code with side effects from functional code.

Name: Anonymous 2007-05-27 18:31 ID:Zm7J6MaB

キタ━(゚∀゚)━(∀゚ )━(゚  )━(  )━(  )━(  ゚)━( ゚∀)━(゚∀゚)━ !!

Name: Anonymous 2007-05-27 21:31 ID:W4KbKnb9

goddamn losers.

if you're not able to do it in C, it's not the language, it's you. You fail.

Name: Anonymous 2007-05-28 2:24 ID:MXONMbCk

>>16
What's your point? If you want imperative, you can run everything in the IO monad.

Name: Anonymous 2007-05-28 14:21 ID:yqRGvG3D

>>18
if you're not able to do it in assembly, it's not the language, it's you. You fail.
Fixed

Name: Anonymous 2007-05-28 14:24 ID:41xQO88x

>>20
if it's not possible to do it in assembly, it's not you, it's the computer

Fixed

Name: Anonymous 2007-05-29 6:22 ID:rd0ilia7

if it's not possible to do it in assembly, it's not you, it's your computer which is not turing-complete

Fixed

Name: Anonymous 2007-05-29 8:17 ID:Heaven

>if it's not possible to do it in assembly, it's not you, it's your computer which is not touring-complete

Fixed

Name: Anonymous 2007-05-29 9:06 ID:GCbmTJk0

If it's not possible to do it in BBcode, it's not worth doing.

Fixed.

Name: Anonymous 2007-05-29 9:48 ID:YbwVjAbT

>>24
sotrue

Name: Anonymous 2007-05-29 15:18 ID:GEmXwDF4

>>23
Psst, it's Turing-complete

Name: Anonymous 2007-05-29 16:15 ID:CwnH/Hyp

not a bad move.  Python is a good language to learn programming to smart people.

I learned all my basic courses in java, which is great too, because it's just soooo fucking simple.

Name: Anonymous 2007-05-29 16:41 ID:YXam+rec

>>26

Troll

Name: Anonymous 2007-05-29 19:01 ID:IeGMMjCd

Python is a good language to learn programming to smart people.
Hahaha, what?

Have you ever used Python? It doesn't take brains.

Which is the point of the language; it's easy.

Name: Anonymous 2007-05-29 19:13 ID:aI7Ua5Sk

>>29
From the statement
learn programming to smart people
I'm guessing that >>27 doesn't have brains.

Name: Anonymous 2007-05-29 21:16 ID:xtQLso4Q

in b4 forced indenting.

Name: Anonymous 2007-05-30 7:25 ID:Jj7NGUy3

>>31
That was the second post, you stupid shit.

Name: Anonymous 2009-03-06 13:40

The This may surprise you but I   inI Interrupted Prelude.

Name: Anonymous 2010-12-24 13:16

Name: Sgt.Kabu짡₳kiman표ဌ 2012-05-29 2:30

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

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