On Nov 26, 9:06*pm, "optimistx" <optimi...@hotmail.com> wrote:
[...]
> I tried to write a general little js-program with appropriate
> principles proclaimed here and elsewhere: inheritance,
> encapsulation, oop , reuse, short and compact, easy to read
> (and write).
If a non-trivial program meets some or most of those requirements, it
will only be easy to write if you are particularly gifted and
knowledgable.
> *Hundreds of lines of code, soon thousands. Ugly.
> *Too complicated. `Lots of things to improve or redesign.
You likely have too many competing concerns. Define your goals within
parameters that you are reasonably certain you can acheive, then work
to achieve them. As you get better at development, your goals will get
higher.
--
Rob