this post was submitted on 08 Jun 2024
1066 points (98.5% liked)

Programmer Humor

19522 readers
227 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

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 5 points 5 months ago (1 children)

C is almost the perfect subset for me, but then I miss templates (almost exclusively for defining generic data structures) and automatic cleanup. That's why I'm so interested in Zig with its comptime and defer features.

[โ€“] [email protected] 2 points 5 months ago

You may also like Odin if you haven't already started zig. It's less of a learning curve and feels more like what c should have always been. It has defer and simple generics, but doesn't have the magic of comptime.