Re: Computer programmers' habits in electronics



Ignoramus10397 wrote:

On Tue, 20 Dec 2005 18:57:14 +0000, Dirk Bruere at Neopax <dirk.bruere@xxxxxxxxx> wrote:

It depends.
I normally start by writing all the drivers that will actually interface with bits of hardware. That doesn't really take much 'design' in the normal sense of the word, but it gives me something to flash lights with.


Then I start at the top end and sketch out what classes/functions I need to get down to driver level.

Right now I'm into a control system being written in C++. It will probably top 3000 lines when complete, but I still do not need a formal design methodology.

I have spent a great deal of time on the control protocol that interfaces with a PC. That determines the data structures and hence classes. It's all quite straightforward.

Now, if I was having to collaborate on a bigger prog then formal methods would probably be indispensible.


Not necessarily, if you have good programmers to work with, you can
agree on who writes what libraries and in approximately what ways.

The biggest programming job I have worked on was one that topped (I estimate) 30,000 lines. There were two of us on that, and we needed only informal get-togethers to split the tasks reasonably smoothly.


Of course, what makes the job I am currently working on even easier is that I'm designing the h/w along with the s/w. However, I *will* be using circuit diagrams!

--
Dirk

The Consensus:-
The political party for the new millenium
http://www.theconsensus.org
.



Relevant Pages

  • Re: When is a function not a function?
    ... a DOM element and Array or a value with falseness. ... betrays very poor code design. ... subject of the test is expected to be any of a javascript function ... There is nothing to say that an object implementing the Node interface should not be a function object. ...
    (comp.lang.javascript)
  • Re: XP Requirement Analysis?
    ... and use TDD to force the same design to emerge. ... > These principles, used with other XP situations like pair programming, ... OK, but you need to know what that interface is, so you must do some ... to buy a business value. ...
    (comp.object)
  • Re: New to JUnit... Eclipse Question
    ... You create the interface to get the caller to compile then you have to write the implementation to get it to pass. ... I've argued before with someone claimed that according to YAGNI you would never create an interface until you have two classes that would implement the interface. ... its not a license for being dumb or lazy and making stupid design choices - see the end of this email for an account of when it did happen on one of my previous teams. ... So there are many good reasons for using interfaces even if you don't have a bona fide "need" yet. ...
    (comp.lang.java.programmer)
  • Re: OO applications (2)
    ... >> Thanks Alex for mentioning minimal interface; it is a more focussed expression ... >> 4) Is a desirable first step for any software design task. ... Imagine these steps are consecutive segments of a circle. ...
    (comp.os.os2.programmer.misc)
  • Re: Questions for DesginersArchiects
    ... I am familiar with the design you mention, I suppose I would just love to ... business classes might help to connect the data in the database with the ... a change is necessary in either the interface or the data? ... ..Net Developer ...
    (microsoft.public.dotnet.framework.aspnet)