To prevent this from jumping down the rabbit hole again, let’s not focus on trying to teach Tony (or whomever), or focus on their their actual implementation versus what was read out of an article (as let’s face it, an article can be considered theory, the code starts to make it borderline personal/factual).
Let’s keep the topic on a more theoretical level. I know we’ve had a bit of fun poking at the implementation of Radicore, but I think we can all agree that our time would be better spent talking about the theoretical shortcomings versus making Tony feel defensive as we point to his code (and we all have already been there once or twice).
So to jump back to the theoretical dimension, let’s look at the following statements that were made recently and work on backing them up (without involving another person’s codebase – unless you have their permission, or feel free to share your own).
So I agree with this but I’m curious as to what techniques you’ve used to abide by that statement. How did you limit your if/else statements? (and no, I haven’t watched the video, so if you used the techniques expressed in it, I’ll get to watching it shortly )
Let’s also keep discussing
and
These are two points I feel are true on a theoretical level too. Given a set of databases you must support, how would you accomplish it? Assuming you have to abide by the following:
- Must be able to connect to multiple databases within the same page load
- Must be able to connect to multiple databases across transactions (along with knowing when to commit/rollback)
- Must be able to combine the data from multiple databases into a view/model