There is nothing wrong with early exit, but you have to be sensible.
Just like there's nothing wrong with the ternary operator if you are sensible. I've seen nested ?: abominations that would make Jesus give you a funny look.
I disagree, I think returns should either be at the very start (checking inputs should be able to return before anything happens based on invalid inputs) or at the very end. Proceeding to do a bunch of stuff & then try to undo it because an input was invalid is error-prone.
If the input parameters are invalid there is an error in the program so it makes more sense to use the assert function. Why would you need to undo something due to the restriction of a single point of exit?
Then there is the joy of making the program source code as easy as possible to comprehend. This motivation seems to be rather unusual among programmers unfortunately.
The Scala community soap-opera was a total shit show. Both of the women involved later ended up in relationships with Travis Brown, another prominent and extremely controversial Scala figure. Travis then entered a long running war against John De Goes and a bunch of other people in the Scala community before rage-quitting.
I don't believe the women entirely made it up, or that Jon Pretty is entirely guilt-free. Likely he is a narcissist who took advantage of his status to pursue sexual relationships where there was a huge imbalance of power. Maybe this strayed into manipulative gaslighting, I don't know. But it also seems entirely plausible that the women in question desired a relationship with a powerful older man and that the relationships were essentially consensual. It's a mess of power, sex, alcohol, a lack of shared social norms, and overlapping social and professional relationships. Quite where the truth lies between "totally non-consensual gaslighting" and "consensual relationship with large imbalance of power" I don't claim to know.
No one said it was all lies actually. Even the guy. He could say "I didn't sleep wih a young attendee of a conference I helped her get into, after getting her drunk at my airbnb". But he just vaguely said "fake evidence" and "short relationship". If what she said is true, "short relationship" is hella euphemism
Two separate classes in my University course was entirely done in Eiffel, I came out with the view it ran businesses everywhere and then never heard it again in the 25 years between then, and reading your comment above.
No, "modules that hide design decisions" implies modular programming. I think schools should teach modular programming before object-oriented programming. Then this confusion wouldn't arise so often. For a small modular programming language (which also supports OOP), have a look at Oberon:
I think it would be a good idea to define a subset of the current web technologies and make all important sites like banks, tax office etc. to adhere to this standard basic functionality. It also needs a logo which can be used on these sites.
We used to have such a thing: it was called HTML. Sites were supposed to have their content in the HTML, and if JS wasn't enabled, you'd still get the semantic hypertext. A vast majority of web pages are text and images, and don't actually require fancy CSS/JS. But the ship of progressive enhancement has long sailed,[0] and tons of static sites have JS, and all the hundreds of APIs that entails, baked into their functionality. Hell, there are many sites nowadays that will use JS to stream the HTML to your device for some reason.
[0]: JQuery/AJAX were probably the beginning of the end. But even without those, you had developers doing things like putting main images in CSS using the background property, overloading text with icon fonts, loading videos using "blob:" crap, or other abuse of semantics. Once it became possible to push more state to the browser instead of the server, the floodgates opened. I remember in the dial-up days, you could take a browser offline, and webpages would function perfectly, yet now, even hitting the back button can be a gamble. Now, hitting File > Save fails 95% of the time for me.
https://news.ycombinator.com/item?id=20311080