Don't miss an insight. Subscribe to Techopedia for free.



What Does Prettyprint Mean?

In IT, to “prettyprint” something refers to the process of displaying source code or other items in a presentable and attractive way. Prettyprint can involve formatting and style implementations, as well as different types of specialty text settings to display the results of mathematical equations or code output.


Techopedia Explains Prettyprint

Prettyprint can be done in many different ways. One of the basic implementations is code formatting, which splits blocks of code into individual code lines. Certain tools do this for various programming languages like LISP or C, making the result much more readable and conventional. Prettyprint tools may also change font sizes and styles for individual numbers or letters or pieces of text. The general idea is that results are printed clearly and in a user-friendly way. In some cases, this requires specific modifications of dense, complicated or “hairy” source code.


Related Terms