Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

No, it's not. Oberon is just a generic half-assed language that is completely impractical in the real world.

It's just that Oberon is so generic that it looks literally like anything (e.g. pre-1.5 Java).

Go has several significant differences that made it far more useful:

1. Multiple return values for error handling. Its Oberon equivalent is bupkis. If you look at their examples, they just YOLO and print errors onto the console.

2. Multiple _returns_. The latest Oberon edition does not support early return from functions.

3. Structural polymorphism (objects automatically implement conforming interfaces).

4. Generics, and initially generic maps and slices.

5. Small neat language features like using the last component of the package path to refer to names.



Not liking Oberon is fine, but calling it a "generic half-assed language" is at best grossly ignorant of the effort that went into the design. Wirth had a very clear philosophy for his language, that he followed relentlessly. If you don't like that philosophy, you won't like Oberon, but there's nothing half-assed about it.

With respect some of your points, the lack of support for early returns is one of those philosophical decisions, as is many of the other "missing" features.

Many of them were implemented in various versions by students of Wirth. Polymorphism for Oberon was the subject of at two projects at EHTZ in the 90's, including an at the time fairly novel approaches for a runtime extensible vtable approach to polymorphism.

As for your #5, to me that's one of the most horific warts I can think of in the languages that use it, but again a question of philosophy, and certainly one aspect of Go I detest.

But to go back to Oberon, as a language user, I find Oberon too austere, but as an implementer, the design is beautiful in its simplicitly and how clean it is, and I wish more language implementers paid attention to Wirths work as a starting point, and paid attention to his systematic approach to language design - even if I'd prefer a result that isn't as minimalist.


thank you for a well written reply, that I did not have the patience to write.


> Not liking Oberon is fine, but calling it a "generic half-assed language" is at best grossly ignorant of the effort that went into the design.

Nope. I stand by my statement. Oberon is half-assed.

> With respect some of your points, the lack of support for early returns is one of those philosophical decisions, as is many of the other "missing" features.

And that's the thing. It's half-assery at best. It's easy to design "minimalistic" languages, after all, all Turing machine models are interchangeable. Especially when you care more about ideological purity.

Making good minimalistic, _practical_, and pleasant-to-use tools is an art. That's the difference between Oberon and Go.

> Many of them were implemented in various versions by students of Wirth.

Well, yeah. It's either that or be failed. So there's that. It's also why there exists pretty much no software written in Oberon outside of the ETH.

> Polymorphism for Oberon was the subject of at two projects at EHTZ in the 90's, including an at the time fairly novel approaches for a runtime extensible vtable approach to polymorphism.

??? The standard Oberon-2 uses single-class inheritance, without any interfaces/protocols/... It was implemented using regular vtables.

> As for your #5, to me that's one of the most horific warts I can think of in the languages that use it, but again a question of philosophy, and certainly one aspect of Go I detest.

Uhh... What? Package name prefix neatly sidesteps problems like "geo.Coords" vs. "screen.Coords" name clashes. It also serves as a guide to the reader of the source code. The classic packageless names are also available with dot imports.


> And that's the thing. It's half-assery at best. It's easy to design "minimalistic" languages, after all, all Turing machine models are interchangeable. Especially when you care more about ideological purity.

This is why I called this view grossly ignorant. No, it's not easy when you have the added constraint of producing a language that is practical enough to write an OS and applications with. Have you tried? How many such languages have you designed? Can we see the grammar?

Producing a small language that is Turing complete is easy, yes. And it is also entirely uninteresting if that is all you do.

Oberon was the distillation of many years, and several iterations, of work to find what worked effectively while remaining simple, and proving that it was practical to write a OS, and applications in it.

> Making good minimalistic, _practical_, and pleasant-to-use tools is an art. That's the difference between Oberon and Go.

Go might be practical, but calling it minimalistic is comical, and pleasant-to-use is highly subjective - I find it horribly unergonomic.

> Well, yeah. It's either that or be failed. So there's that. It's also why there exists pretty much no software written in Oberon outside of the ETH.

Entirely missing the point, which is that implementations existed and that including them in the official version of the language was a conscious design choice, rather than any indication it was "half-assed".

> ??? The standard Oberon-2 uses single-class inheritance, without any interfaces/protocols/... It was implemented using regular vtables.

Yes. And? I wrote what I wrote, and what I wrote is true. Nothing I wrote talked about "the standard Oberon-2". The entire point of the Oberon work at ETHZ was that it was a teaching language, and a lot of the projects involved experimental changes to the language and compiler.

To your mention of vtables, I was specifically thinking of Michael Franz' paper on Protocol Extension, that introduced a two-layer set of indirections to allow runtime extension with interfaces.

Again, the point is that not including these in the standard version of Oberon was a conscious choice.

A choice you're free to dislike, of course, but another example of why it is not "half-assed", but the culmination of many years of research by a lot of people.

Personally, I loved Franz' work on Protocol Extension to the point that my (buggy, temporarily abandoned, unfinished) prototype Ruby compiler uses his propagation method for vtable updates to allow for vtable-based dynamic method redefinition, and think it'd have been a great addition to standard Oberon, so it's not that I disagree that it could have used a more flexible way of doing OO.

