LiamTheBox@lemmy.world to Greentext@sh.itjust.works · 1 day agoAnon tries programming in Javalemmy.worldimagemessage-square217fedilinkarrow-up1774arrow-down131
arrow-up1743arrow-down1imageAnon tries programming in Javalemmy.worldLiamTheBox@lemmy.world to Greentext@sh.itjust.works · 1 day agomessage-square217fedilink
minus-squaredch82@lemmy.ziplinkfedilinkarrow-up8·edit-27 hours agoC: #include <stdio.h> int main() { printf("Hello World!"); return(0); } EDIT: POSIX-compatible shell: echo "Hello World!"
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkarrow-up2·edit-27 hours agoPython2 is only one character longer: print “Hello world!” And you get proper data types too.
minus-squaredch82@lemmy.ziplinkfedilinkarrow-up2·6 hours 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!"
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