Re: Is there a better way to do this?




"JT" <jtlinux1@xxxxxxxx> wrote...
On Mon, 30 Jul 2007 13:48:29 -0400, Oliver Wong wrote:

For some problems, OO is the best tool for the job. For this problem,
I don't think OO is the best tool for the job. The problem specification
reads like a recipe, listing each step to be performed, and the order in
which to perform those steps. It is extremely natural to translate the
problem description almost directly into a procedural (i.e. non-OO)
program.

- Oliver

So what is the point of using Java if you aren't going
to employ OO techniques?

Simply because it can be done? ;-)

Many programming classes, "focusing" on different languages, are overlapping
in terms of fundamental algorithmic thinking.

This type of excercise is useful regardless of which programming language
that is taught.

What many classes (teachers) usually miss, is to point out the differences
between different solutions; how different languages and programming
paradigms connect to each other, and the consequences of that.

/// Bjorn A


.



Relevant Pages

  • Re: compiler for Chinese development language
    ... This relates to the development of vernacular ... Indian vernacular display, OS and programming languages. ... Bangla and other vernaculars. ...
    (comp.compilers)
  • Re: Head-in-the-Sand Liberals (LA Times Columnist)
    ... You claimed to have known several computer languages, ... If you lie about knowing computer languages, ... of the programming loop for a functional ... You also don't know Java. ...
    (rec.org.mensa)
  • Re: Is there a mainframe skills shortage?
    ... That's because the author of the article is comparing it to standard SQL. ... and material around Lamdas and functional programming. ... obvious which languages were the ones to learn. ... stick to writing system software and leave applications to the COBOL ...
    (comp.lang.cobol)
  • Re: GoTo in Java
    ... Scripting languages are programming languages; ... override the method.via an interface, or write a new method in the wrapper. ...
    (comp.lang.cobol)
  • Re: LISPPA
    ... >> a match for such imperative languages as C, ... >comparing Lisp with languages like C, Pascal and Basic, ... I can accept that Lisp tries to compensate of the lack of compile-time ... If you have tools of visual programming, nice editor, advanced ...
    (comp.lang.lisp)