Click here to Skip to main content
15,897,519 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
NewsWhy are developers so afraid of SQL? Pin
Kent Sharkey7-Sep-14 8:24
staffKent Sharkey7-Sep-14 8:24 
GeneralRe: Why are developers so afraid of SQL? Pin
Ravi Bhavnani7-Sep-14 8:52
professionalRavi Bhavnani7-Sep-14 8:52 
GeneralRe: Why are developers so afraid of SQL? Pin
harold aptroot7-Sep-14 9:17
harold aptroot7-Sep-14 9:17 
GeneralRe: Why are developers so afraid of SQL? Pin
Duncan Edwards Jones7-Sep-14 9:56
professionalDuncan Edwards Jones7-Sep-14 9:56 
GeneralRe: Why are developers so afraid of SQL? Pin
Richard Deeming8-Sep-14 2:34
mveRichard Deeming8-Sep-14 2:34 
GeneralRe: Why are developers so afraid of SQL? Pin
Wes Aday7-Sep-14 9:59
professionalWes Aday7-Sep-14 9:59 
GeneralRe: Why are developers so afraid of SQL? Pin
Kornfeld Eliyahu Peter7-Sep-14 10:11
professionalKornfeld Eliyahu Peter7-Sep-14 10:11 
GeneralRe: Why are developers so afraid of SQL? Pin
Paulo Zemek7-Sep-14 10:49
Paulo Zemek7-Sep-14 10:49 
To me the author of this text simply doesn't understand why people don't like SQL.

He even talks about ORMs, but he missed the point entirely. Many developers don't have a problem with SQL. They don't have a problem with the programming language either. Their problem is the mismatch between SQL and the language they need to use and the amount of duplicated code.
Without an ORM, the developer is going to write the SQL, then either use a DataTable (pretty bad) or a DataReader. If the developer uses a data-reader to populate an object (I worked in many places that do this), the developer needs to write the sql + write the code that reads every database field to populate an object. Also, any error when writing the field names will only be found while executing the code. In this sense, it is natural to avoid writing one of them if you can.

And honestly, joins are stupid too. Most joins are based on foreign key fields, and there's only one possible join from one table to the other, yet developers must repeat all the fields in the "ON" clause. It would be much nicer if SQL allowed us to say "INNER JOIN otherTable" without having to specify the joining fields all the time, reserving it for exceptional cases.
GeneralRe: Why are developers so afraid of SQL? Pin
Marc Clifton7-Sep-14 13:40
mvaMarc Clifton7-Sep-14 13:40 
GeneralRe: Why are developers so afraid of SQL? Pin
Kornfeld Eliyahu Peter7-Sep-14 20:40
professionalKornfeld Eliyahu Peter7-Sep-14 20:40 
GeneralRe: Why are developers so afraid of SQL? Pin
Michael Pauli8-Sep-14 5:08
Michael Pauli8-Sep-14 5:08 
GeneralRe: Why are developers so afraid of SQL? Pin
  Forogar  8-Sep-14 6:10
professional  Forogar  8-Sep-14 6:10 
GeneralRe: Why are developers so afraid of SQL? Pin
Swinkaran7-Sep-14 13:19
professionalSwinkaran7-Sep-14 13:19 
GeneralRe: Why are developers so afraid of SQL? Pin
PIEBALDconsult7-Sep-14 15:09
mvePIEBALDconsult7-Sep-14 15:09 
GeneralRe: Why are developers so afraid of SQL? Pin
Kent Sharkey7-Sep-14 16:33
staffKent Sharkey7-Sep-14 16:33 
GeneralRe: Why are developers so afraid of SQL? Pin
PIEBALDconsult7-Sep-14 17:07
mvePIEBALDconsult7-Sep-14 17:07 
GeneralRe: Why are developers so afraid of SQL? Pin
  Forogar  8-Sep-14 6:08
professional  Forogar  8-Sep-14 6:08 
NewsJava alternative Xtend is back with another block-rocking update Pin
Kent Sharkey7-Sep-14 8:19
staffKent Sharkey7-Sep-14 8:19 
NewsDeveloper survey: Mobile still slow to grow Pin
Kent Sharkey7-Sep-14 8:13
staffKent Sharkey7-Sep-14 8:13 
GeneralRe: Developer survey: Mobile still slow to grow Pin
  Forogar  8-Sep-14 6:11
professional  Forogar  8-Sep-14 6:11 
NewsIntel wants to show it isn't an antiquated tech company Pin
Kent Sharkey7-Sep-14 7:39
staffKent Sharkey7-Sep-14 7:39 
GeneralRe: Intel wants to show it isn't an antiquated tech company Pin
Mike Hankey7-Sep-14 7:58
mveMike Hankey7-Sep-14 7:58 
NewsIntroducing Win2D: GPU accelerated 2D graphics programming in the Windows Runtime Pin
Kent Sharkey7-Sep-14 7:31
staffKent Sharkey7-Sep-14 7:31 
NewsAndrew Kay, Pioneer in Computing, Dies at 95 Pin
Ravi Bhavnani6-Sep-14 3:52
professionalRavi Bhavnani6-Sep-14 3:52 
GeneralRe: Andrew Kay, Pioneer in Computing, Dies at 95 Pin
Mike Hankey6-Sep-14 4:40
mveMike Hankey6-Sep-14 4:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.