this post was submitted on 13 Oct 2023
804 points (93.6% liked)

Programmer Humor

32483 readers
834 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 1 year ago (1 children)

I mean, I guess, it depends on your perspective. Some folks work in garbage/proprietary languages all day and would be very glad to have Python-levels of compiler help. Others work in JS/TS and do have similar nonsense to deal with as in Python.

But lots of languages, e.g. JVM languages, Rust etc., don't struggle with semicolons and the like.
And they don't have to compile at runtime, so they can easily outclass Python for more complex error reporting, which is at least my experience.

Personally, I have pretty much only had the experience of "tell me where the error is" in Python and TS.

[โ€“] [email protected] 2 points 1 year ago* (last edited 1 year ago)

I'll always appreciate Lisp for the most powerful REPL in existence of programming languages by a long shot. Name me one programming language that empowers developers to troubleshoot and fix runtime errors with high availability like Lisp does:

  • Meh, who cares. Let's continue to run.
  • Here's a REPL with the app state at the time of the runtime error. Happy debugging!
  • Fix the bug in production inside of the REPL while everything continues to chug along.
  • Save the changes to disk and check it into version control.

The REPL in Lisp is so powerful that there's an entirely different approach to developing apps in Lisp. You can, and some do, code everything inside of the REPL. When they're done, they save the file to disk.