Discussion
Loading...

Discussion

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
d@nny disc@ mc²
@hipsterelectron@circumstances.run  ·  activity timestamp 5 days ago

i HATE truthiness

  • Copy link
  • Flag this post
  • Block
d@nny disc@ mc²
@hipsterelectron@circumstances.run replied  ·  activity timestamp 5 days ago

i remember a remark from someone i adore about writing python that looks like scala and it was an astute observation except that i don't write scala anymore and it's because python does not give you the tools to avoid very subtle mistakes

  • Copy link
  • Flag this comment
  • Block
amy tech (bones)
@amy@spookygirl.boo replied  ·  activity timestamp 5 days ago

@hipsterelectron@circumstances.run my favorite example of truthiness is in Perl 0e0 will evaluate to true in string-y contexts and false in numeric contexts.

  • Copy link
  • Flag this comment
  • Block
ionchy :meowcowboy:
@ionchy@types.pl replied  ·  activity timestamp 5 days ago

@hipsterelectron racket's is the only good version of it imo. everything is truthy except for #f, which is the only falsey value

  • Copy link
  • Flag this comment
  • Block
Allan Chow
@grumpasaurus@infosec.exchange replied  ·  activity timestamp 5 days ago

@hipsterelectron that doesn't make me feel good. You love truthiness from now on

  • Copy link
  • Flag this comment
  • Block
ten million explosions
@dragon@lesbian.solutions replied  ·  activity timestamp 5 days ago

@hipsterelectron I LOVE truthiness!!! What's wrong with it??

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.21 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login