Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 18
  1. I Am Not a Functional Programmer

    Despite rumors to the contrary, I am not actually a functional programmer.

  2. Note: this is a "script" for a podcast that I recently recorded, as such it's more conversational and less technical than the usual content of this blog.

  3. "What's the point of learning functional programming?"

  4. Pretty Symlinking with Home Manager

    I have a confession to make.

  5. If you're in the rare intersection of people that use NixOS and custom keyboard layouts, this post is for you.

  6. We seem to be living in the future.

  7. Make Illegal AI Edits Unrepresentable

    This post is also available in video form: These are strange times we're living in.

  8. First Make It Correct

    Way back in December, in the spirit of the times (it seems that everyone was either solving Advent of Code or looking for a job), like an elephant in a china shop, I found myself solving a leetcode-style problem.

  9. Given this class: case class User( id: UserId, email: Option[Email], address: Option[Address], posts: Option[List[Post]], lastLogin: Option[Timestamp]) What does Option on each of the fields actually means?

  10. I've recently stumbled upon a post on Scala Contributors by Kit Langton describing how he managed to create the illusion of adding automatically derived (publicly visible) members to a companion of a class.

  11. The Tip The Scala collections library defines an Iterator trait.

  12. The Problem Imagine that you're building an app and somewhere in your code you write something like this: class DoFinanceStuff(cc: CreditCardService): def grabClientMoney(card: CardData) = val amount = // ... // ...

  13. Welcome back to yet another episode of test purification.

  14. ANY Overloading Considered Evil

    This is not just clickbait, I really do mean that ANY form overloading in programming should be considered evil.

  15. In the last part we saw how to make our code more declarative, and the tests more functional by introducing type parameters for the inner data flowing through our code.

  16. In the last part we learned how to purify our tests using type parameters.

  17. Purify Your Tests

    Here's a fun little trick to purify your tests.

  18. Recently, I've been TA-ing on an introduction to functional programming course, using Haskell.