Language Selection

English French German Italian Portuguese Spanish

How Open Source Comments (by Programming Language)

Filed under
OSS

We recently looked at the commenting practice of active working open source projects. It is quite impressive: The average comment density of open source is around 19%. (Comment density = comment lines / (comment lines + source code lines)). That is much more documentation than most people thought!

However, such a rough number needs discussion. Here, I look at the comment density on a programming language basis. As it turns out, the comment density of active open source projects varies by programming language. Java is leading the bunch, but that needs further discussion.

Below, for six major programming languages, you can see the average comment density as well as its distribution (cast as a histogram).

More Here




More in Tux Machines

Today in Techrights

A soft push for the fairer sex

International Centre for Free and Open Source Software (ICFOSS), an autonomous institution under Government of Kerala and Society for Promotion of Alternative Computing and Employment (SPACE), an NGO promoting free software, have been conducting ‘Women Hackers,’ a project to bring more women into free software. The programme involves intensive residential workshops on college campuses. It was during one such hackathon that the idea for ‘I install’ was put forward by the students of LBS College of Engineering, Kasaragod. A GNU/Linux installation camp, the event aims to promote the idea of taking control over the technology that you use. Those students who received training at the hackathon will be part of ‘I install’ where they impart their learning to other students. Read more

The Linux Kernel Is Still Rectifying The Year 2038 Problem

The Linux kernel is still working to rectify the Year 2038 problem whereby the time values stored as signed 32-bit integers will wrap around. If you somehow are not familiar with the Year 2038 "Y2038" problem, you can learn more via Wikipedia. The Linux kernel has been receiving fixes and workarounds for years now through many Y2038 commits to work through the many different areas of the kernel that are relying upon 32-bit signed ints for storing time values. With Linux 4.15, this work has continued. Read more

Linux 4.15 Is A Huge Update For Both AMD CPU & Radeon GPU Owners

Linux 4.15 is shaping up to be a massive kernel release and we are just half-way through its merge window period. But for AMD Linux users especially, the 4.15 kernel release is going to be rocking. Whether you are using AMD processors and/or AMD Radeon graphics cards, Linux 4.15 is a terrific way to end of the year. There are a number of improvements to make this release great for AMD customers. Read more