Share & Embed MisconceptionsA Curated Inventory of Programming Misconceptions
We believe misconceptions are valuable. Progmiscon.org enables and encourages sharing them.
Each misconception has a name (like
ObjectsMustBeNamed). We strive to keep these names short but descriptive.
We continuously grow and improve our inventory of misconceptions. This means that at some point we may want to rename a previously published misconception. We try to minimize such renamings, and when we do rename a misconception, we will keep the old name alive (and make it forward to the new name), to ensure that references to progmiscon misconceptions will never break.
Each Programming Language has its own Misconceptions
If a misconception exists for multiple programming languages, then it has the same name for each language. For example:
Link to a Misconception
Each misconception is presented on its own page, at a URL that looks as follows:
PL stands for the programming language (e.g.,
MC stands for the name of a misconception (e.g.,
ObjectsMustBeNamed). This makes it easy to link to a specific misconception from anywhere.
For example, ObjectsMustBeNamed for Java is available at:
Post about a Misconception on Social Media
If you post about a misconception on social media, include its link to get a nice card in your post:
Embed a Misconception (iframe)
You can include a misconception on your own web page in an iframe. Here is an example:
To get this compact presentation of the misconception (which omits the page header and footer, and the detailed discussion), use the URL for iframe content:
As with any iframe, you can pick its size. Our iframe content works with a relatively wide range of sizes. The iframe above is 700 by 640 pixels. Here is the HTML snippet we used:
<iframe width="700" height="640" frameborder="0" allowfullscreen src='https://progmiscon.org/iframe/misconceptions/Java/ObjectsMustBeNamed' title='Misconception at progmiscon.org' ></iframe>
Retrieve the List of Misconceptions
We provide a so-called "static API", a JSON file you can download that contains the list of all misconceptions on this site.
The JSON file has the following structure:
The JSON file contains the list of programming languages for which we have misconceptions, the list of concepts that the misconceptions relate to, and the list of misconceptions.
For each misconception it contains its name and programming language, its short description (a descriptive phrase without formatting), the list of concepts it is related to, and its status. The status is either
public (fully documented) or
draft (incompletely documented).