by Axensus » Thu Aug 29, 2024 1:50 pm
>Then why post?
Because the suggestion is still very much valid, snark in OP aside. It's just all the same to me if this gets implemented or not, but not suggesting it in the first place guarantees that it won't be. Something about missing 100% of the shots you don't take and all that.
>Have you ever thought about the technical details of such request ?
Considering there's already some form of JSON processing (Dictionaries), I'd say this is at least mildly possible. XML might be more out of scope. But since I don't plan on implementing this myself, no, I haven't thought about the details. If I had, it's likely because I would have added this myself, in which case this thread would have been completely pointless.
>Like could be useful for other things?
It's called standardization and helps for future-proofing. If file saving is ever added to GZDoom, people could store things in a sensible format. Plus if someone ever wants to read someone else's lump, they wont have to do black magic voodoo and copy the entire bloody parser just to do that.
>Better implement a library for parsing or better write something custom?
Same as above. Also tell me you didn't read the OP without telling me you didn't read the OP. Implementing libraries in GZDoom automatically means the burden of maintaining that falls on YOU, because you essentially copy the entire source code into your project. Writing "something custom" for what an industry standard already works is called reinventing the wheel. I don't want to do that. Call me lazy if you want, I don't mind, I just know it's better for my project in the long run.
>Then why post?
Because the suggestion is still very much valid, snark in OP aside. It's just all the same to me if this gets implemented or not, but not suggesting it in the first place guarantees that it won't be. Something about missing 100% of the shots you don't take and all that.
>Have you ever thought about the technical details of such request ?
Considering there's already some form of JSON processing (Dictionaries), I'd say this is at least mildly possible. XML might be more out of scope. But since I don't plan on implementing this myself, no, I haven't thought about the details. If I had, it's likely because I would have added this myself, in which case this thread would have been completely pointless.
>Like could be useful for other things?
It's called standardization and helps for future-proofing. If file saving is ever added to GZDoom, people could store things in a sensible format. Plus if someone ever wants to read someone else's lump, they wont have to do black magic voodoo and copy the entire bloody parser just to do that.
>Better implement a library for parsing or better write something custom?
Same as above. Also tell me you didn't read the OP without telling me you didn't read the OP. Implementing libraries in GZDoom automatically means the burden of maintaining that falls on YOU, because you essentially copy the entire source code into your project. Writing "something custom" for what an industry standard already works is called reinventing the wheel. I don't want to do that. Call me lazy if you want, I don't mind, I just know it's better for my project in the long run.