Olly Headey
👤 PersonAppearances Over Time
Podcast Appearances
But yeah, when you come to do a Rails upgrade and that one gem that you use for tagging or whatever it is, there's some gem and it's just like, oh shit, it's unsupported for Rails 6. You think, well... But if you wrote your own, it's probably like a couple of classes and it's not very complicated. You could do that yourself. And that's something, you know, 37signals do so well.
But yeah, when you come to do a Rails upgrade and that one gem that you use for tagging or whatever it is, there's some gem and it's just like, oh shit, it's unsupported for Rails 6. You think, well... But if you wrote your own, it's probably like a couple of classes and it's not very complicated. You could do that yourself. And that's something, you know, 37signals do so well.
Their gem files are pretty small, really, whereas Pretty Short Pre-Edge is pretty large. And it's definitely something I've taken on board a lot. I think that it is good practice to try and minimize as much as possible. I do remember at 37singles when they were starting on, I guess it was the calendar app. And I think David's looking at these genpads and basically, why have we got Redis?
Their gem files are pretty small, really, whereas Pretty Short Pre-Edge is pretty large. And it's definitely something I've taken on board a lot. I think that it is good practice to try and minimize as much as possible. I do remember at 37singles when they were starting on, I guess it was the calendar app. And I think David's looking at these genpads and basically, why have we got Redis?
Why is Redis in there? And it ultimately led to kind of the solid cache and solid queue stuff, which is just like, hang on, database is really fast. What are we doing? We don't need Redis. That's just a thing we just don't need. And it's a thing we have to support, which ended up, it's funny, that ended up leading to these gems being built. Like, I'm sure they're fast enough.
Why is Redis in there? And it ultimately led to kind of the solid cache and solid queue stuff, which is just like, hang on, database is really fast. What are we doing? We don't need Redis. That's just a thing we just don't need. And it's a thing we have to support, which ended up, it's funny, that ended up leading to these gems being built. Like, I'm sure they're fast enough.
You know, databases are fast enough now on these new drives we've just bought. We don't need race. And it's almost like I don't know. This is what was in David. It was like that. It was literally that dependency that was so irritating. They will just go and build all this new tech just because that is, you know, first grade, right?
You know, databases are fast enough now on these new drives we've just bought. We don't need race. And it's almost like I don't know. This is what was in David. It was like that. It was literally that dependency that was so irritating. They will just go and build all this new tech just because that is, you know, first grade, right?
Because one less dependency, although have you because you've now got these highly complex gems to maintain, but I don't know. Whereas Redis is pretty reliable, to be honest.
Because one less dependency, although have you because you've now got these highly complex gems to maintain, but I don't know. Whereas Redis is pretty reliable, to be honest.
and pretty entrenched in the community, then that's always a good sign. I don't think I would hesitate really to use the gem in that case. Unless, as I say, it was so simple that you just think, well, do I really need to do that? Because sometimes they can complicate things and sometimes not.
and pretty entrenched in the community, then that's always a good sign. I don't think I would hesitate really to use the gem in that case. Unless, as I say, it was so simple that you just think, well, do I really need to do that? Because sometimes they can complicate things and sometimes not.
the hard I suppose the harder the problem that you're trying to solve by using that gem then the more likely I would say it's probably better to use a gem at least in the first instance right and and if if for some reason it gets unsupported or causes you I don't know performance problem or something then then maybe maybe do it then but if your goal is to move fast and just get stuff done then you know bring in devise right like most people do that I don't know whereas you know
the hard I suppose the harder the problem that you're trying to solve by using that gem then the more likely I would say it's probably better to use a gem at least in the first instance right and and if if for some reason it gets unsupported or causes you I don't know performance problem or something then then maybe maybe do it then but if your goal is to move fast and just get stuff done then you know bring in devise right like most people do that I don't know whereas you know
I built a couple of little apps recently and I thought I'm not going to use device I can do that myself and I ended up doing my own auth which for better or worse you know it didn't take that long but at the same time you know it would have been much quicker to to use device but you know I just I don't know I don't know but then I've had the same problem with apps where I've used device
I built a couple of little apps recently and I thought I'm not going to use device I can do that myself and I ended up doing my own auth which for better or worse you know it didn't take that long but at the same time you know it would have been much quicker to to use device but you know I just I don't know I don't know but then I've had the same problem with apps where I've used device
And then I've wanted to kind of rip it out because it was too painful to go and adjust that template of some password. I can't even remember the examples, but you know, some sort of, it shouldn't be that hard. And I felt there were certain things that I found hard. I'd rather just do my own kind of confirmation email sometimes, but then,
And then I've wanted to kind of rip it out because it was too painful to go and adjust that template of some password. I can't even remember the examples, but you know, some sort of, it shouldn't be that hard. And I felt there were certain things that I found hard. I'd rather just do my own kind of confirmation email sometimes, but then,
I guess it's also a balance of what time you have available, what your kind of skill level is at some level, I suppose. If you really don't want to get into that, then why bother?
I guess it's also a balance of what time you have available, what your kind of skill level is at some level, I suppose. If you really don't want to get into that, then why bother?