TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: AHEM A RIVET`S SHOT
from: THE NATURAL PHILOSOPHER
date: 2019-02-24 11:05:00
subject: Re: Rre: C is not a low l

On 24/02/2019 10:03, Ahem A Rivet's Shot wrote:
> On Sun, 24 Feb 2019 09:27:19 +0000
> Gareth's was W7 now W10 Downstairs Computer  wrote:
>
>> AIUI the whole purpose of the cast facility is to be able to cast a
>> number as an integer pointer for accessing memory=mapped I/O.
>
>  That is one use for it, far from the only one. It is also very
> useful in many situations where an OO approach might seem more natural but
> the efficiency of directly controlling the memory behaviour matters.
>
If you want OO *structure* you can use it in pure C by using siource
fuiles littered with STATICs and conatining their own data  and their
won menss of modifying te dayta by function calls.

Operator overloeading? The whole reason I write in C is precisely
becaiuse I do not want inadvertent passing of a numercal string to a
function expecting an integer to second guess me. It's a MISTAKE, not a
feature.

OO langeus are like fixed speed linmits. Ok for numpties but a pain in
te ass for peoole who know how to drive in all conditions.

And then we hasve 'code generators' because no one can program in them
anyway...


--
"And if the blind lead the blind, both shall fall into the ditch".

Gospel of St. Mathew 15:14

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.