This post compares the use of abstract syntax trees (AST) with recently released GPT tools like ChatGPT 4.5 and Grok 3 for handling large PHP projects. It argues the benefits of learning and using AST for code manipulation over relying on probabilistic models of GPTs, which often propagate outdated solutions. Examples

9m read timeFrom tomasvotruba.com
Post cover image
Table of contents
Where do GPTs excel?Where does AST excel?Innovation Propagation Lag6 Years BehindLegacy Successful ProjectsHow to learn AST?Use case: Upgrade FOS Rest bundle 2 to 3What Problems have GPTs missed?Conclusion

Sort: