lol thanks!
You can't fix what you don't know is flawed or not.
Yep, this is the point. I spend more time thinking about this stuff than anything else. Emptying this slide deck is practically the whole job.
You definitely don't need typescript (strongly typed languages are FUN, much more than they are actually useful, when you actually know JS well enough), or microservices (why would you need that, total unnecessary complexity. connection pooling on your postgres will be perfectly adequate, and you can just make it a JAMstack behind a CDN if you really need performance and SEO. I highly recommend redwoodjs). You definitely don't need websockets (websockets do not scale. One open per user. And why? Do not use websockets).
You definitely need tests, in fact you need CI with github actions. And you should update your README.md and provide a script for simple local dev startup.
Imo:)
reply
You definitely need tests, in fact you need CI with github actions. And you should update your README.md and provide a script for simple local dev startup.
We have plans to add tests around the money stuff (and anything sensitive). I'm pretty against testing things for the sake of testing though.
We have a local dev setup via docker-compose or do you mean something easier?
reply
You're right you have a solid local environment start guide. The favourite ones I've seen though are ones where they provide a single bash script that does everything.
Here's my favourite example of a CONTRIBUTING.md, think that's where I got it from: https://github.com/josephholsten/boring/blob/master/CONTRIBUTING.md
reply
Solid rec. Thanks!
reply
I agree (in general) tbh. It's why I said industry experts which is kind of a way of saying people who might favor unnecessary complexity and disapprove.
reply
strongly typed languages are FUN, much more than they are actually useful
lol no
reply
Hey I heard you in a podcast recently, im a fan! But yes they are. It's fun for a developer to get code-hints and "not have to worry about runtime errors" but if you already know JS, introducing typescript is just going to make your project bloated. I know this is a very unpopular opinion in programming, because programmers love playing word-games, love thinking about type and data. I love it too. But react with typescript is ugh.
reply
Appreciate it.
But no, that's how bugs happened. Especially when you're going into it like "I know js well enough, I won't have bugs".
Like numbers changing their types because a js library decided to swap what it returns. That's how you lose money.
reply
Like numbers changing their types because a js library decided to swap what it returns. That's how you lose money.
What kind of butthead would make that kind of mistake though. 🙈
reply
This is what tests are for.
reply