52

When writing a JavaScript guide, please don't use emojis as keys in objects. Or anywhere else in code. Zoomers will think it's common practice.

Just because you can, doesn't mean you should.

Sincerely,
everyone

Comments
  • 12
    Also, don’t do this in any other language.
  • 20
    when writing a javascript guide, please start it with "i recommend using ANY other language instead".

    just because you can use JS, doesn't mean you should.
  • 5
    @tosensei But that is why nodejs was created. Now you can just slap JS everywhere, front-end, back-end, even use electron to create desktop app in javascript.
  • 11
    @Grumm and that's why the people who created nodeJS deserve to be punished.

    they've doomed us all! DOOOOOOOMED!
  • 6
    @tosensei First chapter of the JavaScript guide:

    Don’t use JavaScript.
  • 8
    because it ends up looking like this

    https://devhumor.com/content/...
  • 2
    Pretty sure there a language that only uses emojis.

    ....

    Now I have to check.
  • 7
  • 1
    Every Javascript guide should just make you use typescript tbh
  • 1
    @C0D4 damn I was just about to include this lmao
  • 0
    @C0D4 there is even a default font in Photoshop too... How wonderful !

    https://imgur.com/52LUyNO
  • 1
    @tosensei they deserve a special place in hell! Never once I thought of this when I was coding UI manipulation in front end: "Oh this is a very cool language. I want to use it for making REST API, accessing database and serving HTML as a web server!"

    Honestly, most of JS' built in function and properties are too mouthful and inconsistent; and the way it treats classes and arrays are questionable. Also, as a weakly typed language, and interpreted language, it runs slow.
  • 2
    zoomers are doomed anyway seeing how they think cryptography, which has been a thing basically since the early 1900s, is the future.

    Oh I forgot the buzzword: blockchain
  • 0
    @daniel-wu "also as a <slow> and <slow> language, it runs slow."

    Yes, that is my only comment, the others are true.
  • 2
    @fullstackclown that is true for a lot of stuff.

    Machine learning ? Was already a thing in the 80's too.

    Nothing we see now is new except NodeJS but who was waiting for that ? xD
  • 2
    @Grumm one trend in particular is indeed new:

    The advancements in high level programming languages have led to declarative DSLs that are perfectly suitable for UI and configuration files.

    Where in the past we have been using XML, HTML, json, yaml for that.

    So we have type checked UI, queries (like SQL), expressions (like regex), configurations (like project files), …
  • 0
    @C0D4 wait this thing exist?
  • 2
  • 3
    @johnmelodyme unfortunately yes
  • 2
    @thebiochemic oh sheeeeeeeeeeeeeeeeeet
  • 0
    I can't believe this is real.

    It's like they *want* to screw with us.
  • 1
    var 😀 = true;
  • 0
    @kwilliams Why is this not possible yet !?
  • 1
    @Grumm this is possible in quite a few languages.

    Unfortunately.
  • 1
    @thebiochemic Uhmm guess I didn't use those languages. Just tested in C# and it is lukcly not possible.
  • 1
    @Grumm just... don't, please.
    But if you really want to, i guess the first example was C++, python with pythonji and another one is rust i think.

    If you do, Get Help.
Add Comment