Skip to content

Instantly share code, notes, and snippets.

@bkaradzic
Last active November 3, 2025 04:11
Show Gist options
  • Select an option

  • Save bkaradzic/2e39896bc7d8c34e042b to your computer and use it in GitHub Desktop.

Select an option

Save bkaradzic/2e39896bc7d8c34e042b to your computer and use it in GitHub Desktop.
Orthodox C++

Orthodox C++

This article has been updated and is available here.

@d-musique
Copy link

@DBJDBJ

GCC and clang should introduce new switch: /orthodox

I've implemented it, pretty much. See https://github.com/d-musique/orthodoxy
It does the enforcement of programming rules that you mention.

It's quite recent and it works for me well. This thing was born out of extreme frustration with the ongoing ens*ittification of C++ to a point that I could no longer accept it.
This lead me to revise my approach to C++ programming to a large degree, and I judged this kind of tool to increasingly become a necessity. This has been on my mind for maybe a year or so but finally I dedicated some time so I could bring it to reality.

@bkaradzic
Copy link
Author

@d-musique Excellent! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment