The org-mode code blocks can be used for literate programming and creating executable snippets. There is also a quick way to insert some common code blocks, for example, <s TAB would expand as
#+BEGIN_SRC #+END_SRC Thus, it is pretty convenient to insert code blocks or examples.