But I do respect Wirth's extremely focused design, even where I disagree with it.

So I stand by what I wrote: To call it half-assed is grossly ignorant.

> Uhh... What? Package name prefix neatly sidesteps problems like "geo.Coords" vs. "screen.Coords" name clashes. It also serves as a guide to the reader of the source code. The classic packageless names are also available with dot imports.

I did not argue against package name prefixes, so this is entirely a strawman with no relevance whatsoever to my objection.


> This is why I called this view grossly ignorant. No, it's not easy when you have the added constraint of producing a language that is practical enough to write an OS and applications with. Have you tried?

I actually did, as a part of my CS course. My compiler had COM support (hey, it was late 90-s!) with IUnknown and IDispatch, optional static typing, and interface-based polymorphism. I could use it to compile the code for DOS, Windows, and Netware (don't ask). So yeah, I know exactly what is needed to design a compiler that can be used to write an OS.

It is not hard at all. And I did not know about Oberon at that time.

> Oberon was the distillation of many years, and several iterations, of work to find what worked effectively while remaining simple, and proving that it was practical to write a OS, and applications in it.

Oberon is an utter failure, in everything it touched. It failed in academia, it failed in industry, it failed everywhere. Despite being forced onto students in the ETH.

> Go might be practical, but calling it minimalistic is comical, and pleasant-to-use is highly subjective - I find it horribly unergonomic.

I though that Go was practically Oberon?!?

> A choice you're free to dislike, of course, but another example of why it is not "half-assed", but the culmination of many years of research by a lot of people.

Yeah? What culmination? What has Oberon achieved? Where are the masterpieces in Oberon? It's been 30 years since its original edition and the only major university that touched it was the ETH.

All the code I've seen in Oberon is just gross. Look at the Bluebottle/A2 source code, it's just terrible. No coherent error handling, poor structure, lots of unnecessary nesting in the source code, etc. You can even open something like UHCI USB implementation and compare it with Linux drivers.

> I did not argue against package name prefixes, so this is entirely a strawman with no relevance whatsoever to my objection.

When why did you mention it?


> It is not hard at all. And I did not know about Oberon at that time.

It's not hard at all when you cut off the design constraint that it should be minimal. You keep taking shortcuts and argue against positions that are very different from the positions I have taken, and I can't tell whether you're doing so on purpose or if you just fail to understand what it is I've written.

> Oberon is an utter failure, in everything it touched. It failed in academia, it failed in industry, it failed everywhere. Despite being forced onto students in the ETH.

Even if we were to postulate that you are right, this is another strawman that has nothing to do with your initial claim it was "half-assed".

(And most people should dream of having a "failure" that has provided as much inspiration to people as Oberon, as most people never will)

> I though that Go was practically Oberon?!?

You can have that discussion with someone who actually thinks that. I have not claimed that, nor would I. Go goes very significantly against Wirth's design ideals in many ways.

> Yeah? What culmination?

Do you not understand basic English sentence structure? "It" in the sentence you quoted refers to Oberon. In other words Oberon is the culmination.

> What has Oberon achieved? Where are the masterpieces in Oberon? It's been 30 years since its original edition and the only major university that touched it was the ETH.

Strawman. The claim you made that I objected to was the ignorant opinion that it was "half-assed", not that it was commercially successful or otherwise widespread. You seem incapable of actually defending the claim of yours I disagreed with, and keep trying to set up new strawmen with every new comment.

> All the code I've seen in Oberon is just gross. Look at the Bluebottle/A2 source code, it's just terrible.

Bluebottle/A2 has nothing to do with Wirth - it was developed after he retired -, so another strawman that says nothing about whether the design of Oberon the language was "half-assed".

Like a lot of your other complaints here, it seems to come down to you conflating the design of the language with what others have or have not done with it and/or conflating success with the quality of the design.

> When why did you mention it?

I haven't once argued against package prefixes. Read what I responded to again, and try not to assume I've claimed things I haven't. I objected to defaulting to using the last element of the package path.


God's multiple returns is, from someone whose primary language is Go for now, crap.

See https://herecomesthemoon.net/2025/03/multiple-return-values-... which goes into detail.


You don't get it. Oberon doesn't allow multiple _returns_, not merely multiple return _values_.

As in, you can't write "return val;" in the middle of a function.

FWIW, I don't like explicit error handling in Go, but it's undeniably minimalistic and practical.


Oberon-07 doesn't allow multiple returns, though Wirth tended to favour single return.

In Wirth's introduction of Oberon-07, he specifically gave an example of an Oberon procedure with multiple returns, and the corresponding Oberon-07 version, where a single return at the very end is enforced and the only syntactically valid way of including a return.

A decision I disagree with, but again a very explicitly motivated design choice - Oberon-07 in particular reflected years of looking largely at what Oberon could do without to achieve something that cut down complexity even further without being too limiting.

It's too austere for me, but the consideration with which Wirth approached his language design is still something I admire.


> A decision I disagree with, but again a very explicitly motivated design choice

As I said, he cared more about ideology. Early returns significantly improve imperative code. They are not necessary in fully functional languages, where you can easily juggle with blocks of logic, but Oberon is not such a language.

> It's too austere for me, but the consideration with which Wirth approached his language design is still something I admire.

It was basically: "my way or you're expelled because I'm the emeritus professor here".


> As I said, he cared more about ideology. Early returns significantly improve imperative code. They are not necessary in fully functional languages, where you can easily juggle with blocks of logic, but Oberon is not such a language.

His views on it are as much or little ideology as your views on it are. They are rooted in a view of design you clearly don't share. That's fine.

With respect to early returns, I disagree with him too, but I understead why he dislikes them - they do affect reasoning about a piece of code, and Wirth cared deeply about the ability to reason about the code more than about convenience.

You may not agree with that choice, but it's an entirely valid choice.

> It was basically: "my way or you're expelled because I'm the emeritus professor here".

That's extreme hyperbole, and just suggests you haven't read much of ETHZ's research output, which is full of dissertations and papers doing things Wirth didn't want in the standard Oberon. Including plenty of works he was the adviser for.

And given that Oberon-07 wasn't released until nearly a decade after he retired, it's also nonsense.


> His views on it are as much or little ideology as your views on it are. They are rooted in a view of design you clearly don't share. That's fine.

No. The practice of writing code has clearly shown that early returns lead to better structured code. It's not even disputable anymore.

> they do affect reasoning about a piece of code, and Wirth cared deeply about the ability to reason about the code more than about convenience.

Then he should have looked at functional languages, rather than missing the point of them completely.

> That's extreme hyperbole, and just suggests you haven't read much of ETHZ's research output, which is full of dissertations and papers doing things Wirth didn't want in the standard Oberon. Including plenty of works he was the adviser for.

OK. What are the superstar Oberon projects that are used by a large number of people? Can you name ANY? I don't know any, and I know unfortunately a lot about Oberon and its cult members.

I am familiar with ETH research, and I actually employ an ETH professor, and an alumnus. I don't think I've seen any mentions of Oberon in their highest rated recent ETH research.


> The practice of writing code has clearly shown that early returns lead to better structured code.

While I share that opinion, I recognise that it is, in fact, an opinion.

> It's not even disputable anymore.

For it to not even be disputable anymore you need a mountain of overwhelming evidence in the form of peer-reviewed double-blind studies. IIRC, there's maybe 2 papers that have very weak and never-reproduced evidence for early returns leading to better code in terms of cyclometric comlexity (not even "better structured", which is pretty subjective).


> No. The practice of writing code has clearly shown that early returns lead to better structured code. It's not even disputable anymore.

What is "better structured" is subjective. So, yes, it is very much disputable, however much you'd like it to not be. I happen to agree that it leads to better structured code, but I'm not arrogant enough to presume this to be an objective view, because the difference is very minor and is also largerly affected by coding style.

> Then he should have looked at functional languages, rather than missing the point of them completely.

Having looked plenty at functional language, the complexity of compilation of functional languages that are fast enough to be practical is vastly higher, and compilation complexity was a major aspect of his philosophy of what made a good language.

I'm all for making cautious tradeoffs to make developer experience nicer, but if you think he missed the point of them, you don't understand his philosophy on simplicity.

Again, it's fine to disagree with him about it, but a core part of the philosophy behind Oberon was to whittle the language down to what could demonstrably be implemented in a very simple but efficient way.

So again, when you call it "half-assed" while again and again demonstrating that you're ignoring the very extensive amount of thinking that went into the choices made, it makes it clear my initial assessment was right.

> OK. What are the superstar Oberon projects that are used by a large number of people? Can you name ANY? I don't know any, and I know unfortunately a lot about Oberon and its cult members.

Strawman. I've not suggested there are any "superstar Oberon projects that are used by a large number of people", so this has zero relevance to any of the things I've argued. You've either entirely missed the point of the sentence you quoted, or have run out of arguments.

> I am familiar with ETH research, and I actually employ an ETH professor, and an alumnus. I don't think I've seen any mentions of Oberon in their highest rated recent ETH research.

Which again has zero relevance to the sentence you quoted, which was in response to your ludicrous suggestion that 'It was basically: "my way or you're expelled because I'm the emeritus professor here"' in response to my statement about admiring Wirths approach to language design, after you went on about early returns - a feature Wirth introduced into Oberon-07 which he designed after retiring.

The projects I referenced happened in the 90's, while he was still at ETHZ. If you are familiar with the ETH research during the era, you'd be aware of a long range of PhD dissertations and technical reports that provided alternative feature sets for Oberon, as per what I argued above to show that the design of standard Oberon was concious choices to keep it minimal rather than some lack of effort. Wirth was an examiner for Franz' 1994 dissertation on JIT'ing Oberon code, for example.

You keep moving goalposts, and bringing up strawmen, because your initial claim that it was "half-assed" is entirely unsupportable.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: