LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-03-2004, 11:09 AM   #31
R00ts
Member
 
Registered: Mar 2004
Location: Austin TX, USA
Distribution: Ubuntu 11.10, Fedora 16
Posts: 547

Rep: Reputation: 30

Wow, free lectures! I guess I don't need to pay tuition anymore But are these videos on Scheme or Lisp? I don't see any mention to either, except that the first video is an introduction to Lisp...
 
Old 08-03-2004, 01:37 PM   #32
llama_meme
Member
 
Registered: Nov 2001
Location: London, England
Distribution: Gentoo, FreeBSD
Posts: 590

Rep: Reputation: 30
Quote:
Does Scheme suppor procedural programming? I mean, not using functions or recursion but something like (thinking in C++)
Yes, it does support procedural programming. The C++ code you gave does have functions (well, methods anyway).

Quote:
you see I have to keep using function like expressions..... why not just define variables, etc etc?
Because there are many advantages to a functional style, but you can define variables if you like.

Quote:
the only thing close to variable assignment in scheme (that i learned) was (let ....) which you might wanna look into, but it seems to half do the job. I don't even remember too many specifics since I haven't written anything in scheme for a year :-x
Let does half the job, and the set! function does the other half. It's really very easy to do imperative/procedural programming in Scheme, although I'm not sure why anyone would want to, unless they just want to write C++ code in Scheme.

Alex
 
Old 08-03-2004, 01:53 PM   #33
poeta_boy
Member
 
Registered: Oct 2003
Location: Mexico
Distribution: Ubuntu
Posts: 223

Original Poster
Rep: Reputation: 31
the thing about trying to transport procedural into scheme is that I've only used that style so when I see a problem that has to be solved my instinct drive me that way... I find it quite tricky to change into another perspective (recursion and functions) but again, there's got to be a way
 
Old 08-03-2004, 04:41 PM   #34
max_sipos
Member
 
Registered: Jul 2004
Posts: 96

Rep: Reputation: 15
Well, I believe that, at the time, LISP = scheme . These guys are pretty much the legends who actually invented the whole stuff (they worked in the AI lab at MIT, Stallman too, for the record)... the syntax is scheme (look at the function definitions in first lesson), and the simplicity.. Yet, the course is A LOT about good (and crazy, abstract) software development in general - learning a language, or using whichever one IMHO is not the "real" CS knowledge...

Best regards,

--
Maksim Sipos
 
Old 08-03-2004, 04:43 PM   #35
max_sipos
Member
 
Registered: Jul 2004
Posts: 96

Rep: Reputation: 15
I have to rant a bit more... Sometimes, in that course they really make you think they are wizards (you can tell I'm biased, cant you?)



--
Maksim Sipos
 
Old 08-03-2004, 04:52 PM   #36
poeta_boy
Member
 
Registered: Oct 2003
Location: Mexico
Distribution: Ubuntu
Posts: 223

Original Poster
Rep: Reputation: 31
how long do you think it will take me to go through all the course? and how "deep" is it?
 
Old 08-03-2004, 04:56 PM   #37
llama_meme
Member
 
Registered: Nov 2001
Location: London, England
Distribution: Gentoo, FreeBSD
Posts: 590

Rep: Reputation: 30
A few weeks probably. It's pretty deep Really though you don't have to read all of it, or even read it completely in order.

Alex
 
Old 08-03-2004, 04:57 PM   #38
max_sipos
Member
 
Registered: Jul 2004
Posts: 96

Rep: Reputation: 15
Well there's good 20 hours of lectures (you need a good internet connection to download that), and if you want to be serious, you'd probably do the assignments from the book as well. The course will definitely make you appreciate functional programming and this whole 'abstract thing'... I heard that this is (used to be?) the only CS (EE) freshman introductory course @ MIT where you actually learned to program, the rest (four years) was theory - as I believe it should be.

--
Maksim Sipos
 
Old 08-03-2004, 05:18 PM   #39
poeta_boy
Member
 
Registered: Oct 2003
Location: Mexico
Distribution: Ubuntu
Posts: 223

Original Poster
Rep: Reputation: 31
hehehe now I'm starting to get scared hehe I'll try my best.... you wouldn't happen to know another course like that but now about 3D modeling or openGL would you??

Abstract... that's how I need to become
 
Old 03-30-2006, 11:14 AM   #40
beginner54
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Rep: Reputation: 0
Hi I AM IN THE SCHEME COURSE NOW AND i am lost

Quote:
Originally Posted by max_sipos
I'm a huge fan of scheme as well; I'd like to point out a wonderful introduction to the language, an entire MIT course available on the web (together with the book) in form of video lectures: The Structure and Interpretation of Computer programs:
http://swiss.csail.mit.edu/classes/6...sman-lectures/
Can you help me on this, I can't get it right

Develop the function My-Grade-Is-B. which returns true for any grade between 80 - 89 and false otherwise

(define (My-Grade-Is-B G ))
(cond
[ (and ( > = 80 G ) ( < = 89 G )) ]
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install a scheme Starch Linux - Newbie 4 08-16-2005 08:43 AM
Difference between Top Down programming & Bottom up programming minil Programming 1 06-17-2005 02:42 AM
partioning scheme okplayer02 Linux - Newbie 6 01-31-2005 03:10 PM
partition scheme leeman_s Slackware 2 05-23-2004 11:41 AM
Backup scheme jonas_the_joker Linux - General 1 10-25-2003 07:39 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration