Diffusion is the movement of molecules from an area of high concentration to an area of low concentration. A common example is sugar water. If you place a sugar cube in a glass of water, the sugar molecules are concentrated at the sugar cube. Over time, the sugar cube decreases in size. That is because the sugar molecules are dispersing through the water. The sugar molecules are moving from where they are highly concentrated (sugar cube) to where there is a low concentration (no sugar in the water). Eventually, the sugar cube will completely dissolve and the sugar molecules will be evenly dispersed in the container of water. Another example of diffusion is a candle burning. When we light a candle, the room will start to smell like that scent. The ingredients used to make the fragrance are concentrated in the candle; this is where the concentration is high. As the candle heats up, particles that smell like the fragrance are released and dispersed into the air. The fragrance diffuses into the air and now the entire room smells like that scent.
As a software engineer, I need to sometimes describe a piece of code as something that lacks performance or was not written with performance in mind. Example: This kind of coding style leads to unmaintainable and unperformant code. Based on my Google searches, this isn't a real word. What is the correct way to describe this? EDIT My usage of "performance" here is in regard to speed and efficiency. For example, the better the performance of code the faster the application runs. My question and example target the negative definition, which is in reference to preventing inefficient coding practices. Answer This kind of coding style leads to unmaintainable and unperformant code. In my opinion, reads more easily as: This coding style leads to unmaintainable and poorly performing code. The key to well-written documentation and reports lies in ease of understanding. Adding poorly understood words such as performant decreases that ease. In addressing the use of such a poorly ...
Comments
Post a Comment