News for hackers. Stuff that matters.
Re:TypeScript: a language for application-scale JavaScript d... by Mpdreamz on Monday October 01, 2012 @04:41PM (#4599237)
Magic strings can be avoided by always using a viewmodel ,using the lamda overloads on HtmlHelper (@Html.*) also T4MVC is a godsend strongly typing routes, url lookups, viewnames, filenames.

Most of these have been around since MVC 1.0.

Hope these pointers will keep you magic string free :)

Re:TypeScript: a language for application-scale JavaScript d... by highace on Tuesday October 02, 2012 @05:33AM (#4601224)
Adding T4MVC is the first thing I do on a new project. It makes pretty much all the magic strings disappear.