#What goes where?
17-Feb-88 03:45:51
Sb: #109551-#What goes where?
Fm: Ben Blish 72667,1341
To: John Draper 76703,4322
This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.
I disagree – I think a language ought to check types when you're messing
with pointers – I think it ought to handle casting and conversions of
numeric arguments w/o squealing at you, and in a completely predictible
(defined, standardized, etc) way. However, if I'm pointing at an 8-bit
entity, the compiler does things to the pointer (hopefully) for me like
increment, decrement, etc… in the size of the entity; therefore, I wanna
know if I point at a 24 bit entity with that pointer; – so…. I think that
is a reasonable canidate for casting.
Numeric types, no way. BTW – I can think of plenty that's wrong with 'c'…
limitations I would rather not have, features I'd like to see removed; but
I still think it's by _far_ the best language around that I've messed with
at all, barring assembler; Of course, if I had unlimited time, I'd _always_
write in assembler – that, and a totally stable environment, so's I
wouldn't be caught flatfooted by revs and so on. but, since I need to get
things done NOW, I use 'c' – the next best thing…. another thing 'c'
buys you, on this machine, that I _really_ like, is a huge common ground
with other amiga people who are writing complex system-level things…
M2 and all the rest are just too limited for me to take a serious interest
in for programming serious things. And I don't have time or energy to play
with multiple languages… however wonderful they may be, which btw M2
isn't. hehehehe. On another subject… I noticed a lot of flack about a
compiler's having no way to bounds check an array you allocate at run time
– gee….. <musing> doesn't seem all THAT hard… another subject for
casting, or an equivalent operation. (If you WANT bound checking, of course
– Yech!) –Ben–