Twitter | Search | |
Brandon Williams
Subterranean homesick mathematician. Previously . Working on Available for hire:
5,864
Tweets
447
Following
3,237
Followers
Tweets
Brandon Williams retweeted
Keita Ito 20h
Functions and composition FTW Episode #1: Functions
Reply Retweet Like
Brandon Williams 5h
Replying to @dhh
This is precisely why we open sourced the iOS and Android apps at Kickstarter
Reply Retweet Like
Brandon Williams 10h
Thanks! That's what we like to hear!
Reply Retweet Like
Brandon Williams retweeted
Yasuhiro Inami 22h
Really liked the part that URLSession's completionHandler can be expressed as massive sums of products 😂 but can be reduced to simple Result<T, E> ✨ (not Result<T> BTW!)
Reply Retweet Like
Brandon Williams 11h
Replying to @mbrandonw
We also answer the very important existential question: what is the sum/product of an empty array of integers. 🤔
Reply Retweet Like
Brandon Williams 11h
Replying to @mbrandonw
At the end of the episode we show how to apply algebra to understand why a very popular Foundation API allows for far too many invalid states than necessary.
Reply Retweet Like
Brandon Williams 11h
This week’s episode covers one of my favorite subjects: algebraic data types. We can only cover a small part in 30 mins, there’s so much more left to cover.
Reply Retweet Like
Brandon Williams 22h
Replying to @jasdev @pointfreeco
Thanks man! Yeah the plan was to do the whole thing but quickly realized there was no way.
Reply Retweet Like
Brandon Williams 22h
Replying to @jasdev @pointfreeco
Was kinda surprising to me how little we could cover in 30 mins. Didn’t even get to functions.
Reply Retweet Like
Brandon Williams 23h
There are also languages with type features that allow you to create lightweight enums without doing something as heavy as creating a whole new type, see "polymorphic variants" in ocaml and purescript... In the presence of those features I would not advocate for using `nil`.
Reply Retweet Like
Brandon Williams 23h
I am not arguing strongly for to always use `nil` in such ways, but I *am* arguing strongly for having a few simple ideas that compose well. I do believe that many times a simple `A?` will get you quite far.
Reply Retweet Like
Brandon Williams 23h
The problems you encounter in that article are specifically because of a bad API, so hard to come to conclusions from it. Also, what if `nil` wasn't even a thing in Swift and instead you had to do `(withAnimation: .none)`. Now it reads better.
Reply Retweet Like
Brandon Williams retweeted
The_Wisest_of_Fools Feb 19
Is seriously the coolest shit. I'm only on the second episode, but my mind is getting blown by a new thing every other minute. I finally understand why functional programming is a thing! PS: I won't be shoehorning |> into our codebase. You're welcome coworkers.
Reply Retweet Like
Brandon Williams retweeted
Eitan Chatav Feb 19
What if I told you this was categorified algebra?
Reply Retweet Like
Brandon Williams 23h
Replying to @echatav
You gotta keep up!
Reply Retweet Like
Brandon Williams retweeted
Point-Free Feb 19
Today’s episode explores the deep relationship between the Swift type system and algebra. This is only the tip of the iceberg y’all!
Reply Retweet Like
Brandon Williams retweeted
Jasdev Singh Feb 19
MAKE SOME NOISE FOR ALGEBRA *airhorns*
Reply Retweet Like
Brandon Williams retweeted
Alberto Moral Feb 17
Episode #3: UIKit Styling with Functions
Reply Retweet Like
Brandon Williams Feb 16
Replying to @mrkgrnao
Lol whoops
Reply Retweet Like
Brandon Williams Feb 16
Replying to @mrkgrnao @echatav
and I have talked about this quite a bit. we didn’t experience any of the weirdness in academia that we see in tech :/ lots of overpowering, strong opinions and navel grazing.
Reply Retweet Like