Discussion in 'General Software' started by propro, Mar 1, 2017.
All programming languages do 4 things only -
create, insert, update, delete.
Didn't you ask this question before?
Anyway, your 4-things-only statement is false. Consider a 3D game. Does rendering the scene count as creating, inserting, updating or deleting? How do you fit a render loop or a physics simulation into the create-insert-update-delete paradigm/shoe? How about GUI? Does handling a button click count as creating, inserting, updating or deleting? There is a bunch of problems which can't be sensibly expressed in terms of those four things. SQL is very much a domain-specific language, created for a specific purpose, and it makes no sense to think of most programs in terms of database queries and modifications.
You would not go to space on a mobility scooter, and you would not replace all programming languages with SQL.
Technically...yes it does
Create 3d object
Insert it to scene
update it to be rotated
delete it when done
That said, your answer isn't wrong
SQL is an extremely high level language that wouldn't be used to do anything other than talk to a database.
Can you use a Windows registry to program games? LOL! The registry is a database just as SQL is a database format.
Uhhh? I think we might have a terminology mismatch. SQL is a like english language for manipulating data in relational databases.
A database format might be something like csv.
INSERT clue INTO user;
Where would the Internet be without semantics?
We can make it happen.
We don't want to
Even in its own domain, people are opting for things like LINQ, so it looks like "all programming languages" are seriously eyeing SQL's turf, not the other way around.
We really can't. There's a reason that it hasn't been used outside of databases since it was created. It's ill suited for anything else. We have better language choices.
Separate names with a comma.