Re: Why Python When There Is Perl?

Liste des GroupesRevenir à ol advocacy 
Sujet : Re: Why Python When There Is Perl?
De : bowman (at) *nospam* montana.com (rbowman)
Groupes : comp.os.linux.advocacy
Date : 22. Mar 2024, 19:23:39
Autres entêtes
Message-ID : <l65t4rFb8laU5@mid.individual.net>
References : 1 2 3 4 5 6 7
User-Agent : Pan/0.149 (Bellevue; 4c157ba)
On Fri, 22 Mar 2024 02:06:08 -0000 (UTC), Lawrence D'Oliveiro wrote:

On 22 Mar 2024 01:43:02 GMT, rbowman wrote:
 
As I worked through the exercises I was mentally calculating how I
would do it in C.
 
C doesn’t put call frames on the heap, or even allow nested functions
(as standard), so I don’t know how you would handle closures.

You don't. You look at the task at hand and figure out how you would get
the same result in C, not try to follow Lisp's technique.

A vast amount of software has been written with imperative programming.
Even the languages that eventually added lambdas and such got along for
years without the concepts.

I'm not saying the task can't be accomplished with functional programming,
only that it does not have to be done with a functional language.

Date Sujet#  Auteur
2 Oct 24 o 

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal