article thumbnail

CodeSOD: An Impossible Problem

The Daily WTF

A mix of using MVC-style patterns with a formatter between the model and the UI would be "right", but might be more setup than the problem truly calls for. " [Advertisement]. Now, WinForms is pretty simplistic as UI controls go, so there isn't really a great "oh yes, do this!" Explore how!

MVC 105
article thumbnail

CodeSOD: Undefined Variable

The Daily WTF

Robert H was trawling through the JavaScript front-end for his team's ASP.NET MVC application. Advertisement]. The goal was to prepare for a complete rewrite of the front-end, because, well, it had problems and wasn't reliable or maintainable. It's easy to pass linting if you disable any warning that comes up.

MVC 59
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

CodeSOD: Sorting Out a Late Night

The Daily WTF

Karl also promises: “ViewBag.PropertyNames is iterated through on the cshtml page to populate it in a wildly awful mix of logic and display which MVC is supposed to help prevent,” but didn’t supply that code. Advertisement]. GetProperties().Where(g Where(g => g.PropertyType ! Download today!

MVC 10
article thumbnail

The next CEO of Stack Overflow

Joel on Software

We were there, I think, to demonstrate that you could use their latest ASP.NET MVC technology on a real website without too much of a disaster. (In We have talent, advertising, and software products. In fact.NET has been a huge, unmitigated success for us, but you kids go ahead and have fun with whatever platform you want mkay? —we

Hotels 98
article thumbnail

CodeSOD: Switching to Offshore

The Daily WTF

The page used a client-side MVC framework that also tied into a.NET MVC view, and due to the way the page had been implemented, all the client widgets treated everything as stringly typed (e.g., "true" , not true ), but all the server-side code expected JSON data with real types. Advertisement]. Explore how!

MVC 56
article thumbnail

CodeSOD: A Linking Approach

The Daily WTF

The current incarnation of the application used the more modern ASP.NET MVC, but you wouldn’t know it to look at most of the code. For example, when they wanted the URL of a screen in the MVC application, they knew that the ActionLink method was how you created links in your view. Advertisement]. ToString().Split('"')[1];

MVC 40
article thumbnail

Tandem at 10: What’s Changed In The Coding World Since Tandem’s Founding?

Tandem

Increased competition incentivized some bootcamps to cram many buzzed-about stacks into their programs and advertise themselves as ‘full stack’ — but graduates from these programs often received such a fast and surface-level introduction to each language, that they may as well have not attended the program at all.

MVC 52