• 0 Posts
  • 13 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


  • Exactly. When I was clean shaven, it was easy, I could just hold the shaver against the contours of my face.

    Now, with a large beard, I only need to shave every one or two weeks, but it takes much longer to do so and is much trickier. I’ve got to sculpt and shape a mound of hair manually. And every day I still brush and oil it.

    Clean or short shaven was actually less effort.





  • guy@lemmy.worldtoComic Strips@lemmy.worldXXX
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    6 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