Practical in that they make some thing harder to refactor or subclass since they lock you into specific design considerations because they use specific data types (Cstrings) or cant be subclassed
And that you separate logic from data and have to revert to a more procedural style rather than an OO style
Are there bugs in them ? As Eugene noted there are some issues with alignments on Windows that can give you fits but I suspect that doesnt affect your usage
Isn’t it a fundamental issue with Xojo that many users tend to work more procedurally, or at most, in an “event-driven” manner because the UI objects trigger events? In any case, the foreign code I’ve come across was rarely object-oriented, probably because Xojo doesn’t strictly enforce it. How is a beginner supposed to learn it properly?
Please don’t misunderstand me; I’m not implying that the original poster or any other core user here doesn’t know what objects are. I’ve often contemplated the fact that Xojo promotes object orientation but seldom demonstrates good practices. This is all the more surprising since nearly every modern programming language today also emphasizes teaching users the proper way to utilize their language.
This is one of the reasons why I responded so strongly: there’s little value in claiming you can use Xojo correctly if no one is taught the proper way to do so. Well, unfortunately, that train has already left for me as well
The way I use them typically is to define them in a class and use it as a class property… basically a custom defined basic data type… and I don’t use them that way with strings… So I don’t see how either of those things are necessarily so.
Anyway to each their own. As long as using them way I do does not cause bugs, I’m happy.