• 0 Posts
  • 9 Comments
Joined 3 years ago
cake
Cake day: March 25th, 2022

help-circle






  • I’ve been wondering why not window.chrome == true or Boolean(window.chrome), but it turns out that the former doesn’t work and that == has essentially no use unless you remember some completely arbitrary rules, and that JS developers would complain that the latter is too long given the fact that I’ve seen javascript code using !0 for true and !1 for false, instead of just true and false because they can save 2 to 3 characters that way.



  • Faresh@lemmy.mltoLemmy Shitpost@lemmy.worldResume help
    link
    fedilink
    English
    arrow-up
    1
    ·
    23 days ago

    This sounds a lot like me. Whether I have ADHD is something I’ve been wondering for some time now, but the descriptions of ADHD are always so conflicting to me, because every symptom can be taken as a evidence or counterevidence by changing perspective, partly because of this duality you described.