Jump to content

Blog post offers formal definition of "elegance" for code

Recommended Posts

There is a lot that is interesting about the following blog post, but most notable for me is the formal definition of "elegant code". 



We've all seen elegant code. We know it when we see it, but stating precisely why this code is elegant and that code is not is quite hard sometimes. The definition is offered just past the halfway point of the blog post, in the paragraph that starts "This process of hierarchical decomposition and recomposition is not..."


Side note... the blog post concludes with a set of challenges for you to implement in "your favorite programming language." If you've ever heard me or a few others complain about a lack of basic functional concepts in LabVIEW, just try implementing the challenges, even just as a thought experiment. Your results will be a long way from elegant. Someday, we'll fix this about LabVIEW. Someday. *sigh*

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.