DEV Community

Discussion on: What's the worst advice you've ever received?

Collapse
 
buinauskas profile image
Evaldas Buinauskas

Not sure if it counts, but one of my ex managers suggested writing JS, CSS and HTML using SQL Stored Procedures to serve web pages.

Obviously we told this is a terrible idea and this monstrosity never saw a daylight.

Collapse
 
ben profile image
Ben Halpern

Can you tell me more about the context, like what language, framework, infrastructure, and business objectives led to this kind of thought process?

Collapse
 
buinauskas profile image
Evaldas Buinauskas

It was Microsoft stack. SQL Server, .NET.

Company has been rebuilding one of the core features - rendering statistical data in a grid. It had to render lots of different datasets dynamically with 10s of thousands of rows per page.

Frontend team at that time was struggling with the implementation and that's where the suggestion came from.

Reality being that different managers wanted their departments being feature owners and make changes themselves using tools they know. Basically SQL Server and T-SQL became a hammer and every feature or an issue started looking as a nail.