Hey All,
I have started diving into Algorand smart contracts & but I am facing issue. when it comes to understanding the right way to structure things. I have gone through some official docs and examples but a lot of them seem very basic or too abstract.
when should I use stateful vs stateless contracts in real-world scenarios? Are there any patterns or best practices the community follows for things such as contract upgrades, handling errors or gas optimization?
Also, I am a bit confused about PyTeal vs TEAL. Is it okay to just stick with PyTeal for everything or are there situations where writing TEAL directly is better?
I finished a Blockchain Developer Course, which covered multiple platforms but Algorand still feels a bit unique in how it handles smart contracts.
Thank you..