Oh, there's no doubt at all the 24/1.8G is better, a lot better. Whether that "better" matters to you, not sure I could answer that one. Depends on your intended use, your output (and size of), and what your standards for image quality are.
Let's put it into context though. I had a 24/2.8 AFD long ago, went through a couple actually, and the last one I had was pretty amazing on film. When I switched to digital in mid 2003, with the D100, it didn't perform so well. So if the lens didn't perform so well on a lowly 6mp DX crop camera, it shouldn't be a shock that a modern lens designed in the digital era is a lot better. 24mm is a key, critical focal length for me for my landscape work, so I've been through a lot of lenses. In terms of everything I've owned over the years, the 17-35/2.8 was better at 24, the 14-24 better than that, the 16-35 about the same (at 24), the 24/1.4G a lot better, the 18-35G better, the Sigma 24/1.4 Art a lot better, the Nikon 24/1.8G a lot better, and my current reference, the Zeiss 25/1.4 Milvus, is substantially better. Yep - owned all of them. So out of all those lenses, the old AFD that I loved so much on film, these days, sits in last place. But I'm picky.
Now, that doesn't mean it's worthless to you. If you're willing to accept its not great wide open or anywhere near it, will have issues with the edges/corners at any aperture, but that it does get better in this regard around F/8, and aren't expecting, nor needing world class performance from it, sure, absolutely, it's worth looking at. It's not going to cost you a lot, can be had relatively cheap on the used market. As you said, it's a small/light lens, and if that enables you to get a shot you might otherwise miss out on because you don't want to carry the better but bigger/heavier glass, then obviously it has to be considered.
-m