@kenbot@hachyderm.io Profile picture
Apr 5, 2018 3 tweets 1 min read Read on X
Why? Although concise, it requires in-the-know lore. What does "fold" mean? Which order are the params in? Why 2 arg lists? A pattern match _is_ a fold/catamorphism, it's just easier to read. In a team env, it's a no-brainer #scala
At work, we settled on pattern matching as "the" way to resolve an Option like 5 years ago, and nobody has wasted a single brain cycle on it since.
Beginners get a bit bamboozled by this sort of advice, and worry about whether they are "functional enough", which apparently involves using the most obscure available option for any particular use case.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with @kenbot@hachyderm.io

@kenbot@hachyderm.io Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @KenScambler

Sep 30, 2020
🧵There's been a bit of an elephant in the room for Aussie FP community organisers the last couple of years. I thought it would be fun to share and compare notes.

The root of the "problem" is that functional programming won! /1
Almost every popular language has had FP features grafted on by popular demand, and in new languages functions-as-value, records, immutability, sum types and pattern matching are fast becoming de rigeur. Tutorials for react.js, expound the benefits of immutability at length. /2
More and more, the biggest source of new attendees for FP events are people who come across these ideas in mainstream languages, and want to see what the fuss is about. Ruby, JS, Java, C#, C++, Python devs. They're using FP at work every day now, in various degrees. /3
Read 12 tweets
Dec 12, 2019
Lee Cameron is telling the truth, listen to this man. Every dependency has a cost. #YOW19 Image
I've said some similar things, like in my bruising (in a good way!) @melbjvm talks such as
I want to bottle Lee's talk and pour it over every team I've ever worked in #YOW19
Read 5 tweets
Dec 11, 2019
There are so many good talks & speakers at #yow19 - Melbourne, you're in for a treat.
My favourite is @sabinehauert's keynote "Swarm engineering across scales: from robots to nanomedicines".

Fascinating, credible, authoritative, cutting-edge and still very accessible & engaging #yow19
There's a 10 year old boy inside me that's been waiting 28 years for this talk. He wasn't disappointed
Read 4 tweets
Nov 4, 2019
Of the crop of food-delivery businesses popping up, the most fascinating by far is EASI, aka 墨尔本送餐 - I'd love to see a newspaper profile on them. Image
In 2014 or so, they launched ~exclusively to the Chinese community~ in Melbourne - a bold choice in Oz perhaps, and testament to the Ch community's size & prosperity. Their yellow motorbikes were everywhere, marked only 墨尔本送餐 (Mò​'ěr​běn sòng​cān, "Melbourne Food Delivery") Image
Even their website was Chinese-only: melbsc.com.au, and inscrutable yellow 墨尔本送餐 posters - could be seen on Asian restaurants all around the city. ("First delivery free"!)
Read 7 tweets
Jun 13, 2019
My maths metal band name: Abuse Of Notation 🤘
Monstrous Moonshine 🤘
Fascist Functor 🤘
Read 14 tweets
May 20, 2019
"Arabic numerals", as a historical way of referring to our number system is only ever used when comparing it to, say, Roman numerals. Which is to say, once in 12 years of formal schooling.

It's easy to imagine a reasonable, educated, non-racist forgetting this
A reasonable, educated person might also take "Arabic numerals" to mean ۱,۲,۳..., which might have a bunch of non-racist reasons to teach or not teach in a US school.
No doubt there's a bunch of legitimate racism there too. Still. Plenty of stuff to whack America about without this self-righteous backslappy hi-fivery about obscure factoids
Read 4 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(