[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



> But OO is definitely overkill in this example.
> 
The problem I have with Perl is that OOP is an afterthought when the
language was developed.  I'm looking at Pyhon to do pure OO
programming.  The reason to use objects in this program is that I will
eventually create a thread for each object.  That thread will be
responsible for that one device.  This eliminates the problem that round
robin introduces when trying to check a long list of devices to see if
they are up. 

If you start with device 1 and all are down it could be many minutes
before device 10 is even tested.  Not a good thing.  Every device needs
to be checked every 5 minutes, 60 minutes if by dial-up.  And there can
be no delays in testing because a few hosts ahead in line are down and
are slowing down each ping process.

> 
> >  This is one of my
> > biggest problems with Perl.
> 
> You worry about OTHER people reading and understanding your
> Perl code???

The code is part of a bigger system.  May perl programs, C, and Java
programs.  These are users that need not to read the code.  Plus with
the byte-code I can add code that validates the code is running on the
machine we sold the customer.
> 
> -- Joe


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="01272" href="msg01272.html">[ale] Py[h]hon syntax (sic)</a></strong>
<ul><li><em>From:</em> dcorbin at enttek.com (David Corbin)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="01121" href="msg01121.html">[ale] Pyhon syntax</a></strong>
<ul><li><em>From:</em> fletch at phydeaux.org (fletch at phydeaux.org)</li></ul></li>
<li><strong><a name="01129" href="msg01129.html">[ale] Pyhon syntax</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
<li><strong><a name="01133" href="msg01133.html">[ale] Py[h]hon syntax (sic)</a></strong>
<ul><li><em>From:</em> scherrey at proteus-tech.com (Benjamin Scherrey)</li></ul></li>
<li><strong><a name="01207" href="msg01207.html">[ale] Py[h]hon syntax (sic)</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
<li><strong><a name="01215" href="msg01215.html">[ale] Py[h]hon syntax (sic)</a></strong>
<ul><li><em>From:</em> jpheale at LearnLink.Emory.Edu (John P. Healey)</li></ul></li>
<li><strong><a name="01233" href="msg01233.html">[ale] Py[h]hon syntax (sic)</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
<li><strong><a name="01267" href="msg01267.html">[ale] Py[h]hon syntax (sic)</a></strong>
<ul><li><em>From:</em> jknapka at kneuro.net (Joe Knapka)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg01267.html">[ale] Py[h]hon syntax (sic)</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg01269.html">[ale] KDE oddity</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg01267.html">[ale] Py[h]hon syntax (sic)</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg01272.html">[ale] Py[h]hon syntax (sic)</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#01268"><strong>Date</strong></a></li>
<li><a href="threads.html#01268"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>