4 ms·
Where are you finding you're rewriting the most code? Is it around the interface or data structures at use inside the code? Or something else entirely? I fin
by mattbillenstein 10y ago
Where are you finding you're rewriting the most code? Is it around the interface or data structures at use inside the code? Or something else entirely?
I find getting the data and data structures correct leads to the simplest implementation -- and chipping away at the code as you go along trying to make it simpler and faster is usually how a solution evolves.
I don't know if anyone writes the perfect implementation of anything complex the first time -- you have to work at it.
- hoodoof 10y agoAlot of it is trying to make something work but not fully understanding how the framework I am programming works, and as my understanding grows of the framework I keep pulling apart and modifying my code. Eventually I get the code to behave in a predictable manner and get my functionality implemented then I start removing all the dead ends and mistakes and misunderstandings. Rinse and repeat several times until the code is as simple as I want it to be.
- mattbillenstein 10y agoWell, it seems like once you learn the ins and outs of the framework, things will go more smoothly? I've avoided complex frameworks (or ones that have too much magic baked in) for this reason over the years.