200 karma · joined Nov 16, 2015 (11y ago) · 45 submissions
comment 1y ago · link · parent
I recently reworked a CI pipeline over two weeks, and it was a nightmare to make tiny changes, push it, and wait 5-10 minutes to see another error because of a YAML typo.
If possible, I try to shorten this feedback loop early.
Another option is picking something radically different to work on for a while, if possible.
4.
Watermill 1.4 Released (Event-Driven Go Library)(threedots.tech ↗)
4 points · by m110 · 2y ago · discuss
comment 2y ago · link · parent
(I’m one of the authors.)
This project shows how to apply more complex patterns popular in business applications while staying true to the Go ideas, and not copying them blindly from Java.
In the Go community, you’ll often hear people say „just keep things simple” beats all patterns and is all you need. This may be true if you write a CLI tool or a small library, but if you have a team maintaining a big application, some patterns are super helpful.
comment 3y ago · link · parent
Here's a good summary, I think I'll link it in my post: https://ebitencookbook.vercel.app/blog/2022/04/16/TPS
comment 3y ago · link · parent
At GetHarley (https://www.getharley.com/) we build the first platform that combines technology, clinicians, knowledge and medical-grade products. We deliver personalised skincare plans which empower our patients to look and feel their best selves.
- Secured series B this year and are now looking for product-minded engineers to help us scale further
- You'll be joining a small product engineering team (6 people) where you will have a real impact
- Looking for people who own their work end-to-end and prefer being close to the product discussions
- The tech stack is Go and React (details in the links below)
Senior Backend Engineer: https://boards.eu.greenhouse.io/getharley/jobs/4209229101
Senior Frontend Engineer: https://boards.eu.greenhouse.io/getharley/jobs/4209222101
Senior Data Engineer: https://boards.eu.greenhouse.io/getharley/jobs/4222751101
comment 3y ago · link · parent
As mentioned in the other comment, the heavy lifting is done by Ebitengine: https://ebitengine.org/en/documents/webassembly.html
Go supports compiling to wasm, and it's as simple as:
GOOS=js GOARCH=wasm go build -o web/game.wasm
It takes just a few seconds for this project. :)comment 3y ago · link · parent
Thinking about what would be the most efficient engine for the game would kill all the fun for me and the project wouldn't exist. :)
15.
Show HN: I made a 2D shoot 'em up game with Go, using Entity Component System(github.com ↗)
108 points · by m110 · 3y ago · 26 comments
comment 5y ago · link · parent
DDD is absolutely not about factories or dependency injection. It seems like you mix up Java with OOP design patterns and DDD and treat them all like the same thing. They’re not.
comment 5y ago · link · parent
It’s easy to say „just write simple code”, but how do you do it? It’s not an advice someone can follow. Complex domains have many challenges where having patterns helps.
comment 5y ago · link · parent
I don't really agree with this. I would say most of the patterns are quite useful in majority of business applications. Unless you're dealing with trivial domains, but I believe it's not that common.
Describing the book's content as DDD/CQRS is too specific, as we touch on many different patterns.
comment 5y ago · link · parent
comment 5y ago · link · parent
I think the advantage of sticking to a specific "architecture" pattern is you don't waste time discussing where to put what, you just agree to one way and do it.
comment 5y ago · link · parent
For CRUD-y apps, you usually wouldn't need the DDD patterns at all, as there's no complex business logic to model.
> the parts where the complexity would be worth it are often already done for you by the libraries/frameworks used.
I'm really confused about this. The most complexity comes from complex business scenarios you need to handle somehow in code. No framework is flexible enough to do it for you. Using DDD, you would keep a "pure" layer of domain code that does just that.
comment 5y ago · link · parent