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

Why is Objective-C not very popular outside of the Apple community? [closed]

Another way of thinking about this question might be: why did C++, rather than Objective-C, become the “Object-Oriented C”? I learned C++ in 1991, and remember that C++ seemed like the hot thing while Objective-C was this weird little language that no-one (other than NeXT) wanted to use. I’ve been trying to remember why, and … Read more

Why interpreted langs are mostly ducktyped while compiled have strong typing?

The premises behind the question are a bit dodgy. It is not true that interpreted languages are mostly ducktyped. It is not true that compiled languages mostly have strong typing. The type system is a property of a language. Compiled versus interpreted is a property of an implementation. Examples: The programming language Scheme is dynamically … Read more

Is Haskell suitable as a first language?

Well, the existence of SICP suggests that functional languages can be used as introductory material. Scheme is perhaps more approachable than Haskell, however. Haskell seems to have a reputation for being “difficult” to learn, but people tend to forget that classic imperative programming is difficult to learn as well. Many people struggle at first with … Read more

Difference between compiled and interpreted languages?

Neither approach has a clear advantage over the other – if one approach was always better, chances are that we’d start using it everywhere! Generally speaking, compilers offer the following advantages: Because they can see all the code up-front, they can perform a number of analyses and optimizations when generating code that makes the final … Read more

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