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
-
@h3rp1d3v he said mongodb, I asked if he meant a document database, which he implied yes.
One thing he said we could do with mongodb was tag entries with their geographical origin, then we could query entries by geographical location.
Who’s going to be tagging millions of entries by region. And a lot of our data is transcribed old data from the last 900 years (we’re the National Archives of Norway) -
Also D is fun. I get why he’d want to write stuff in D, though it kind of gets shadowed by Rust in modern languages of similarity.
I do see some push to rewrite old PHP codebases in Rust, tho. But afaik no one’s done that for more than a few modules so far. First rule: don’t rewrite from scratch. Just don’t. Slowly, piece by piece, maybe. But there’s really no point in rewriting a PHP app in another language completely. Like why? -
Depends on data, but if it's already in SQL, which is the most efficient way, why would anyone transition to MongoDB?
-
@100110111 I’m sure D has it advantages, but I’d we were to pick up a new language, we need to choose something with a strong community and doesn’t make it harder for us to hire new people / contractors.
-
@ChainsawBaby exactly. As much as I love working with F#, I’d never push for its adoption since I know how much harder it would be to find devs to hire - and it’s hard enough right now with more mainstream tools already!
If they really want to use it, side projects, ok?
Also, I just can’t see a logical reasoning of dropping PHP in favor of D. I can see absolutely zero advantage in that in any scenario where you’d have used PHP. Rust? Sure. A big handful of other languages, sure enough. Still, why though? -
@theabbie I don’t think there’s any logic whatsoever in this specific scenario. There are scenarios, of course, why you would migrate PARTS of your data to a NoSQL database, but I don’t think there’s one here...
-
msdsk31804y@MadMadMadMrMim Mongo is great for simple stuff. As long as you just need to store some documents and then retrieve them there's nothing really to complain about.
-
MrPato14yOh same feeling at work, the Head Architect wants to migrate everything from PostgreSQL to Mongo :( and he doesn't even give us a reason.
-
@msdsk all we do is basically store data, and most of it is from old documents like church books and similar stuff. But it is also a lot of relational data, where you bind up a person to several known documents.
But I’m pretty sure we don’t have the most efficient system, since our db structure can be traced back to the 90s. But there’s not much computational stuff done to it, perhaps retrieved once a year.
Related Rants
I had a lead dev on our team saying we should drop PHP and write everything in D, because their syntax is basically the same. And replace our MySQL database with MongoDB. We have data going back to the early 90s, I don’t even know how many entries we have in the production database.
We just adopted python on new projects so that it’s easier to find developers.
rant
huh??
d
php