Get the latest tech news

Let's Destroy C


Let's Destroy C. GitHub Gist: instantly share code, notes, and snippets.

With a GNU-extension (it may or may not work under other compilers), we can easily write a lambda, and give C the ability to have anonymous functions. You can write proper coroutine systems for C. They tend to be big, and complicated and extremely helpful. We put the return type right before any listing of arguments, and after the name, which can make it easier when reading over the definition or decleration.

Get the Android app

Or read this on Hacker News