this post was submitted on 22 Mar 2024
120 points (90.5% liked)
Programmer Humor
19688 readers
105 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Do other languages separate definition from implementation? ๐ค Is there another way to distribute libraries with a binary component and a public component?
CC BY-NC-SA 4.0
Some do, most don't.
Anyway, you don't need to separate them in your source code to have a legible component on your distributable. C is the only language that insists you must have part of the source code before you can use the very public perfectly clear interface that is written all over shared libraries.
Also, you can distribute proprietary libraries by source perfectly well. And it's the standard except on very few cases where a corporation can coerce most of the world on accepting any shit.
I believe Ada does.