Weak formal methods ?

This is a discussion on Weak formal methods ? within the Eiffel forums in Programming Languages category; First an analogy: when first small scale integrated circuits came on the market experimenters built digital circuits by busking since they didn't yet know how to 'read the score'. One used an intuitive designing method to chose various combinations and configuratins of gates to acheive the desired result. Later, simple tools like Karnaugh maps and equations to get cannonical forms ...etc. were use to replace the art with some science. -------- It seems to me that the pre & post conditions advocated eg. by Eiffel provide a type of weak formal method for software design ? Occasionally, like now, I ...

Go Back   Application Development Forum > Programming Languages > Eiffel

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 10-28-2007, 09:35 PM
problems@gmail
Guest
 
Default Weak formal methods ?

First an analogy:
when first small scale integrated circuits came on the market
experimenters built digital circuits by busking since they didn't
yet know how to 'read the score'. One used an intuitive
designing method to chose various combinations and
configuratins of gates to acheive the desired result.

Later, simple tools like Karnaugh maps and equations to
get cannonical forms ...etc. were use to replace the art
with some science.
--------
It seems to me that the pre & post conditions advocated
eg. by Eiffel provide a type of weak formal method for
software design ?

Occasionally, like now, I want to write a small routine to:
FOR StartLine TO EndLine DO
RemoveMultipleConsecutiveSpaces;
I.e. remove the extra spaces -- which I remember WS
could insert for text to fill the line nicely.

I'm too old & tired to fire up the attention and concentration
to do this without many iterations, and expect to just
modify a sample out of a library of examples.

Idealy such a library of example sources would include the
pre & post conditions like Eiffel or Oberon.

Q - are there online lists of examples for such trivial tasks,
perhaps eg. as part of Eiffel tutors ?

Thanks for any feedback,

== Chris Glur.

Reply With Quote
  #2  
Old 10-29-2007, 01:08 AM
CBFalconer
Guest
 
Default Re: Weak formal methods ?

problems@gmail wrote:
>
> First an analogy:
>
> when first small scale integrated circuits came on the market
> experimenters built digital circuits by busking since they
> didn't yet know how to 'read the score'. One used an intuitive
> designing method to chose various combinations and
> configuratins of gates to acheive the desired result.
>
> Later, simple tools like Karnaugh maps and equations to get
> cannonical forms ...etc. were use to replace the art with some
> science.


FYI Karnaugh maps, logical equations etc. were in common use back
in the 1930s, and date back much earlier than that. Telephone
systems, using relays, required lots of digital knowledge.

--
Chuck F (cbfalconer at maineline dot net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net>


--
Posted via a free Usenet account from http://www.teranews.com

Reply With Quote
  #3  
Old 10-29-2007, 05:45 AM
Georg Bauhaus
Guest
 
Default Re: Weak formal methods ?

On Sun, 2007-10-28 at 20:35 -0500, problems@gmail wrote:

> Occasionally, like now, I want to write a small routine to:
> FOR StartLine TO EndLine DO
> RemoveMultipleConsecutiveSpaces;
> I.e. remove the extra spaces -- which I remember WS
> could insert for text to fill the line nicely.


The STRING class has some routines that I guess will be
helpful here. See http://www.gobosoft.com/eiffel/nice/elks01/string.html

feature -- Access
...
feature -- Removal
...

If this requires too many intuitions, so to speak, you can also get
Lex style parsing from that place, and probably REs with replacements.


-- Georg Bauhaus


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 07:32 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.