521
you are viewing a single comment's thread
view the rest of the comments
[-] ZILtoid1991@kbin.social 2 points 1 year 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
521 points (97.6% liked)

Programmer Humor

19551 readers
1023 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