I saw a tweet about building a twitter clone being harder than you would think. So this of course started me thinking how I would go about building something like that. Ok so where would I start? First a few assumptions. Development by a lone developer ie me Tech stack will be dotnet and other tech I am familiar with...

The code base I am working on contains a huge if block. By huge I mean 77 if statements one after the other, each if checks to see what page id you are on and loads different content. This is not easy to maintain and I want to refactor it. One option would be to replace the if statements with a switch block. However...