Programming in Scheme

In CSE 262 – Programming Languages, we are currently learning the to program in Scheme. It is very different from Java and C/C++ . Scheme uses functional programming where was Java and C/C++ uses objective-oriented programming. With functional programming, you can generate output with a single command line program. The major difference is that you are dealing with a new syntax and grammar. For example, to add in Scheme you invoke a function like (define add(+ x y)) . This function will add two values and return the result. It is interesting approach to programming because the operation can be done with unlimited parameters which is not possible with language like Java or C/C++. The Scheme language is also case insensitive so you do not have to worry about uppercase and lowercase variables. We will have a programming assignment soon for it and I am excited to see how that goes!

Advertisements

About lunur16

I am undergraduate student at Lehigh University. I am from Allentown, Pennsylvania. My intended major is Computer Engineering and possibly a minor in Business.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s