peterb

@peterb.mathstodon.xyz.ap.brid.gy

effort + coffee = software 🌉 bridged from ⁂ https://mathstodon.xyz/@peterb, follow @ap.brid.gy to interact

My most AI-booster coded opinion is that every compiler (yes, EVERY COMPILER) needs to ship with a small local ML model that runs whenever a compile fails and tells you what the syntax error in your code actually is instead of whatever useless bullshit the compiler's error message contains.

I'm in love with this "Centered dot as the value waiting to be applied" syntax. It's SO MUCH BETTER than "partially applied argument which comes in any color as long as it's the last argument"

incdec and centered dots

Lean 4 definitely has that FP "There's More Than One Way To Do It" thing that can sometimes be a virtue and can sometimes be a vice. (I'm normally Mr. Verbose Dude, but since there are hundreds of opcodes I will probably go for the terse variant here.)

3 different ways to write the pattern.

I'm not saying there aren't risks, but I am saying that in the 1980s there were tons of people who would loudly and angrily insist that if you didn't use a manual transmission you didn't really know how to drive, and they were wrong.

One completely irrational belief I have is that part of my brain absolutely judges banks and stockbrokers by the standard of "How soon after the end of the month is my statement available?" You're a bank! YOU HAVE ONE JOB.