Which languages are dynamically typed and compiled (and which are statically typed and interpreted)?

Here’s a list of a few interesting systems. It is not exhaustive! Dynamically typed and compiled The Gambit Scheme compiler, Chez Scheme, Will Clinger’s Larceny Scheme compiler, the Bigloo Scheme compiler, and probably many others. Why? Lots of people really like Scheme. Programs as data, good macro system, 35 years of development, big community. But … Read more

What is the worst programming language you ever worked with? [closed]

PHP (In no particular order) Inconsistent function names and argument orders Because there are a zillion functions, each one of which seems to use a different naming convention and argument order. “Lets see… is it foo_bar or foobar or fooBar… and is it needle, haystack or haystack, needle?” The PHP string functions are a perfect … Read more

Is there a visual modeling language or style for the functional programming paradigm?

See archived version with outlinks here. As of May 26, 2023, there is no standard modeling language for pure functional programming, but there are alternatives: 1. UML UML has traditionally been associated with object-oriented programming (OOP), mostly because of its historical roots1, 2, but one can certainly attempt to use it for different programming paradigms … Read more

Exactly what is the difference between a “closure” and a “block”?

While a block is just a piece of code that can be composed by statements and declarations but nothing else, a closure is a real first-class object, a real variable that has a block as its value. The main difference is that a block simply groups instructions together (for example the body of a while … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)