Betty is a Perl-based coding style checker that enforces the Holberton School coding style (inspired by the Linux kernel style) for C code and documentation. It identifies inconsistencies, style violations, and formatting issues in C source files. You should be aware that by default, some text editors are using spaces instead of tabs. For instance, when you press tab key on emacs, by default, leading spaces will be put, and that will cause Betty to raise a lot of warnings. Please find some help in the Tools section. Outside of comments and documentation, spaces are never used for indentation, and the above example is deliberately broken.
Features
- Validates C source code adherence to Betty (Holberton) style format
- Checks code issues such as indentation, naming conventions, and function length
- Provides style feedback for both code (betty-style) and documentation (betty-doc)
- Executable via simple CLI commands for file or batch validation
- Licensed under GPL-3.0 and written in Perl for portability
- Helps learners develop cleaner, standardized coding habits through automation
Categories
Software DevelopmentLicense
GNU General Public License version 3.0 (GPLv3)Follow Betty
Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects
Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Betty!