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. -
arekxv10543yBut 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... -
plus44863y>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? -
Root824933y@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 :) -
maces132403y@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. -
maces132403y@AlgoRythm move it to the backend and then take the hard disk where source control is saved and burn it with a flame thrower
-
TheEnd7043yHahaha, XSLT - I’ve worked at two companies over my career that had an absolute love affair with XSLT. I see the purpose of it, but it’s like regex for me, I can’t write it from memory. When I tell the younger devs that XSLT has been around since the ‘90’s they think I’m lying: “But we’re using it in our newest applications, how can’t it be so old?” Here, let me google it for you kids.
-
@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
-
TheEnd7043y@AlgoRythm No source control for SQL has been an issue in 100% of the places I have worked. When I hear: “Stored procedures are bad”, that just confirms to me that someone has no source control over their SPROCS. They’ve been burned by not knowing which is the right version of the code.
-
@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