Welcome to the first post in my When and Why series!
Its my opinion that when learning to code there's a huge emphasis in the resources available on the how of programming. They'll start by describing general ideas that you'll be tackling, then they'll list out and describe syntax you'll be using and what that syntax means to .NET and then they usually end with a small working example demonstrating the functionality of the syntax. To my mind, knowing syntax on its own is a lot like knowing words without understanding good grammar. Programming is as much theoretical as it is practical and taking fifteen minutes to understand the contextual implications of the syntax you've just learned will, inevitably, save you hours and even days in the future because you won't spend all that time trying to use the right tool for the wrong job.
As you probably have already guessed, my When and Why series is an attempt to start filling that void. In each W&W post I'll start with a link to a how resource and then I'll go into explaining when we use that feature and also why we chose to use that feature for those scenarios.
And remember, as with all things programming, the When and Why are not meant as absolutes, they are meant as a guide until you feel confident enough to decide for yourself what the most appropriate tool for a job is.
No comments:
Post a Comment