Comment

Comment by theamk

In the code the link points to, I just see another C-like language.

What "good ideas" should I be looking at? I am not Oberon expert, but in any other language I'd say this code is pretty bad:

- logic errors: We keep going even if error occurs (none of the error checks have return in them).

- In two different source files, "System" is imported under two different names. Is this just to confuse the readers?

- Hardcoded string length (Mod.s:17). If someone to change the message, you have to be very careful to update the length.

- Arbitrary constants (why '2' in Mod.s:23)?

parent theamk 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton