Re: Classes and objects - please explain
whiskey wrote:
No, you don't *need* OOP. But you don't generally *need* structured
programming, either. You can do quite well with spaghetti code.
However - OOP is a means to build code that, if properly designed, is
more reusable and more maintainable.
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attgl obal.net
=============== ===
whiskey wrote:
Technically speaking, in JavaScript you don't have classes, but only
objects. Remember that it is a prototype based language.
Anyway, JavaScript won't help you much with understanding classes and
objects. Read some OOP books. But before you do, teach yourself some
procedural programming. Because *some* ain't enough. And, in the end,
most of the time you don't actually need OOP to go from A to B.
>
objects. Remember that it is a prototype based language.
Anyway, JavaScript won't help you much with understanding classes and
objects. Read some OOP books. But before you do, teach yourself some
procedural programming. Because *some* ain't enough. And, in the end,
most of the time you don't actually need OOP to go from A to B.
>
programming, either. You can do quite well with spaghetti code.
However - OOP is a means to build code that, if properly designed, is
more reusable and more maintainable.
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attgl obal.net
=============== ===
Comment