Trendoday

Avoid Public Functions Calling Other Public Functions

0 comments · api, programming

  • Comments20
–Rank now
#3Peak rank · Oct 31
3Days on list
–List score · 7d
Oct 31, 2026First seen

On Lobsters

apiprogramming
Score
91
Comments
20
Submitted by
telemachus
Tags
api, programming
Site
matklad.github.io

Story details from Lobsters ↗ · linked article on matklad.github.io.

Trending history

Avoid Public Functions Calling Other Public Functions was first seen by Trendoday on Oct 31, 2026. Since then it has appeared in 75 checks on 3 different days. It reached #3 on Lobsters · Hottest on Oct 31, 2026 UTC. It was last seen on Lobsters · Hottest on Nov 2, 13:51 UTC.

Rank history

Best recorded rank on Lobsters · Hottest per UTC day.

#1#4#7#10 Oct 31Nov 1Nov 2 Oct 31, 2026 UTC · #3Nov 1, 2026 UTC · #3Nov 2, 2026 UTC · #10

Last 14 days

Best rank per day (UTC).

Nov 23today

From the discussion

A few top-level comments from Lobsters, shortened. Read the full thread on Lobsters.

I’m not sure I agree with this. I tend to build public APIs in layers. The low layer public API exposes all necessary functionality. The higher layers expose *convenient* functionality for common use cases. In C/C++, the higher-level interfaces are often header-only and designed to be inlined in the caller. They also…

A concrete thing related to this I just ran into yesterday, is that when reporting certain kinds of errors, I collect a stack trace for later rendering to indicate which public function call was responsible for the creation of a particular artifact. You can make the first stack frame be the callsite of the public…

The problem I see there is not that foo calls bar specifically, but rather that bar's public interface has been damaged as an implementation detail of foo as opposed to a tiny refactor. So I feel like the better more general rule would be something like "do not damage the public interface unless absolutely…

Questions

Is Avoid Public Functions Calling Other Public Functions trending on Lobsters · Hottest right now?

Not at the moment. Its last recorded appearance was on Nov 2, 13:51 UTC.

What is the highest rank Avoid Public Functions Calling Other Public Functions reached on Lobsters · Hottest?

#3 on Oct 31, 2026 UTC.

How long has Avoid Public Functions Calling Other Public Functions been trending?

It was first seen on Oct 31, 2026 and has been on the list on 3 days (75 checks) since.