Live data from Hacker News

Alan Kay on Lisp

quora.com

41–50 of 207 posts

Re: Alan Kay on Lisp

#41
post #29

There seem to be two big camps that preach a "learn this weird new programming paradigm because it'll help you see things from a new perspective and will make you a better engineer" message: the lispy languages, and the ML-like languages. Both of these languages categories give you functional programming as well as metaprogramming, which is great. Having tried both, I've found that the ML-derived languages tend to ha…

What about typed Racket?

https://docs.racket-lang.org/ts-guide/beginning.html

Re: Alan Kay on Lisp

#42
post #29

There seem to be two big camps that preach a "learn this weird new programming paradigm because it'll help you see things from a new perspective and will make you a better engineer" message: the lispy languages, and the ML-like languages. Both of these languages categories give you functional programming as well as metaprogramming, which is great. Having tried both, I've found that the ML-derived languages tend to ha…

There are also plenty of Lisp programmers that think that it's a real tool to solve real problems, not just an educational oddity. There are a bunch of Lisps out there, and plenty of them are by no means toys. My laptop's initial RAM disk and init system are Scheme programs.

And it's not a Lisp per se, but WebAssembly's text format uses s-expressions[0]. It's likely that the "oddity" of Lisps will seem less odd as adoption increases if they stick with that.

[0]https://developer.mozilla.org/en-US/docs/WebAssembly/Underst...

Re: Alan Kay on Lisp

#43
post #29

There seem to be two big camps that preach a "learn this weird new programming paradigm because it'll help you see things from a new perspective and will make you a better engineer" message: the lispy languages, and the ML-like languages. Both of these languages categories give you functional programming as well as metaprogramming, which is great. Having tried both, I've found that the ML-derived languages tend to ha…

ML has metaprogramming? The only thing I know approaching that is template haskell, which is a weak form of metaprogramming (still powerful obviously).

Meanwhile, lisp is metaprogramming. No, it's not useful in many (or even most) applications, but when it is useful, you can bet there's some type of analogous pattern for a lisp-type language. Certainly still useful to learn along side ML. :)

Hell, the best quote to illustrate this is the article itself:

> A fun thing about it this is that once you’ve grokked it, you can think right away of better programming languages than Lisp, and you can think right away of better ways to write the meta descriptions than John did. This is the “POV = 80 IQ points” part.

In this sense, everyone should learn lisp, even if it's not the tool you intend to use.

Re: Alan Kay on Lisp

#44
post #6

Earlier quoted context omitted.

You would rather watch Transformers then Citizen Kaine? Wat?

Attention spans are different now.

Personally I've found that it's the other way around: watching tedious, confusing, sterile CGI action sequences in contemporary movies like the Transformers series requires an attention span that I just don't have. I'd much rather watch Orson Welles just stare at a wall if I had to choose.

Re: Alan Kay on Lisp

#45
post #29

There seem to be two big camps that preach a "learn this weird new programming paradigm because it'll help you see things from a new perspective and will make you a better engineer" message: the lispy languages, and the ML-like languages. Both of these languages categories give you functional programming as well as metaprogramming, which is great. Having tried both, I've found that the ML-derived languages tend to ha…

There are also plenty of Lisp programmers that think that it's a real tool to solve real problems, not just an educational oddity. There are a bunch of Lisps out there, and plenty of them are by no means toys. My laptop's initial RAM disk and init system are Scheme programs.

I just listened to an interview with Philippe Kahn and he mentioned that the language he uses today is Scheme.

Re: Alan Kay on Lisp

#46
post #42

Earlier quoted context omitted.

There are also plenty of Lisp programmers that think that it's a real tool to solve real problems, not just an educational oddity. There are a bunch of Lisps out there, and plenty of them are by no means toys. My laptop's initial RAM disk and init system are Scheme programs.

And it's not a Lisp per se, but WebAssembly's text format uses s-expressions[0]. It's likely that the "oddity" of Lisps will seem less odd as adoption increases if they stick with that. [0] https://developer.mozilla.org/en-US/docs/WebAssembly/Underst...

gcc’s IR, “GIMPLE”, is also commonly printed in s-expression form.

Re: Alan Kay on Lisp

#47
post #22

Posting Alan's reply as a comment below for posterity, since Quora appears to forbid archive.org from making a copy. --- First, let me clear up a few misconceptions from the previous answers. One of them said “Try writing an operating system with Lisp”, as though this would be somehow harder. In fact, one of the nicest operating systems ever done was on “The Lisp Machines” (in Zeta-Lisp), the hardware and software fo…

And these operating systems in both Smalltalk and Lisp were both better and easier to write than the standard ones of today.

Look, I love Lisp as much as the next hacker, but is Alan Kay for real? Where's the Lisp equivalent to this C code?

https://github.com/dwelch67/raspberrypi/tree/master/blinker0...

More importantly, where's the accompanying toolchain? Seriously, I really want to know because I'd love, Love, LOVE to play around with it.

Re: Alan Kay on Lisp

#48
post #29

There seem to be two big camps that preach a "learn this weird new programming paradigm because it'll help you see things from a new perspective and will make you a better engineer" message: the lispy languages, and the ML-like languages. Both of these languages categories give you functional programming as well as metaprogramming, which is great. Having tried both, I've found that the ML-derived languages tend to ha…

What about typed Racket? https://docs.racket-lang.org/ts-guide/beginning.html

Yeah, this was the "notable exception" I had in mind.

Re: Alan Kay on Lisp

#49
post #17

I disagree with the "single ... language" right off the bat before any deeper considerations. Lisp is a great collection of design patterns for making languages. > The key was not so much “Lisp” but the kinds of thinking that this kind of representational approach allowed and opened up regarding all kinds of programming language schemes. > A fun thing about it this is that once you’ve grokked it, you can think right…

> Or else, you didn't really grok it. Only if you believe that the only good thing one should grok is the data/code parity part. For me Smalltalk is even better and more concise than Lisp is.

> For me Smalltalk is even better and more concise than Lisp is.

I'm not seeing this from looking at various Rosetta Code examples.

Re: Alan Kay on Lisp

#50

This is really well written and seems to agree with the traditional FP lore. I'm curious what led Alan Kay then to OOP in Smalltalk.

Whatever Alan Kay thinks OOP is, it isn't what we think it is.

just fyi, Alan Kay coined the phrase Object Oriented Programming. So your statement, while true, should probably say what we call object oreinted programming should have a different name.
Post reply on HN