What exactly is the meaning of an API? [closed]

Searches should include Wikipedia, which is surprisingly good for a number of programming concepts/terms such as Application Programming Interface: What is an API? An application programming interface (API) is a particular set of rules (‘code’) and specifications that software programs can follow to communicate with each other. It serves as an interface between different software … Read more

What is a Shim?

Simple Explanation via Cartoon An example of a shim: Summary A shim is some code that takes care of what’s asked (by ‘interception’), without anyone being any wiser about it. Example of a Shim An example of a shim would be rbenv (a neat ruby tool). Calls to ruby commands are “shimmed”. i.e. when you … Read more

Overwrite or override

If you’re replacing one implementation completely with another, it’s “overwriting” or more commonly “replacing“. If you’re replacing an implementation with another for some specific cases, it’s “overriding“. To “overwrite” something is to put something else in its place, destroying the thing overwritten. To “override” something is to cause something else to operate instead of it … Read more

What is the difference between a shim and a polyfill?

A shim is any piece of code that performs interception of an API call and provides a layer of abstraction. It isn’t necessarily restricted to a web application or HTML5/CSS3. A polyfill is a type of shim that retrofits legacy browsers with modern HTML5/CSS3 features usually using Javascript or Flash. Answering your specific question, call … Read more

Functional, Declarative, and Imperative Programming [closed]

At the time of writing this, the top voted answers on this page are imprecise and muddled on the declarative vs. imperative definition, including the answer that quotes Wikipedia. Some answers are conflating the terms in different ways. Refer also to my explanation of why spreadsheet programming is declarative, regardless that the formulas mutate the … Read more

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