Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
@keelerjr12 well there are UNION and JOIN commands as well as VIEW / virtual tables that combine data. You could even SELECT into different keys of a JSON structure these days
I tend to just make an efficient sax parser then hollow out the XML specific logic and make it dynamic enough to change what opens/closes a context and what current catches are. Very performant for many tasks as long as your target AST not more complex than XML. Using something with an API like so vs using generator is another potentially viable option.
I must say this is disappointing. Especially with the file form control, more than any other, put and delete are immediately useful. PUT sending one or more file contents, and delete sending a URI
off topic a bit, but in an interpreted language, unlike C++, the interpreter would literally be the agent allocating/deallocating/operating on data. the logical meaning is roughly the same when talking about a compiler, though the literal meaning is not
well technically: when the memory is allocated at execution time, it was indeed the compiler's translation into machine code which causes said allocation to exist/occur. ALL the allocations from ALL the runs of your executable are "done by the compiler"
@Rig Code reuse is added just as it is for functions of any language - by wrapping code in a reusable container. Certainly stored procedures do in fact protect you from SQL injection so long as you don't execute a string you've built. To say speed is minimal seems simply uneducated. Most cases wont fall into the same categories on performance benefits but show a wide disparity.
I think the answer is more based in your idea of 'okay'. The world is, most likely, not going to burst into flames if you do this and you can even successfully write a program. Is it useful? meh too subjective. If you get some benefit, is it worth it for you and will it affect others? Those are the questions I'd care for.
@Pacerier I could agree that leaving can be an easier solution personally. I give my +2 because putting the effort to change minds improves not only your own work quality but also the whole team's work environment; plus it takes confidence.