53 karma · joined Jul 29, 2021 (5y ago) · 28 submissions
comment 1y ago · link · parent
Also, as you experienced, you can implement new "language restrictions" using zod or new lint rules. Making your project more resilient to version updates and creating your "language superset" that can growth with you.
comment 2y ago · link · parent
It’s a return to the old easy times.
However, many times I only use a small subset of it.
I recommend to begin with small steps and increasing the complexity a little bit on each one before being crazy applying ALL for a “to-do” app: pure html, htmz (a tricky way, TAKE A LOOK), htmx and react or whatever.
Finally, I also recommend to follow htmx in Twitter, you will laugh a lot.
comment 2y ago · link · parent
I don’t like the windows register and some of its issues derived of retrocompatibility. Also, many of its defaults for directories or “system hidden files”.
comment 3y ago · link · parent
React and others are simply a tool to pass the logic to the client. Useful in situations like apps that can run almost completely without the server or it can manage the offline situations.
All the related tools are only optional things to improve something: • transpilation for older browsers • talwindcss to manage the styles -if you are a lot of people- • redux or others to manage the application state
For other kind of applications, you can continue using the same pattern where the server has the main responsibility of generating the entire view.
In my case, I’m quite happy using htmx and avoiding frontend frameworks because usually I don’t develop offline apps.
comment 3y ago · link · parent
Or start new projects for your own curiosity. I implemented a cache policy recently and I learned -tried- to develop different parts of an OS.
comment 4y ago · link · parent
When you are making some personal software, in general you know how it works, the problem is when you use external tools.
Many times I had errors due to optional params in a constructor to capitalize or not capitalize the keys.
Also, typescript helps you documenting the code “without” documenting, only looking for what types are passed.
comment 4y ago · link · parent
The main cons that you can find are the sync work between teams ( here is the hard work, if you separate in little pieces you can cause that teams need more sync effort ) and devops effort.
comment 4y ago · link · parent
Many code is slow due to it has a couple of wrong implementations, such as rendering or make something heavy all the time when you have to do it only one time.
There is no problem to create a decoupled system using di, the final performance it will be tolerable.
Also, you have the possibility to create custom builds with tests and good practices in the main branch.