you are viewing a single comment's thread
view the rest of the comments
[–] 35 points 7 months ago (10 children)

Here are some of the missing pixels:
code poetry dress

  • source
  • hideshow 10 child comments
  • [–] 20 points 7 months ago (2 children)

    Typical boring useless shit code. Using bad variable names, and in the end you just say "look, I can count to 10".

    Before sorting: 8 6 1 10 5 9 3 2 4 7 Does it have a meaning? I don't think so.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 9 points 7 months ago (1 child)

    int personality = sizeof(goals);

    Feels a bit simplified to me.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 7 points 7 months ago*

    You are correct, that is simplified. The whole line is

    int personality = sizeof(goals) / sizeof(goals[0]);
    

    To get the length of an array in C, it's necessary to divide its memory footprint by the size of a single element!

    BTW you can see what appears to be ASCII in the background of that image. You can decode it if you're bored.

  • source
  • parent
  • [–] 7 points 7 months ago (3 children)

    Oof, this would genuinely make me like someone less. Like, it's great that you like nerd stuff but that's just bullshit...

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 7 months ago* (last edited 7 months ago)

    So much "nerd" paraphernalia is BS... This one is ridiculous (one doesn't get to "be a programmer" by sorting and collecting 10 personality traits as if they're goals or achievements) but at least it shows varied syntax in the C language: the number of unique keywords is very high.

    To show you're a nerd, don't go with obvious "look, this is what I am" but use dogwhistles (Conway's Game of Life or fractals can look like knitting patterns) or to be obvious, some things you personally like or made. Badge with your distro's logo or mascot, code you actually wrote or its output, wearable blinkenlights project... Just be more focused on your interests than yourself.

  • source
  • parent