Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #1657

Re: Validating form inputs?

From Gene Wirchenko <genew@ocis.net>
Newsgroups comp.lang.java.help
Subject Re: Validating form inputs?
Date 2012-03-21 19:09 -0700
Organization A noiseless patient Spider
Message-ID <072lm75r2kqf7sfj8ivoggnmfr03o7gr69@4ax.com> (permalink)
References <ed7f31e9-8a19-46c7-9a7c-ad8aabfb9599@x10g2000pbi.googlegroups.com> <cdthm7h8ouvn55aoeah597mjjse0j7mrkh@4ax.com> <eodim79a4ms63j0nsbhk4bf7472hr96oqg@4ax.com> <32128919.1956.1332366998647.JavaMail.geo-discussion-forums@pbij6>

Show all headers | View raw


On Wed, 21 Mar 2012 14:56:38 -0700 (PDT), Lew <lewbloch@gmail.com>
wrote:

>Gene Wirchenko wrote:
>>      Classes can be very useful.  They can also be a waste of time. If
>> the only reason that you use classes is because you get to use
>> classes, that is not a good idea.
>> 
>>      I recall one assignment during my degree where this got
>> demonstrated rather well.  We were to write code comparing various CPU
>> time allocation algorithms.  I figured out how to code it and wrote
>> it.  I wrote procedural code.  There was no need for classes except
>> for the one class Java requires.  One of my classmates went the OOPS
>> route.  It did not work out, and he had to restart just before the
>> assignment was due.  He did not get through the whole assignment.  My
>> classmate was a sharp person.
>
>Given that we only hear this through the filter of your interpretation,
 it's not very evidentiary. Without seeing the exact problem and where

     Oh, no!  I forgot to attach the affadavits.

>your friend (however sharp he may have been) went wrong, there's simply
 not enough here to blame "classes" for his failure. On the face of
it, his problem seems much more likely to have been his and not
classes'. Sometimes a person gets off on the wrong algorithmic foot,
or maybe he just didn't understand object-oriented programming yet
well enough to get it right. Whatever the actual facts, I remain
extremely skeptical that it was classes' fault.

     Well, he was into Java's features on that assignment.  At one
point, he said that he was using comparators.  I can not see what he
was using them for.  I am assuming he was into classes since
presumably, using comparators made sense to him.  I suspect that the
shiny got him.

     I looked for how to use classes, but just did not see any way
that they would be helpful on the assignment so I did not use them.
Some people would anyway.

Sincerely,

Gene Wirchenko

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Validating form inputs? Davej <galt_57@hotmail.com> - 2012-03-20 11:16 -0700
  Re: Validating form inputs? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-03-20 12:08 -0700
    Re: Validating form inputs? Lew <lewbloch@gmail.com> - 2012-03-20 12:50 -0700
      Re: Validating form inputs? markspace <-@.> - 2012-03-21 09:24 -0700
      Re: Validating form inputs? Davej <galt_57@hotmail.com> - 2012-03-21 12:02 -0700
        Re: Validating form inputs? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-03-21 12:59 -0700
        Re: Validating form inputs? Lew <lewbloch@gmail.com> - 2012-03-21 13:37 -0700
    Re: Validating form inputs? Davej <galt_57@hotmail.com> - 2012-03-20 12:56 -0700
      Re: Validating form inputs? Lew <lewbloch@gmail.com> - 2012-03-20 13:58 -0700
      Re: Validating form inputs? markspace <-@.> - 2012-03-21 09:30 -0700
  Re: Validating form inputs? Roedy Green <see_website@mindprod.com.invalid> - 2012-03-20 14:28 -0700
    Re: Validating form inputs? Gene Wirchenko <genew@ocis.net> - 2012-03-20 19:16 -0700
      Re: Validating form inputs? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-03-21 17:41 -0300
        Re: Validating form inputs? Gene Wirchenko <genew@ocis.net> - 2012-03-21 14:46 -0700
          Re: Validating form inputs? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-03-21 19:54 -0300
        Re: Validating form inputs? Roedy Green <see_website@mindprod.com.invalid> - 2012-03-22 10:34 -0700
      Re: Validating form inputs? Lew <lewbloch@gmail.com> - 2012-03-21 14:56 -0700
        Re: Validating form inputs? Gene Wirchenko <genew@ocis.net> - 2012-03-21 19:09 -0700
          Re: Validating form inputs? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-03-22 08:36 -0700
            Re: Validating form inputs? Gene Wirchenko <genew@ocis.net> - 2012-03-22 09:40 -0700

csiph-web