@[email protected] to [email protected] • 6 months agoAnon tries programming in Javalemmy.worldimagemessage-square247fedilinkarrow-up1889
arrow-up1889imageAnon tries programming in Javalemmy.world@[email protected] to [email protected] • 6 months agomessage-square247fedilink
minus-squaredch82linkfedilink12•edit-26 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-26 months agoPython2 is only one character longer: print “Hello world!” And you get proper data types too.
minus-squaredch82linkfedilink2•6 months agoShell is only meant for duct tape scripts, you know to tie two regular compiled programs together
minus-square@[email protected]linkfedilink4•6 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: