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

Pages: 1-

the collapse of /prog/

Name: Anonymous 2007-09-25 2:28 ID:TESmC3oP

With the heresy of Abelson, a plague of threads and individual posts have come out attacking the cornerstone of /prog/, the Structure and Interpretation of Computer Programs.  While I do not go so far as to condemn our lost brothers, now walking the road of enterprise programming, I fear for the future of this board.  While there are and always will be others, here is one of the keenest sites of public discussion on computer science.  The work our collective spent on BBCode has greatly expanded the understanding of programming paradigms; the groundbreaking discovery that Python contains, in one word, the forced indentation of code headed off what's now recognized as a potential disaster for the entire field; and perhaps most importantly, we've nurtured a new generation of programmers, analytic minded, creative, striving for satori. 

I don't know about you guys, but Sussman damn it I don't want to see this thing go.  So what can we do?

Name: Anonymous 2007-09-25 2:35 ID:QU1T8m6x

Write more BBcode

Name: Anonymous 2007-09-25 6:09 ID:nQPPfvPN

It was fun while it lasted. now it's over.

Name: Anonymous 2007-09-25 6:13 ID:d2FNvs5z

SICP is dead.

Name: Anonymous 2007-09-25 7:37 ID:NlG5/+5g

>>1
Lol
But Python is not enterprise programming. In fact, they had to create Zope to make Python half-enterprise. I'm confident Abelson will still teach proper programming, and remember Python's treatment of functions, even if it has its limitations(*), is as powerful as Scheme, and certainly better than that of Common Lisp and Ruby, in that it's like a Lisp1 and you can do f()()() all you want.

(*): And its limitations aren't severe. Mainly two: lambda cannot contain statements, so you have to use def (which cannot be used in an expression, and is not anonymous, but you can always use _ as a temporary name), and the lexical scoping problem that allows you to access and modify outer variables, but not rebind them with =, which is getting fixed in Python 3000.

Admittedly, these are pretty equivalent:

Scheme/BBCode:
(define (foldl f acc l)
    (if (null? l)
        acc
        (foldl f (f acc (car l)) (cdr l)))))


Python:
@tailcall
def foldl(f, acc, l):
    if l: return foldl(f, f(acc, l[0]), l[1:])
    else: return acc


Oh, and I'm working on a new, safe, efficient tail call optimizing decorator for Python using trampolines and no stack inspection or exceptions. It can be safely used on all existing code provided that it's tail-recursive (tail-call to different functions is supported too, and optimized even if not all of them are @tailcall). It could even help students by making them think on whether the function they're writing is tail-recursive or not.

Name: Anonymous 2007-09-25 11:30 ID:edDZAOZ+

>>5
A word of warning; if you use '_' as a temporary function name, they'll come for you. Abelson will hold you down while Guido swings the bat. Seriously.

Name: Anonymous 2007-09-25 11:34 ID:NlG5/+5g

>>6
Heh. I use it because it doesn't contain any letters - it doesn't say "tmp", "aux", or anything that could mess with anything in nested scopes - moreover, it's indeed insane to use it, so I'm guaranteed that defining it then using it in the next line (I never rely on it for more than the next line) is going to be safe.

Name: Anonymous 2009-03-06 13:03


The shortest path vertex for vertex actually.

Name: ​​​​​​​​​​ 2010-10-24 11:45

Name: Anonymous 2011-02-03 1:21

Name: Anonymous 2011-02-03 6:49

Name: Anonymous 2012-06-25 22:42

㜇执䍩ᕱ᠙摷ᑩᦄ鑵᥅煄ᐱ灖劗舉椙噖ၕ玁猨艠茆會ݙŰ敨楃慵荔遠㠈⡗礹ᄈ鎆肙㍇ᙈ㎂憕ॣ兑腆玘ᔓ薙ȧ瑰ょ杷馗酷ė␰ဳᡦ蝠㜓԰覀፲錥܈ᥕ外錩癴⢙䍣村搇☂㐃鈱䔆᎘褃憄ऒ圡ᘶঁ恗睶䞄S祠挐隙䑒4♈梕䥉塑∇卨灤琔焒ᅗ蝰ᔴ禇昒猀挴鉵ቷ➓ᄔ甥╶て∹圤偡㌘鞖䀗〥ឈ睷ܒ㍢斗䞉餦蕑䑥牣鈧ᔢ划甀偂榆ᙓℹ㑅畑၀䔘扰镹脗ኁ‰㖇砷爠䉇々鍠ဖѠ牀聦䆂ࢅ蕠畧逃鈥葔塶钗ᐘ⢃ᐵѧॕ䠩ᘵ䙓㡆ᅤ䤤皂℉⠗恹➘㝸萆䜩虙午ᠠ碂ũܔ㠆塵吢褒褥摳ㅦ椉隇㞖捲ږⅉ椵1則扩甇礀㚑ၠ睱葑灡㍸扢鍉堶枒⤃逡阓㘘㐶鈢ⅇ圈ࠉ鄢冈ᑔ─昖吹圖ᔉ疐怉陕㚇ࡔ݀⎈妘ភ㚄ᎄ楗爰㢅鎈̄祔衉㥱⠸䢒鑷呐猐莐硁厑荅夙㙙攲嚂皒攳攤蕷䜅ܣ協⚁ᢂ䀱刃褘镀ॠ䄀怃ᑖĸ鉹搃酵␀āᄅ刨捓䍓ᜱ周猩

Name: Anonymous 2013-09-01 20:26



     __,ヘ_ ,. -──- 、,
    ri::::;ヘ>===- 、 `ヽ.
 邪 7〉' ,  , ハ 、 `ヽ  ',
 魔 i i /_!,/ィ」 L、!_ハ_i ', i
 な  |_i__!イ'T,j   'T_,T!_ハ! |    それで満足したら
 ん   ! 7i"      ",!l | |     お帰り願えますか
 で.  | i l>.、.,_` _,,.イ! /l |      __
     ヽ!ヽヘレくレ'/レ'ヽ!' /〉 , '"´  `ヽ.
       /7}><{/:::/^ヽ.くx'/ /  ´・ ω・`!
      r〈/::::Y::::t::k' _,.ィ'×、> ,'       ,'     
      / k:::::i::::::::::i'´ !/ /      , '
   .ヘ、//::`7::T::: ̄!  |、 ,'      /
   `>'::::::::/:::::::::::::::::::!  |::ヽ.   , '"´
   rくe::::::/::::::::::i:::::::::::し_ノ::e::>、'
   ヽニヽ7ニ二ィ_T__ハ_7イノー'´〈
     `ゝ、_rン ^ヽ、_r、,ノ  `ヽi
      ,.イ--!   Y i、
     (二'ン'    〈'二_'〉
       ̄       ̄

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