Skip to content
DevMeme
3333 of 7590
Languages Post #3658 · source on Telegram

A Developer's 'Hello World' Playlist in C

Description

A clever meme showing a screenshot of a Spotify playlist titled '"Hello World" in C'. The playlist consists of six songs, and their titles, when read in order, form a syntactically correct (though simplified) 'Hello World' program in the C programming language. The song titles are: 1. 'Main', 2. '()', 3. '{', 4. 'Printf("Hello World!")', 5. ';', and 6. '}'. This is a highly creative joke that resonates with programmers, especially those with a background in C or other low-level languages. It merges the universal starting point of any coding journey ('Hello World') with the modern-day digital mixtape, the Spotify playlist. It's a niche, witty piece of content that appreciates the structure and syntax of code as a form of art

Comments

52
Anonymous ★ Top Pick The real test for a senior dev is to make a playlist that correctly includes `<stdio.h>`, handles the return type of main, and passes linting
  1. Anonymous ★ Top Pick

    The real test for a senior dev is to make a playlist that correctly includes `<stdio.h>`, handles the return type of main, and passes linting

  2. Anonymous

    Finally, a C project that ships with perfect dependency management - the only required library is Spotify.h

  3. Anonymous

    After 20 years of explaining to product managers that 'Hello World' isn't a shippable feature, we've finally found a way to monetize it - $9.99/month for Spotify Premium to listen to your first program compile without ads

  4. Anonymous

    When your Spotify Wrapped reveals you've been listening to the same 6-track program on repeat for 20 years - because let's be honest, we all started with `main()`, `printf("Hello World!")`, and a semicolon, and some of us never really left. At least this playlist compiles without warnings, which is more than I can say for most production code I've reviewed this quarter

  5. Anonymous

    Great playlist - just disable shuffle or you’ll invoke C’s favorite feature: undefined behavior

  6. Anonymous

    'Garbage Fashion': C's reminder that without GC, leaks are always on trend in prod

  7. Anonymous

    Cute orchestration, but without the '#include <stdio.h>' track and an 'int main(void)' remix, this compilation fails at link time - Printf goes platinum, return 0 charts, and the rest is undefined behavior

  8. @sashakity 4y

    no include stdio or int?

  9. @sashakity 4y

    or a return value

  10. @cringy_frog 4y

    IIRC the absence of int is not an error in C since it deduces int automatically

    1. @GaggiX 4y

      If I remember correctly it's still a warning on main if you -Wall

  11. @elhadjx 4y

    If you think abt what music is, just beats and u letting ur mind to go with it like a dumb animal

    1. @RiedleroD 4y

      btw most animals don't even like music. There has been some success with cats and dolphins, but nothing comparable to humans.

      1. @elhadjx 4y

        That was not the point

  12. @elhadjx 4y

    Music isn't a thing

  13. @elhadjx 4y

    More like a drug

    1. @RiedleroD 4y

      drugs are things, music is a concept.

      1. @elhadjx 4y

        One purpose

  14. @elhadjx 4y

    It's shame that u need to listen to stupid sounds that control ur mood

    1. @RiedleroD 4y

      nobody "needs" to listen to music, people want to do it - and the music can at most help you achieve the mood you wanted

      1. @elhadjx 4y

        True

  15. @elhadjx 4y

    Even ur moves

  16. @elhadjx 4y

    It's pointless

    1. @RiedleroD 4y

      most of what humans do is pointless in that sense, Mr. edgey

      1. @elhadjx 4y

        Most of humans are retards

        1. @RiedleroD 4y

          true, but I don't see the relation to music

          1. @elhadjx 4y

            Just compare people and you will see

            1. @RiedleroD 4y

              don't want to sound smart, but most good musicians had pretty high intelligence

              1. @elhadjx 4y

                Wasted one

                1. @RiedleroD 4y

                  is it really wasted when with it you boost the morale of other people?

  17. @elhadjx 4y

    But is it right to change ur mood or even need a help to change it

    1. @RiedleroD 4y

      yes

  18. @elhadjx 4y

    Would u want to listen to music to get a good mood after hearing for example that someone of ur family died ?

    1. @RiedleroD 4y

      bit of an extreme example, no? I don't think I'm qualified to answer this question because deaths don't really touch me the same way it does others, and I listen to music all the time

      1. @elhadjx 4y

        Again that is not the point

  19. @elhadjx 4y

    Mood reacts to ur reality

  20. @elhadjx 4y

    If u have a bad mood

  21. @elhadjx 4y

    Change reality

    1. @RiedleroD 4y

      that's not always possible

      1. @elhadjx 4y

        True, but face it if it's not possible

        1. @RiedleroD 4y

          can you just …accept the fact that it's easier to listen to music than to escape depression completely without any mood changer?

        2. @RiedleroD 4y

          and depression is far from the only thing you just can't change at all

        3. @RiedleroD 4y

          people won't magically become happy after accepting that they can't change something - usually quite the opposite.

          1. @elhadjx 4y

            Once the music ends, they'll get back to reality

  22. @elhadjx 4y

    Not the mood it self

  23. @elhadjx 4y

    I was listening to music everyday, it's been more than a year that i didn't listen to any, and since that i didn't get depressed, not like i was when i used to listen to music

    1. @RiedleroD 4y

      your main point is flawed - while I do think the subject of mind-altering substances is a tricky one, music isn't even close to being in the same league. Colors can also change your mood, will you stop seeing in colors to protect your fragile brain? Nonsense. The brain is a everchanging organ, and if you try to protect it from outside stimuli, it's going to get corrupted by the mere absence of stimuli.

  24. @elhadjx 4y

    Anyway dude that was a great chat

  25. @elhadjx 4y

    Have to go

    1. @RiedleroD 4y

      I respect that - though do respond to my other comment when you find the time please

  26. @elhadjx 4y

    Hopefully one day u will know what I'm trying to say

  27. @Stepan_Poznyak 4y

    Why just "main()", not "void main(void)"?

Use J and K for navigation