Are there any programming languages that combine REPL-style "redefine a single function" development with static typing?
I feel like many languages are prioritising the latter, but in principle we could totally have both.
What defines the *feel* of a programming language?
I've heard JS described as "composing lego blocks" due to npm, and Common Lisp with Sly feels like a place you explore (e.g. docs from the REPL).
All PLs have tools though. Which ones set the vibe?
I'm designing a programming language and trying to decide the type of `let x = 1;`. Should it be Unit or Int?
Advantage of Int: really convenient when evaluating snippets in a REPL.
Advantage of Unit: It's much less confusing when type inference runs on an incomplete function.
Wilfred Hughes
Shared words: REPL, programming, languages, function
Score: 133.6
I like the concept of a REPL: an interactive environment where you can redefine code and evaluate snippets to see the result.
I try to avoid the term "REPL" though. Most languages don't use "read" for parsing (the R) and it's confusing. Are there good alternatives?
Wilfred Hughes
Shared words: REPL, redefine, languages
Score: 123.5