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
-
@Root Yeah, yeah, I know. But outside of tech savvy, (even just minimally) forwards-thinking programs, you're gonna find a ton of shitty business apps that do tons of work in the DB
I work on PL/SQL that was written when I was 7. Didn't even have my first computer yet, and someone was writing the same scripts I pull my hair out over today. -
arekxv10384yBut yes it's not a pure ruby implementation. Pure ruby implementation would have horrible performance.
As for SQL. Even in 2021 apps unfortunately people still store logic in DB. Sometimes, you really have no choice but to use it. :/ -
soi kèo bóng đá vuasoikeo.club là website cập nhật thông tin nhận định, dự đoán bóng đá mới nhất.
-
How can you avoid business logic on SQL if your logic requires data from the db? You don't want to keep doing round trips for every check just so the logic is on the server, right?
Edit: even if you fetch all the data required before hand, it's still at least 2 trips... -
plus44834y>Ruby is great for scripts and web dev, but simply doesn’t work for graphics engines.
who the fuck writes a graphics engine in ruby? -
Root775024y@bananaerror They’re generally quick. Fetch what you need. Separation of concerns (and therefore maintainability) is much more important than optimizing on the order of milliseconds.
@plus44 Nobody sane! I’ve made games in Ruby, too, but I lost my sanity years ago.
@arekxv I’ll take a look at that later. Thanks :) -
maces132344y@AlgoRythm dude if u use sql for business logic please do us all a favor and move to UI/UX design.
none of us deserve to refractor that mess. -
maces132344y@AlgoRythm move it to the backend and then take the hard disk where source control is saved and burn it with a flame thrower
-
@maces we don't have source control for our SQL if that gives you an idea of the shitshow I get paid $not.enough to deal with
-
@fiftyhz all the time. Currently, in fact. Past three weeks the site load times have been doubled after a DB move.
Even if I had a say, I don't have any love for this project anyways and I wouldn't bother fixing it.
Stepping stone job.
Related Rants
Best: the tool that works for the job.
Worst: the tool that doesn’t.
Example: Ruby is great for scripts and web dev, but simply doesn’t work for graphics engines.
Example: SQL is great for fetching data (etc.), but it is absolutely terrible for business logic.
Example: XSLT is great for lowering your faith and your will to live, but it is absolutely awful for literally every other purpose.
rant
ruby
sql
wk264
xslt