Lemmy Fans
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
LiamTheBox@lemmy.world to Greentext@sh.itjust.works · 6 months ago

Anon tries programming in Java

lemmy.world

external-link
message-square
246
link
fedilink
849
external-link

Anon tries programming in Java

lemmy.world

LiamTheBox@lemmy.world to Greentext@sh.itjust.works · 6 months ago
message-square
246
link
fedilink
  • sugar_in_your_tea@sh.itjust.works
    link
    fedilink
    arrow-up
    18
    arrow-down
    1
    ·
    edit-2
    6 months ago

    Python:

    print("Hello world!")
    
    • dch82@lemmy.zip
      link
      fedilink
      arrow-up
      12
      ·
      edit-2
      6 months ago

      C:

      #include <stdio.h>
      
      int main() {
          printf("Hello World!");
          return(0);
      }
      

      EDIT: POSIX-compatible shell:

      echo "Hello World!"
      
      • derpgon@programming.dev
        link
        fedilink
        arrow-up
        5
        ·
        6 months ago

        PHP:

        Hello World!
        
        • PushButton@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          6 months ago

          Rust:

          Still fighting the burrito check fil er
          
      • sugar_in_your_tea@sh.itjust.works
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        6 months ago

        Python2 is only one character longer:

        print “Hello world!”

        And you get proper data types too.

        • dch82@lemmy.zip
          link
          fedilink
          arrow-up
          2
          ·
          6 months ago

          Shell is only meant for duct tape scripts, you know to tie two regular compiled programs together

Greentext@sh.itjust.works

greentext@sh.itjust.works

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

This is a place to share greentexts and witness the confounding life of Anon. If you’re new to the Greentext community, think of it as a sort of zoo with Anon as the main attraction.

Be warned:

  • Anon is often crazy.
  • Anon is often depressed.
  • Anon frequently shares thoughts that are immature, offensive, or incomprehensible.

If you find yourself getting angry (or god forbid, agreeing) with something Anon has said, you might be doing it wrong.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 438 users / day
  • 3.18K users / week
  • 6.87K users / month
  • 17K users / 6 months
  • 2 local subscribers
  • 6.22K subscribers
  • 1.39K Posts
  • 55.6K Comments
  • Modlog
  • mods:
  • 🍹Early to RISA 🧉@sh.itjust.works
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org