Re: scala (was good site for programming tutorials)

  • From: Kerneels Roos <kerneels@xxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Wed, 20 Apr 2011 08:50:03 +0200

Apart from a few tutorial programs during a course on programming languages I haven't looked much at Listp or one of it's variants although I regard it highly as a father of many languages. I find the functional programming constructs in C# Linq and Python's map, filter, reduce and apply extremely practical and easy to rap your brains around. How does Scala and Clojure compare? They sound very similar to each other.


An intriguing feature of Lisp, the way programs are just structured data in themselves, makes meta programming easy it seems -- much easier than in most other languages. For example, I can remember a chapter in an AI book that dealt with genetic algorithms or GA's which were Lisp programs that chopped and changed themselves and using a process of a sort of survival of the fittest you could occasionally get a novel algorithm for solving a problem. Is GA's still an active field or have the scientists concluded that chance is to dicey after all?

On 8/27/2010 9:35 PM, Sina Bahram wrote:
Oh,ok

Take care,
Sina

-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx 
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Andreas Stefik
Sent: Friday, August 27, 2010 1:38 PM
To: programmingblind@xxxxxxxxxxxxx
Subject: Re: scala (was good site for programming tutorials)

Katherine said:

And not to mention, wasn't Lisp originally meant to run on non-Windows OS'?

I was saying, "Yes, because it was written when Bill Gates was only 3"

Stefik

On Thu, Aug 26, 2010 at 10:07 PM, Sina Bahram<sbahram@xxxxxxxxx>  wrote:
Andreas, Of course not, but what's your point? I was using the Windows 
reference as a time one, nothing more.

Take care,
Sina

-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Stephen S.
Disbrow
Sent: Thursday, August 26, 2010 7:50 PM
To: programmingblind@xxxxxxxxxxxxx
Subject: Re: scala (was good site for programming tutorials)

Hi,
The lisp of that day is not the lisp of today look at clisp, or even
clojure
----- Original Message -----
From: "Andreas Stefik"<stefika@xxxxxxxxx>
To:<programmingblind@xxxxxxxxxxxxx>
Sent: Thursday, August 26, 2010 11:12 AM
Subject: Re: scala (was good site for programming tutorials)


For Lisp, it was originally specified back in 1958. To put it in
perspective, Bill Gates was 3 years old, so it was definitely not
designed for windows.

Stefik

On Thu, Aug 26, 2010 at 9:53 AM, Sina Bahram<sbahram@xxxxxxxxx>  wrote:
I totally agree on the language war avoidance. No worries there, Jamal.

I do have to correct you though. Lisp does not require functional
programming. This is an extremely oversimplification of the language.
Functional programming implies a paradigm which emphasizes the
application of functions over changes in state. It's a pure extension
of the lambda calculus, whereby all functions return a value and this
value does not change except with changes to inputs into said
function; thus avoiding state or mutability of any kind. Such a
restriction does not exist in lisp. There are programming languages
like F# which are more functional programming languages, but even in
those, I believe it is possible to have mappings which are not
one-to-one with input parameters, side effects , and some semblance
of mutability. In functional programming.

Lisp is a multi-paradigm programming language. It supported OOP
before it was called that, and had things like annotations before
Windows was an operating system. It also can be used as a procedural,
functional, object oriented, service oriented, inductive, deductive,
and/or annotation based language, all within the same program, if you
like, and that's just to name a few paradigms.

Take care,
Sina

-----Original Message-----
From: Jamal Mazrui [mailto:empower@xxxxxxxxx]
Sent: Thursday, August 26, 2010 8:04 AM
To: programmingblind@xxxxxxxxxxxxx
Cc: Sina Bahram
Subject: Re: scala (was good site for programming tutorials)

Let us avoid language wars here, but I think Scala is much more
readable and practical than LISP. Scala does not require functional
programming like LISP. OOP is fully supported, but functional
programming is also solidly supported. It is called Scala because it
is intended as a scalable language, where one can use advanced
features as needed. In my opinion, Scala is a revolutionary language,
not just in the ivory tower but in the real world as well.

Jamal

On 8/26/2010 12:49 AM, Sina Bahram wrote:
Not to be pedantic or anything, but most of the "advantages of java"
so to speak stem from the nature of the language itself, so
it
might be a bit disingenuous, pedagogically speaking, to say that all
Java's advantages exist, because I would submit that it's
most
important ones, absolutely do not.

Don't' get me wrong, I'm a huge fan of languages like Scala,
although I tend to just use a language that can do everything Scala
can
and more, called Lisp, if I want that sort of thing.


Take care,
Sina

-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of QuentinC
Sent: Thursday, August 26, 2010 12:31 AM
To: programmingblind@xxxxxxxxxxxxx
Subject: Re: scala (was good site for programming tutorials)

Interesting site.

If scala compiles into java bytecode, then all advantages of java
are available.
Note that swing interfaces are not inaccessible. You juste have to
install the java access bridge and then most of swing API
become
accessible. There are few problems with the advanced controls, but
the standard ones go well.
And about turning a java program into windows executable, there is
launch4j.
This program wrap a jar file into an exe.

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind


__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind



__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind


__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind


--
Kerneels Roos
Cell: +27 (0)82 309 1998
Skype: cornelis.roos

__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: