522
you are viewing a single comment's thread
view the rest of the comments
[-] ZILtoid1991@kbin.social 2 points 2 years ago

Well, you can always just add the type definitions later on.

I did port some C code to D, by just pasting it in a D file, then fixing the differences (changing type names, rewriting precompiler macros with D metaprogramming and inline functions, etc.).

this post was submitted on 17 Jul 2023
522 points (97.6% liked)

Programmer Humor

29648 readers
942 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 2 years ago
MODERATORS