okr765
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Ragdoll X@sh.itjust.works to Programmer Humor@programming.dev · 6 hours ago

Python vs. Java

sh.itjust.works

video
message-square
5
fedilink
57
video

Python vs. Java

sh.itjust.works

Ragdoll X@sh.itjust.works to Programmer Humor@programming.dev · 6 hours ago
message-square
5
fedilink
alert-triangle
You must log in or register to comment.
  • ChaoticNeutralCzech@feddit.org
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    4 hours ago

    If you use Voyager on Firefox on Android, the last half-second is missing so you don’t get the joke.

    This appears:

    public class Main {
        public static void main(String[] args) {
            System.out.println("Hello World!");
        } 
    }
    

    and the hamster jumps very high

  • thenextguy@lemmy.world
    link
    fedilink
    arrow-up
    19
    ·
    edit-2
    5 hours ago

    Actually… since around Java 21, it’s just

    void main() {
        println("Hello World");
    }
    

    https://blog.jetbrains.com/idea/2024/02/helloworld-and-main-meet-minimalistic/#class-‘helloworld-before-and-after-java-21

    • AudaciousArmadillo@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      2
      ·
      5 hours ago

      Beyond that, in reality you would write logger.info() in both 99% of the time.

  • lukalix98@programming.dev
    link
    fedilink
    arrow-up
    11
    ·
    5 hours ago

    Does python run on 3 billion devices?

    • marlowe221@lemmy.world
      link
      fedilink
      English
      arrow-up
      19
      ·
      edit-2
      5 hours ago

      At this point… yeah, probably so.

      I mean, assuming the env and dependencies aren’t totally fucked.

Programmer Humor@programming.dev

programmer_humor@programming.dev

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: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

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

  • 1.15K users / day
  • 3.97K users / week
  • 8.36K users / month
  • 17.9K users / 6 months
  • 1 local subscriber
  • 29.1K subscribers
  • 1.87K Posts
  • 62.8K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.9
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org