News for hackers. Stuff that matters.
Re:Databases are the endgame for data-oriented design by ako on Wednesday December 06, 2023 @03:33PM (#38549103)
And in any other language this wouldn’t result in multi-thousand lines of code with historical business logic and edge cases?
Re:Databases are the endgame for data-oriented design by manicennui on Wednesday December 06, 2023 @04:22PM (#38549637)
The difference is that most people don't write their business logic in a single flat function in most programming languages, and there is a good chance that individual pieces would have tests.
Re:Databases are the endgame for data-oriented design by ako on Wednesday December 06, 2023 @04:28PM (#38549716)
Neither do good SQL developers: you can easily structure database logic in multiple stored functions, stored procedures, packages, and multiple files. Unit test frameworks are also available.
Re:Databases are the endgame for data-oriented design by robertlagrant on Wednesday December 06, 2023 @04:23PM (#38549657)
Testing code is pretty popular in most non-SQL environments.
Re:Databases are the endgame for data-oriented design by ttfkam on Thursday December 07, 2023 @08:35PM (#38564309)
Testing SQL is pretty popular in most pro-SQL environments as well. There are many tools for that even if many developers appear to remain willfully ignorant of them.