@[email protected] to [email protected] • 7 months agoAnon tries programming in Javalemmy.worldimagemessage-square242fedilinkarrow-up1890
arrow-up1890imageAnon tries programming in Javalemmy.world@[email protected] to [email protected] • 7 months agomessage-square242fedilink
minus-squaredch82linkfedilink12•edit-27 months agoC: #include <stdio.h> int main() { printf("Hello World!"); return(0); } EDIT: POSIX-compatible shell: echo "Hello World!"
minus-square@[email protected]linkfedilink3•edit-27 months agoPython2 is only one character longer: print “Hello world!” And you get proper data types too.
minus-squaredch82linkfedilink2•7 months agoShell is only meant for duct tape scripts, you know to tie two regular compiled programs together
minus-square@[email protected]linkfedilink4•7 months agoRust: Still fighting the burrito check fil er
Python:
C:
EDIT: POSIX-compatible shell:
Python2 is only one character longer:
And you get proper data types too.
Shell is only meant for duct tape scripts, you know to tie two regular compiled programs together
PHP:
Rust: