home.social

#sloc — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #sloc, aggregated by home.social.

fetched live
  1. I'm glad that I am not graded on how many lines of code appear in the final code I write/commit. I just wrote ~250 lines of experimental code to get to a final ~15 lines of code (in a different module than I started in!) to solve a problem. Everyone else will just see the 15 lines.

    The solution is much better than the one I started chasing. But based on SLOCs or other metrics, I would be penalized. smh

    #sloc #slocs #programming #coding #software #ProgrammingIsThinking

  2. Fedi software example sizes

    Lines of Code (excluding blank lines and comments):

    Mastodon: 477,794 (1.5% Chromium)
    Misskey: 289,974 (0.9% Chromium)

    Chromium: 30,992,426
    Firefox: 28,634,675 (92.3% Chromium)

    And yes, a bit like apples and iOS: The SLOC of Mastodon and Misskey are from the default branch on GitHub, the browser SLOC are from this site: openhub.net/
    So the browser SLOC could contain some (a lot of) dependencies.

    #code #SLOC

  3. (#Ohloh count) is a source code line counter with language detection.

    Ohcount is a tool which counts source lines of code (#SLOC) in source files. Along with line counting ohcount can detect programming languages present in a file and licensing terms on a per file basis. Ohcount can be used on both single files as well as entire directories.

    Website 🔗️: github.com/blackducksoftware/o

    apt 📦️: ohcount