LiamTheBox@lemmy.world to Greentext@sh.itjust.works · 1 month agoAnon tries programming in Javalemmy.worldimagemessage-square240fedilinkarrow-up1877arrow-down135
arrow-up1842arrow-down1imageAnon tries programming in Javalemmy.worldLiamTheBox@lemmy.world to Greentext@sh.itjust.works · 1 month agomessage-square240fedilink
minus-squaredch82linkfedilinkarrow-up12·edit-21 month agoC: #include <stdio.h> int main() { printf("Hello World!"); return(0); } EDIT: POSIX-compatible shell: echo "Hello World!"
minus-squarePushButton@lemmy.worldlinkfedilinkarrow-up4·1 month agoRust: Still fighting the burrito check fil er
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkarrow-up3·edit-21 month agoPython2 is only one character longer: print “Hello world!” And you get proper data types too.
minus-squaredch82linkfedilinkarrow-up2·1 month 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