Join Harrison Ferrone for an in-depth discussion in this video Avoiding premature optimization, part of Agile Development Practices.
- [Instructor] There's a dark side to designing your code…to be super flexible and adaptive.…That's premature optimization.…Okay, so that's all well and good,…but what exactly is premature optimization?…I like to think of it as the rabbit hole.…The deeper you go, the less likely you are to realize…you've lost sight of the immediate development goals.…Let's keep on going with our color palette analogy…from earlier videos.…If I was trying to think of a flexible way…to create one in code, I'd start with…storing my base colors, and I'd probably add…some sort of conversion helper.…
Then, I'd sit back and, being the…curious programmer that I am,…I might start to think about what I might need…in the future.…Will I need to put in gradients at any point?…Well, yes, probably.…Alright, so let's look at some documentation for that.…Maybe some third party libraries to make things go faster.…Start to flesh out the color palette class to incorporate...…And this is where you need to catch yourself.…Hopefully, you can see where I'm going with this.…
LinkedIn Learning (Lynda.com) is a PMI Registered Education Provider. This course qualifies for professional development units (PDUs). To view the activity and PDU details for this course, click here.
The PMI Registered Education Provider logo is a registered mark of the Project Management Institute, Inc.
- Planning and design
- Developing flexible architecture
- Documentation considerations
- When to optimize
- Determining velocity
- Agile programming techniques
- Testing and handling bugs
- Structuring a release pipeline