News for hackers. Stuff that matters.
Re:Forth: The programming language that writes itself by teddyh on Saturday February 25, 2023 @01:57PM (#34939356)
LISP is worth learning for a different reason – the profound enlightenment experience you will have when you finally get it. That experience will make you a better programmer for the rest of your days, even if you never actually use LISP itself a lot. (You can get some beginning experience with LISP fairly easily by writing and modifying editing modes for the Emacs text editor, or Script-Fu plugins for the GIMP.)

It’s best, actually, to learn all five of Python, C/C++, Perl, and LISP. Besides being the most important hacking languages, they represent very different approaches to programming, and each will educate you in valuable ways.

http://www.catb.org/~esr/faqs/hacker-howto.html#skills1

Re:Forth: The programming language that writes itself by jacquesm on Saturday February 25, 2023 @02:29PM (#34939643)
May I suggest adding PROLOG to that list? Or Erlang, for yet another different take on programming.
Re:Forth: The programming language that writes itself by proper_elb on Saturday February 25, 2023 @02:43PM (#34939751)
This would be my 2023 list: Python, C, LISP, Fortran, Haskell, Prolog, SmallTalk. Also likely Rust, it might replace C in my list and is quite similar to Haskell in some ways, particularly when it comes to turning runtime errors to compile time error.
Re:Forth: The programming language that writes itself by macintux on Saturday February 25, 2023 @10:16PM (#34942710)
+ Erlang (or Elixir if you must)
Re:Forth: The programming language that writes itself by bmitc on Saturday February 25, 2023 @02:46PM (#34939774)
> LISP is worth learning for a different reason – the profound enlightenment experience you will have when you finally get it.

I like Lisp (or rather Scheme and Racket), but I have never understood this perspective. The only thing I can think of that Common Lisp does truly uniquely is its condition system. I feel like something like Prolog is much more profound in the way that it reshapes how to think about programming.

Re:Forth: The programming language that writes itself by teddyh on Saturday February 25, 2023 @02:55PM (#34939833)
What LISP has, uniquely, is its macro system which, unlike text-based macro system like C, operate on the abstract syntax tree level.
Re:Forth: The programming language that writes itself by jacobmartin on Saturday February 25, 2023 @07:10PM (#34941787)
For sure. Additionally, the syntax of lisp also makes these AST macros ergonomic and, in many cases, beautiful. Rust has AST-transforming macros, but they're harder to use because the syntax is more complex. They're also quite ugly.
Re:Forth: The programming language that writes itself by bmitc on Sunday February 26, 2023 @05:46PM (#34950490)
Is that enlightening though? For example, Common Lisp, Scheme, Racket, Clojure, Elixir, and Prolog all have abstract syntax tree macro systems that all differ from one another. And I would argue that macros should, in general, be avoided. They can be very enabling though to extend the given language when used with constraint and moderation.
Re:Forth: The programming language that writes itself by agumonkey on Saturday February 25, 2023 @03:03PM (#34939899)
prolog is another step that's for sure but lisp is the gateway drug

the emphasis on thin syntax, homoiconicity is really no joke to me. I'm finishing queinnec's l.i.s.p but writing some of it in python and using OO requires so many layers and layers to reacreate what is mostly various sexp trees

it puts away a lot of sequential imperative, replaced by functional/function oriented, it may look trivial today but it's been like this since the 70s

and about CL/CLOS, one could mention the MOP, the multimethod+combinations too

Re:Forth: The programming language that writes itself by jvanderbot on Saturday February 25, 2023 @05:15PM (#34940982)
Though I'm not a Rust fanatic, I will say that spending time programming in Rust has made me a better C++ programmer.