CoderSupreme@programming.dev to Programming@programming.dev · edit-226 days agoWhat are your favorite statically typed, compiled, memory safe programming languages?message-squaremessage-square121fedilinkarrow-up1114arrow-down16
arrow-up1108arrow-down1message-squareWhat are your favorite statically typed, compiled, memory safe programming languages?CoderSupreme@programming.dev to Programming@programming.dev · edit-226 days agomessage-square121fedilink
minus-squarexigoi@lemmy.sdf.orglinkfedilinkEnglisharrow-up3·25 days agoI’ve recently been trying to learn OCaml and find it really nice. The major pain points are C-style separate compilation with manually created headers Small standard library No generic print function Hard to use external libraries
minus-squareAbelianGrape@beehaw.orglinkfedilinkarrow-up1·24 days agoIs Printf.printf not a good generic print function? It’s even variadic!
minus-squarexigoi@lemmy.sdf.orglinkfedilinkEnglisharrow-up1·24 days agoWhen you want to print something, you can’t just Printf.printf x, you have to explicitly give it instructions on how to print a value of that specific type.
I’ve recently been trying to learn OCaml and find it really nice. The major pain points are
Is
Printf.printf
not a good generic print function? It’s even variadic!When you want to print something, you can’t just
Printf.printf x
, you have to explicitly give it instructions on how to print a value of that specific type.