• 0 Posts
  • 23 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle





  • "1" + 2 === "12" is not unique to JS (sans the requirement for the third equals sign), it’s a common feature of multiple strongly typed languages. imho it’s fine.

    EDIT: I did some testing:

    What it works in:

    • JS
    • TS
    • Java
    • C#
    • C++
    • Kotlin
    • Groovy
    • Scala
    • PowerShell

    What produces a number, instead of a string:

    • PHP
    • SQL
    • Perl
    • VB
    • Lua

    What it doesn’t work in:

    • R
    • C
    • Go
    • Swift
    • Rust
    • Python
    • Pascal
    • Ruby
    • Objective C
    • Julia
    • Fortran
    • Ada
    • Dart
    • D
    • Elixir

    And MATLAB appears to produce 51, wtf idk



  • So what’s the deal with GNU? When I first saw it, I was sure the G was silent, or formed a dipthong, like gnat or gnocchi or gnaw or gnarly or gnome or just any word starting with gn in English. But IRL, I’ve only heard it pronounced with a hard G, same with Gnome.




  • guy@lemmy.worldtoComic Strips@lemmy.worldXXX
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    8 months ago

    Time is weird. I’ve changed things up a lot in the past few years and I’m having much more fun. The few years before that seem like nothing. But now time is simultaneously so much faster (I guess more exciting, dragging less), yet so much longer (I guess many more unique memories).




  • Yeah although misinformation is recently on the rise, there is that overabundance of information, I still feel like we’re in perhaps the easiest era ever for verifying facts.

    In the past when I called bullshit on my friend’s factoids, there wasn’t much I could do unless I went to a library and maybe there’d be a book on it, and I’d have not much choice but to trust that book. I believed so much nonsense people told me before that I can look up and discuss on a global knowledge in my pocket now, albeit requiring skill to do properly though