CoderSupreme@programming.dev to Programming@programming.dev · edit-21 month agoWhat are your favorite statically typed, compiled, memory safe programming languages?message-squaremessage-square117fedilinkarrow-up1110arrow-down16
arrow-up1104arrow-down1message-squareWhat are your favorite statically typed, compiled, memory safe programming languages?CoderSupreme@programming.dev to Programming@programming.dev · edit-21 month agomessage-square117fedilink
minus-squarexigoi@lemmy.sdf.orglinkfedilinkEnglisharrow-up3·1 month 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·1 month agoIs Printf.printf not a good generic print function? It’s even variadic!
minus-squarexigoi@lemmy.sdf.orglinkfedilinkEnglisharrow-up1·1 month 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.