Every industry is full of technical hills that people plant their flag on. What is yours?

you are viewing a single comment's thread
view the rest of the comments
[–] 10 points 8 months ago (4 children)

If people used a language that actually leverages the strengths of dynamic typing, they wouldn't dislike it so much.

I encourage every programmer to build a Smalltalk program from the ground up while it's running the entire time. It really is a joy

  • source
  • hideshow 8 child comments
  • [–] 4 points 7 months ago* (last edited 7 months ago)

    build a Smalltalk program from the ground up while it's running the entire time.

    Lisp works this way too. An editor can provide completions, documentation, and the like by introspection of the running program. Experimental code can be tested immediately against live state.

    I'm puzzled that this approach isn't more common.

  • source
  • parent
  • [–] 1 point 7 months ago

    I use, say, bash quite happily. But I will also come down pretty firmly on the side of static typing for large software packages. It lets software handle a bunch of rigorous checking that otherwise eats up human time.

  • source
  • parent
  • [–] 1 point 7 months ago

    The problem with dynamic typing is not one that can be solved, even with a live running program you might not be hitting the edge case where you're passing a wrong type.

    It's fine for small stuff, but when you're developing a piece of software with hundreds or thousands of classes, functions, and APIs it's impossible to mentally keep track of everything. And adding a type checker is tangential to overriding all of the benefits of a dynamic typing system.

  • source
  • parent