Search  
Search Options

OOP

HomeForumsFlash Discussionoop
23837 Chuckanucka
664 posts
Exclusive author Author was featured Referred at least one person Reviewer Sold between 10 000 and 50 000 dollars

So who uses object oriented programming? and if you do, do you use it for everything you do?

Posted about 1 month ago
26297 alexandrup
67 posts
Exclusive author Referred at least one person Sold between 1 000 and 5 000 dollars

Everything! I can’t think otherwise but, object oriented…really…

Posted about 1 month ago
23837 Chuckanucka
664 posts
Exclusive author Author was featured Referred at least one person Reviewer Sold between 10 000 and 50 000 dollars

really? ok lets say I want to build a simple xml menu. OOP just seems complete overkill, my code always ends up being 3 times as long and a pain to read as its all in different places, am i missing something?

Posted about 1 month ago
30930 fisch79
431 posts
Exclusive author Referred at least one person Sold between 1 000 and 5 000 dollars

pretty much everything is OOP .

..but yes.. xml binding code is long.. drives me nuts.

Posted about 1 month ago
35105 RimV
265 posts
Exclusive author Item was featured Author was featured Referred at least one person Reviewer Sold between 10 000 and 50 000 dollars

You won’t need OOP if just use it for small thing like creating a gallery, menu, template, ... But OOP really comes in handy if you aim to build a strong application which you can extend later or make use of available property of that app to create another one (the concept of inheritance, composition and polymorphism).

Indeed, everybody already gets their hands dirty in OOP . When people declare something like import flash.filter.* they actually take advantage of OOP . Such filter like Blur, Glow … are subclass of filter class and well organized in one place to provide handy property and method.

Posted about 1 month ago
23837 Chuckanucka
664 posts
Exclusive author Author was featured Referred at least one person Reviewer Sold between 10 000 and 50 000 dollars

thanks rim, so for example if i wanted to make as3 versions of the files in my portfolio i should not use oop?

Posted about 1 month ago
35105 RimV
265 posts
Exclusive author Item was featured Author was featured Referred at least one person Reviewer Sold between 10 000 and 50 000 dollars

Depends on how you want to improve your files later, making everything in OOP does help maintaning/extending available code.

But if you just need to have a plain AS3 version of your files, sure you can get rid off OOP ;)

Posted about 1 month ago
23837 Chuckanucka
664 posts
Exclusive author Author was featured Referred at least one person Reviewer Sold between 10 000 and 50 000 dollars

cool, thanks. I have coded in oop in the past but found it to be a huge pain for small projects! maybe i am just stuck in my ways.

Posted about 1 month ago
22362 theflyingtinman
224 posts
Protecting flashden against copyright violations Sold between 1 and 100 dollars
Indeed, everybody already gets their hands dirty in OOP . When people declare something like import flash.filter.* they actually take advantage of OOP . Such filter like Blur, Glow … are subclass of filter class and well organized in one place to provide handy property and method.

True … but the difference between using a class and writing a class is like the difference between driving a car and building a car ;)

Posted about 1 month ago
35105 RimV
265 posts
Exclusive author Item was featured Author was featured Referred at least one person Reviewer Sold between 10 000 and 50 000 dollars

not that big difference :p I can’t imagine how to build a car, even just a tyre :D but a class is not so out of my hand , hehe

Posted about 1 month ago