Hacker News new | ask | show | jobs
by teknopurge 1780 days ago
BYOH - Bring You Own Handle

The purpose is not to assume what the developer wants, but provide access to all the resources(and manipulation) they need.

If you need guardrails there are 10s of languages designed for specific purposes.

3 comments

However at some point you realize that there is an optimal and general-enough handle shape that everyone ends up individually re-creating.

You should use a knife that comes with such a handle but gives you the option to take it off when you want to impress your friends with your knife-juggling skills and feel you have a few fingers too many.

Before C was born, developers were using system programming languages with handles just fine.

C lacks a handle because its designers didn't care to provide one, it is after all based on a language whose main purpose was to Bootstrap CPL.

FWIW, Zig is as sharp as C but with a handle.
Why should you pick Zig and not Rust, D or Go?
Zig is probably nicer if you want to write code that is to be called from C.