Twitter | Search | |
Brandon Williams
Subterranean homesick mathematician. Previously . Working on Available for hire:
6,895
Tweets
512
Following
3,799
Followers
Tweets
Brandon Williams retweeted
Point-Free 14h
The Swift Package Manager makes it easy to create and run command line tools! Just 2 simple steps! To learn more, watch this week's 🆓 episode where we build a code generation tool using Swift Syntax.
Reply Retweet Like
Brandon Williams retweeted
Alejandro Martinez Apr 22
Replying to @pointfreeco
Of course the usage of swiftsyntax for this was highly inspired by recent episodes. The grand finale is free so go and watch it! Those tests that get checked by the compiler are pure gold 🤩 I need to try that!
Reply Retweet Like
Brandon Williams retweeted
Point-Free Apr 23
It’s very easy to create CLI tools with Swift Package Manager and integrate them into your projects. If you haven’t explored SPM much yet, you may be interested in this week’s 🆓 episode:
Reply Retweet Like
Brandon Williams retweeted
Francis Su Apr 22
Awww. What my student got me for guiding him in a reading course in algebraic ! Pillow is exact-ly what I long-ed for
Reply Retweet Like
Brandon Williams Apr 22
Replying to @anandabits
That would cause problems, but doesn’t happen when writing tests. Typically we have a fixture swift file in the test module, the test runs code gen on that fixture producing a snapshot (also in the test module), and then we can compile everything together to make sure it’s valid
Reply Retweet Like
Brandon Williams retweeted
Oscar Alvarez Apr 22
It’s getting hard to wait for a week for this great content! 😅 Thank you!
Reply Retweet Like
Brandon Williams Apr 22
This is an unexpected application of our snapshot testing library. Not only do we get broad test coverage on our code generation tool, but we also snapshot as .swift files, which means we can verify the output of the tool is valid Swift by just compiling the snapshots!
Reply Retweet Like
Brandon Williams retweeted
Francesco Cesarini Apr 20
It is with great sadness that I share news of Joe Armstrong's passing away earlier today. Whilst he may no longer be with us, his work has laid the foundation which will be used by generations to come. RIP , thank you for inspiring us all.
Reply Retweet Like
Brandon Williams Apr 19
I've been out of the country and without internet for two weeks, so I'm a little out of touch, but I hope everyone has been enjoying this series of episodes. Next week we kick it up a notch with a 🤯 application of snapshot testing!
Reply Retweet Like
Brandon Williams retweeted
Tamás Görbe 🇭🇺🇬🇧🇪🇺 Apr 18
Have you heard about the q-world? Many mathematical objects/results have q-analogs, parametrized by a quantity q, which reduce to the "classical" things in the limit q→1 For example, the q-analog of a nonnegative integer n is defined as the sum 1+q+q²+...+qⁿ⁻¹
Reply Retweet Like
Brandon Williams retweeted
Matt Diephouse Apr 6
I’m having a lot of fun with this right now. 🙂
Reply Retweet Like
Brandon Williams retweeted
Rafa Barberá Apr 4
Highly recommended!!!
Reply Retweet Like
Brandon Williams retweeted
Alejandro Martinez Apr 4
When you're trying to solve a problem and thanks to a solution pops on the back of your head. Yes, I wrote a contramap. What an elegant solution. 🤩
Reply Retweet Like
Brandon Williams retweeted
Point-Free Apr 5
Replying to @pointfreeco
The one problem with "enum properties": it's a lot of boilerplate to define them! Ideally the Swift compiler would synthesize them for us, but till then, we can take another avenue… Join us next week on that journey!
Reply Retweet Like
Brandon Williams retweeted
Point-Free Apr 5
By defining "enum properties" we give enums another superpower that is typically reserved for structs: key paths! We'll soon be able to use key paths to make property access even more succinct, so why should enums miss out on all the fun? Learn more:
Reply Retweet Like
Brandon Williams retweeted
Point-Free Apr 3
Swift structs play nicely in functional, map/filter pipelines, but enums are left in the dust: they lose out on nice syntax and require more boilerplate. We can recover struct ergonomics on enums, though, by defining "enum properties"! Learn more:
Reply Retweet Like
Brandon Williams Apr 1
Replying to @meghafon @TopologyFact
HA! Heck, the torus has a globally flat Riemannian metric so maybe all the flat earthers are really just donut earthers! 😅
Reply Retweet Like
Brandon Williams Mar 31
Merge conflicts, and frustrations with Xcode bugs. Like phantom files sticking around, and files being added to the wrong targets. Also, I’m fine with GUI applications. I use Android Studio for this kind of stuff and it works great.
Reply Retweet Like
Brandon Williams Mar 31
We only check it in for OSS libraries, and we do that for Carthage :/ I guess it’s possible to get around that with pre-built libs, but we haven’t looked into it much. For the Point-Free website () we do not check in the xcodeproj, and it’s wonderful.
Reply Retweet Like
Brandon Williams Mar 31
Just some make commands for running it manually, e.g. I could imagine at some point making CI fail if running xcodegen dirties the working tree too, but that hasn’t been necessary yet.
Reply Retweet Like