Earlier quoted context omitted.
> The Oberon system writes those low-level components using intrinsic peek/poke functions (like some ancient BASIC!) that are recognised specially by the compiler and turned into direct memory modifications. This is clearly just as unsafe as pointers (probably more so), but it means you don't generally pollute the language to support some very specialised code. How is "val = PEEK adr" and "POKE adr, val" any less pol…
It shouts to you, "Take care something dangerous going on". Hieroglyphs are easy to pass by.
void DoSomeUnsafeStuffHere()
{
// regular code here. pointers verboten.
unsafe
{
// pointery stuff here
}
}
I think that is equally clear, if not even more. And again: I don't think this is any more polluting than weird out of place PEEK/POKE statements.