Is there a software-engineering methodology for functional programming? [closed]

Thank God that the software-engineering people have not yet discovered functional programming. Here are some parallels: Many OO “design patterns” are captured as higher-order functions. For example, the Visitor pattern is known in the functional world as a “fold” (or if you are a pointy-headed theorist, a “catamorphism”). In functional languages, data types are mostly … Read more

What makes Lisp macros so special?

To give the short answer, macros are used for defining language syntax extensions to Common Lisp or Domain Specific Languages (DSLs). These languages are embedded right into the existing Lisp code. Now, the DSLs can have syntax similar to Lisp (like Peter Norvig’s Prolog Interpreter for Common Lisp) or completely different (e.g. Infix Notation Math … Read more

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