
Hackle Wayne
@hacklew
Followers
153
Following
1K
Media
55
Statuses
590
Experienced OO programmer turned functional advocate. workshops, conferences, blog, thoughts and rant
Joined July 2012
Newly blogged: .Your Generics may be different than mine!.types, strong intuitions and dark magic.
hacklewayne.com
"Generics", what does it mean?
0
0
6
Newly blogged: Constructive code - an aimless exploration . Stigma, absolutism, colourfulness, constraints, factories - everything constructor.
hacklewayne.com
There is deplorable stigma around constructors: using new is bad. Always use a builder or factory methods.
0
0
0
If you want an electrician, don't hire the entire construction team. Because the #1 rule of dependency management: "Depend only on what's needed". It's simple, and your favourite IoC container mostly likely breaks it. Just blogged
hacklewayne.com
If you want an electrician, don't hire the entire construction team.
1
1
3
Blogging again after months:.A Square IS A Rectangle - If Designed Correctly!
hacklewayne.com
An age-old example from Object-Oriented literature for the classic Liskov Substitution Principle is the much acclaimed "A square is not a rectangle".
1
0
2
Blogged: ‘extends’ in TypeScript: inheritance, upper bounds, conditional, distributive and variance #typescript.
hacklewayne.com
The keyword extends seems to be a big source of confusion for many TypeScript users. It's used for inheritance, generics upper bounds, conditional types - which feature the most confusing of all,...
0
1
5
This is amazing stuff!.Check out Type Families in Haskell: The Definitive Guide by @serokell
serokell.io
Learn about type families, one of the most powerful type-level programming features in Haskell.
0
7
22
If you get monads, but not yet the State monad, this one is for you!.". it brings non-local states, it encodes a function, and often appears to be dark magic.".[blogged] State Monad: a bit of currying goes a long way ..#Haskell.
hacklewayne.com
A friend asked me about the State Monad. He enjoyed a honey-moon with Monads such as Maybe, List and Either, but State appears to be next-level. It brings non-local states, it encodes a function, and...
2
2
13
Convenience Driven Development: A story of two exceptions .
hacklewayne.com
Some people say developers would go to incredible lengths to avoid passing an argument. This slightly altered version is no less true: language designers would go to incredible lengths to "help" us...
0
0
0
Blogged: Convenience Driven Development: the Grandfather Paradox and Equality
hacklewayne.com
Every time somebody raves about how cool the "grandfather paradox" is, I cannot hide my contempt. Come on, we programmers have had this figured out for ages, and it's all cookie talk.
0
0
2
Fine intro to Quinary numbers and balanced ternary numbers after some hand-rolled solution. "Full of Hot Air" - Day 25 - Advent of Code 2022 .Many thanks to @ericwastl for the amazing #AdventOfCode. #Haskell
0
0
0
Much less stress knowing there won't be a new puzzle with every passing day 🤓.I just completed "Unstable Diffusion" - Day 23 - Advent of Code 2022 #AdventOfCode #Haskell
0
0
3
It’s Composition over Aggregation, not just inheritance! .Freshly blogged
hacklewayne.com
One thing I love about category theory literature is the line of reasoning through "factorisation".
1
2
3
Not to forget a bit of controversy! Most enjoyable for the inquisitive, creative and thoughtful🤜🤛.
Sign up for @hacklew 2-day, hands-on, minds-on and conversations-on #workshop on #application #architecture and #code #design, this year at #NDCOslo #2023! #Earlybird offer ends Friday, February 17!.
0
0
2
Folding a 6-faced paper box is just as interesting the puzzle itself, so I saved for much later. and IT IS FUN! ."Monkey Map" - Day 22 - Advent of Code 2022 #AdventOfCode #Haskell
0
0
1
Just blogged: Libraries should not provide interfaces for Dependency Injection - and stop asking (and this may not be a very good question to ask.)
hacklewayne.com
A question many C# programmers ask is "why isn't this library providing interfaces for dependency injection?"
0
0
1
Relatively straightforward for #haskell maybe because parsing and evaluating expressions is one of the canonical examples? ."Monkey Math" - Day 21 - Advent of Code 2022 #AdventOfCode . Note: "lave" is the reverse of "eval".
1
0
3