develooper Front page | perl.perl5.porters | Postings from June 2022

A troubling thought - smartmatch reïmagined

Thread Next
From:
Paul "LeoNerd" Evans
Date:
June 25, 2022 20:13
Subject:
A troubling thought - smartmatch reïmagined
Message ID:
20220625211317.570782a9@shy.leonerd.org.uk
Preface: This is less a concrete idea, and more a rambling set of
  thoughts that lead me to a somewhat awkward place. I'm writing it out
  here in the hope that others can lend suggestions and ideas, and see
  if we can arrive at a better place.

This started off as a quick email, that turned into a long email, that
became a *very* long email that I eventually decided to turn into a
blog post.

For the full content, you can see

  https://leonerds-code.blogspot.com/2022/06/a-troubling-thought-smartmatch.html

but as a summary:

  I wonder if we're going about things the wrong way, regarding strings
  vs numbers, equality test operators, smartmatch, and a bunch of other
  ideas. Maybe - maybe - now that we can distinguish strings vs numbers
  a little better, there's a way we can make a single operator Do The
  Right Thing.

Comments welcome - on blog or replied here.

-- 
Paul "LeoNerd" Evans

leonerd@leonerd.org.uk      |  https://metacpan.org/author/PEVANS
http://www.leonerd.org.uk/  |  https://www.tindie.com/stores/leonerd/

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About