@LiamTheBox@lemmy.world to Greentext@sh.itjust.works • 15 days agoAnon tries programming in Javalemmy.worldimagemessage-square249fedilinkarrow-up1873arrow-down135
arrow-up1838arrow-down1imageAnon tries programming in Javalemmy.world@LiamTheBox@lemmy.world to Greentext@sh.itjust.works • 15 days agomessage-square249fedilink
minus-square@dch82@lemmy.ziplinkfedilink12•edit-214 days agoC: #include <stdio.h> int main() { printf("Hello World!"); return(0); } EDIT: POSIX-compatible shell: echo "Hello World!"
minus-square@PushButton@lemmy.worldlinkfedilink4•13 days agoRust: Still fighting the burrito check fil er
minus-square@sugar_in_your_tea@sh.itjust.workslinkfedilink3•edit-214 days agoPython2 is only one character longer: print “Hello world!” And you get proper data types too.
minus-square@dch82@lemmy.ziplinkfedilink2•14 days agoShell is only meant for duct tape scripts, you know to tie two regular compiled programs together
C:
#include <stdio.h> int main() { printf("Hello World!"); return(0); }
EDIT: POSIX-compatible shell:
echo "Hello World!"
PHP:
Rust:
Still fighting the burrito check fil er
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