162 karma · joined September 3, 2012
With REST APIs (first few pages of the book), services talk directly with each other, with event sourcing (the rest of the book) services talk with an event store (Kafka in the book) as the intermediary.
So if you want to edit a file from inside a directory easily, you can do:
vim $(find | fzf)
I agree, but there's nothing to lose in trying to become a better communicator, you're not responsible for other people's sensitivity, but you are definitely in control of what and how you communicate.
> Can you describe the practical benefit?
Confidence that the code I'm writing does what it's supposed to. With the added benefit that I can easily add more tests if I'm not confident about some behaviors of the feature or easily add a test when a bug shows up.
> Do you happen to rewrite the tests completely while doing the implementation?
Not completely, depends on how you write your tests, I'm not testing each function individually, I'm testing behaviour, so unless there's a big architectural change or we need to change something drastic, the tests have minimal changes
> When does this approach work for you and when did it fail you?
It works better on layered architectures, when you can easily just test the business logic independently of the framework/glue code. It has failed me for exploratory work, that's the one scenario where I just prefer to write code and manually test it, since I don't know what I want it to do...yet
Pairing and mobbing are not fads, they've been around for a while and in my experience they've been very useful, I'd recommend you try it with someone with experience with it.
You can do great work by pairing or mobbing too. Being isolated is good, but it's harder to learn new things working by yourself.
- ls -> exa
- cat -> bat
- find -> fd
- top -> htop -> glances
- grep -> ack -> ag -> rg
- hr (to draw a horizontal line in your terminal)
A lightning talk about them: https://youtu.be/hp-1plTKOqc?t=551
You can disable it with `bat --paging never`
So, no, he won't change your mind about DRM because he is not in favour of it.
I mainly use them to replace scripts to run tests/linters/formatters/containers/etc
But we're all different, so, you could give it a try :).
Basically, sometimes it's not a choice.
Is this something that interests you? The project is private but I may open source it sooner.
Also, written in Python