Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@Letmecode I left the job three years ago and yes I was the only dev there but luckily GM was a dev and I talked to him, then that incident never ever happened again 😌
@dontPanic visual studio instantly thriwed a red line but what is evwn worse that guy asked me to hit the run button and when visual studio didn't run the software, he just said: check ur code for bugs! -
@lukegv ya but the code he told me to wrote is a valid SQL Script and a LINQ code :/
-
@runfrodorun & @qbasic16 what happens is I told my manager that I was not able to fetch data from the table, I'm receiving SQL Error and was asking about the structure of the database since no one bothered to tell me about it.
Long story short, manager told Technical manager to come help me, the guy came to help and saw me writing a lambda on the result which of course was throwing an exception instead of data, so he told me to replace all Select(x => x.FirstName) with "SELECT FIRSTNAME FROM tblUsers"
He thought the lambda select was identical to sql select statement so he simply removed a C# function and wrote pure SQL Script inside a C# file without the string quotes "" and the result was already assigned to a subclass of ICollection!
So ya he wasn't trying to load entire database nor an entire table, just forcing SQL Script inside a C# page and expecting compiler to simply understand and produce result
Related Rants
-
kuba39Teacher: Your program has to be at least 2000 lines long. -_-
-
hell11Manager asked for access to server with admin rights for a third party contractor and I questioned him... His ...
-
DP130618Professor at Uni: "Missing a semicolon on yozr final exam could be a reason to fail that exam. Coding on pape...
What could be worse when Technical Manager forcing you to write SQL Scripts inside C# Code as:
List<String> items = SELECT * FROM table
And not accepting to argue with me as I am a noob according to him
undefined
wk63