Dynaverse.net
Off Topic => Ten Forward => Topic started by: Iceman on September 13, 2004, 10:03:35 am
-
Well now, do you? I know some people here have programming experience, just wondering what your thoughts are on it.
-
I don't think I ever heard of the Program. Is It for Desktop Themes etc?
Stephen
-
I used it when i was a freshman in Computer Science.
It wasnt horrible - took me a while to get used to scheme's syntax.
Had Java 2nd semester for data structures.... and switched majors. They apparently didnt realize/care that if you had NO java experience, you werent gonna pass the 2nd semester of csci.
-
Well I'm taking Object Oriented Design in B term so I should (keyword here) be ok.
Sirgod,
No, DrScheme is the single most convoluted programming language ever created by man. Here's an example of code from my homework this evening.
;graduate-if-finish-all?: student + courses --> boolean
;consumes the student and number of courses and produces a boolean indicating if the student can graduate if they pass all their courses.
(define (graduate-if-finish-all? astudent)
(cond [(undergrad? astudent) (cond [(<= 15 (undergrad-units astudent)) true]
[else false])]
[(grad? astudent) (cond [(string=? "MS" (grad-degree astudent))
(cond [(<= 33 (grad-credits astudent)) true]
[else false])]
[(string=? "PhD" (grad-degree astudent))
(cond [(<= 90 (grad-credits astudent)) true]
[else false])]
[else false])]
[(nodegree? astudent) false]))
Yeah, you thought you knew how to count paren's. lol
-
That looks like Cobol and Assembler had and illegitimate child.
-
That looks like Cobol and Assembler had and illegitimate child.
I've programmed in Assembler, doesn't look like Assembler at all. No AX, BX or INT13h etc. That looks like some sort of messed up C++ code. Like someone brought themselves almost to the point of overdosing on cocaine before setting down and trying to simplify and revolutionize C++. Sigmund Freud would have been proud. ::) ;D
While I've never programmed in DrScheme (what the H*|| kind of name is that??!?). I'm guessing that anything to the right of the ";" the start of a comment line and the ":" marks the end? That would explain why it looks a little like COBOL. The rest like I said look like some redesigned C code. You have to program in this junk??? Sorry for your luck, I'm kind of glad I got out of that field now from the looks of it.
-
It's a dead language, so I'm told. Why we're using it for an "Intro to Basic Programming" course, I'll never know.
-
It's a dead language, so I'm told. Why we're using it for an "Intro to Basic Programming" course, I'll never know.
DrScheme is just the interpreter. The actual language is Scheme, which is a LISP varient... only really useful to teach structures OR Artificial Intelligence - least thats what my profs told me.
I had that class during SFC1's heyday... needless to say i got a kick out of CAR/CDR/CADR/CDAR etc.
-
Hell, Micromon 64 or PET on the old C64's looked more Logical then that.
Stephen
-
Most things do.
Let's say you want to add 5 + 5. Here's the code for that
(+ 5 5)
Whiskey Tango Foxtrot over? Why on earth would you do that?
-
Hell, Micromon 64 or PET on the old C64's looked more Logical then that.
Stephen
That is an understatement the class would have better served with Pascal or even C++. That BTW is what I had to learn with. ::)
-
ah see the difference here is I like C++! Scheme, I hate. I hate it more than I hate....well I'm not sure but I hate it a whole lot.