Our great sponsors
- SonarLint - Clean code begins in your IDE with SonarLint
- Revelo Payroll - Free Global Payroll designed for tech teams
- Onboard AI - Learn any GitHub repo in 59 seconds
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
-
I wonder how he feels about this now: https://github.com/torvalds/linux/pull/17 where he very enthusiastically argues for 72 characters to a line in commit messages?
-
I've regularly seen projects absolutely ruin their readability by adhering strictly to a character limit. You see excessive abbreviations, re-definitions of existing objects to create shorter names, line breaks in illogical places, etc.
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
-
Oof, I remember being in school and they taught us COBOL for 3 semesters (this was late 1990s...) I had to go look what Github has that's COBOL and this is what I found.
-
unmaintainable-code
A more maintainable, easier to share version of the infamous http://mindprod.com/jgloss/unmain.html
-
When you're working on a leaf file with few (or no) dependencies, it's easy to keep function names short. Coupled with a 4-column indentation, it's really not that bad. Most of the time you'll get no more than 3 indentations, sometimes 4, for a total of 12-16 columns. That leaves 64-68 columns of actual text, which is not that tiny. Another reason to keep to a strict limit (be it 80 or 120) is when you're measuring your project size by the line of code. Allowing overly long lines would be a bit cheating. Here's an example of a strict 80-column limit. It mostly works for this particular case.
-
Revelo Payroll
Free Global Payroll designed for tech teams. Building a great tech team takes more than a paycheck. Zero payroll costs, get AI-driven insights to retain best talent, and delight them with amazing local benefits. 100% free and compliant.
Related posts
- Is there a way to set the auto arrange to always align to the top of the build plate?
- Effective use of area
- IBM releases COBOL compiler for Linux x86
- Running COBOL on a Kubernetes Cluster
- Otterkit, open source COBOL 2023 compiler (ISO/IEC 1989:2023). We're looking for contributors to help modernize and improve the ecosystem with us