The pedantic checklist for changing your data model in a web application
Let's say you have a web app with some database. In your database you have an Invoice model, where you store things you are charging your customers.
Visit rtpg.co → RSS feedOn Hacker News Oct 2020 – Jun 2021
Software Engineering 3Tools & Productivity 1Programming Languages 1Databases & Data 1
Let's say you have a web app with some database. In your database you have an Invoice model, where you store things you are charging your customers.
Through work I have to deal with a pretty huge codebase, and run Pylint on it during our continuous integration process. It's always been a bit slow, but recently I also noticed that it was consuming a lot of memory, causing OOM failures if we tried to run it too much in parallel.
Rust has an amazing dbg macro that lets you quickly set up an expression printer that will also put in the source line. It also returns the value of the expression so you can even easily inline the printing when you want to!