Today I Learned - Rocky Kev

TIL How many Fucks there are in Linux

POSTED ON:

TAGS:

I saw this post "Code with swearing is better code.",

and a reddit commenter shared a sweet tool that measures the word count of specific words in the linux kernel.

Check the whole thing out at https://www.vidarholen.net/contents/wordcount/

"Fuck"

Hack, Workaround, todo, and Fix me

The one made me laugh.

As of today:

via Open source code with swearing in the comments is statistically better than that without


Related TILs

Tagged:

TIL How many Fucks there are in Linux

As of today, in the Linux Repo, there are comments that contains the following mentions: 1,651 for hacks, 2,863 for workarounds, and 4,102 for fixme

TIL using html comments in javascript

This is in the 'bad idea' area! But just a need little factoid!

TIL the value of a good comment

Inside your code should be explanations about what the code is supposed to be doing. On the other hand, you can go too far in your commenting. Make sure that your comments clarify your code but do not obscure it.