LiamTheBox@lemmy.world to Greentext@sh.itjust.works · 2 年前Anon tries programming in Javalemmy.worldimagemessage-square246linkfedilinkarrow-up1889arrow-down136
arrow-up1853arrow-down1imageAnon tries programming in Javalemmy.worldLiamTheBox@lemmy.world to Greentext@sh.itjust.works · 2 年前message-square246linkfedilink
minus-squaredch82@lemmy.zipdeleted by creatorlinkfedilinkarrow-up12·2 年前C: #include <stdio.h> int main() { printf("Hello World!"); return(0); } EDIT: POSIX-compatible shell: echo "Hello World!"
minus-squarePushButton@lemmy.worldlinkfedilinkarrow-up4·2 年前Rust: Still fighting the burrito check fil er
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkarrow-up3·2 年前Python2 is only one character longer: print “Hello world!” And you get proper data types too.
minus-squaredch82@lemmy.zipdeleted by creatorlinkfedilinkarrow-up2·2 年前Shell 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 erPython2 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