---
title: "Stephen Friederichs"
url: https://daily.dev/posts/stephen-friederichs-bgpyzrf8s
source_url: https://www.embeddedrelated.com/showarticle/454.php
type: article
source: "EmbeddedRelated"
published: 2026-05-31T07:48:29.259Z
updated: 2026-05-31T09:19:35.948Z
tags: ["c", "embedded"]
reading_time: 7
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Stephen Friederichs

**[EmbeddedRelated](https://daily.dev/sources/embeddedrelated)** · 7 min read · 0 upvotes · 0 comments

## Summary

SLOC (Source Lines of Code) is a code metric with a bad reputation due to misuse by management to evaluate developer productivity, but it still has legitimate uses. The post explains the difference between Physical Lines of Code (PLOC) and Logical Lines of Code (LLOC), particularly in C where whitespace doesn't affect statement count. It warns against using SLOC as a productivity measure, which can incentivize verbose, inefficient code. However, SLOC remains useful for estimating effort when working with existing codebases or negotiating contracts. The free, open-source tool CLOC is demonstrated with practical command-line examples showing how to count lines per file type and per individual file.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.embeddedrelated.com/showarticle/454.php>

## Similar posts on daily.dev

- [Lines of code are useful](https://daily.dev/posts/lines-of-code-are-useful-nmiqpfz9n) · Lobsters · 3 upvotes · 1 comments
- [Lines of Code Are Back \(And It's Worse Than Before\)](https://daily.dev/posts/lines-of-code-are-back-and-it-s-worse-than-before--vz8rhgd2f) · Hacker News · 7 upvotes · 3 comments

---

Tags: [#c](https://daily.dev/tags/c), [#embedded](https://daily.dev/tags/embedded)

[View this post on daily.dev](https://daily.dev/posts/stephen-friederichs-bgpyzrf8s)
