Subject:
|
Re: legOS and alternate operating systems [now off topic]
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Wed, 30 Dec 1998 20:12:44 GMT
|
Original-From:
|
stephen p spackman <STEPHEN@ACM.saynotospamORG>
|
Viewed:
|
1248 times
|
| |
| |
Norman Fair wrote:
> I don't know what language was used, but I'd guess it was object oriented.
> Unlike older languages that only compile the routines that are actually
> used, object oriented compiles everything. That's why a program written in
> C++ is up to 100 times as large as the same C version.
The implication of this statement is that 99% of a traditional C
programme was unused and discarded by the compiler. If so, there's
something mighty unusual about your coding style :-).
My own suspicion is that in fact "object oriented design" as now
promulgated (and as distinct from old-school OO) is actually an
anti-methodology: it legitimates various kinds of ad hoc hacking - like
massive cut-and-paste "code reuse" (true code reuse having to do with
abstraction, not replication) - that are traditionally frowned upon by
academics but pandemic in industry.
...So along comes OO saying that everything you always did in industry
and got sneered at for is now ok - and you get an instant win on PR
(which is usually where languages win or die, sadly).
It's also the case that nowadays *everyone* tries to use C++ while in
the old days C was something you "graduated" to after you already had a
full set of clues. And C++ is about five times more complex than C.
Oh, and of course even I've been known to go, great, I can now BUY a gig
of RAM - let's use a BIG table....
Ach, but I'm cynical in my old age.
stephen
--
Did you check the web site first?: http://www.crynwr.com/lego-robotics
|
|
Message is in Reply To:
| | RE: legOS and alternate operating systems
|
| I don't know what language was used, but I'd guess it was object oriented. Unlike older languages that only compile the routines that are actually used, object oriented compiles everything. That's why a program written in C++ is up to 100 times as (...) (26 years ago, 30-Dec-98, to lugnet.robotics)
|
4 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in Robotics
|
|
|
|