Better HN
topnewbestaskshowjobs
Log inSign up

Mesopropithecus

142 karma · joined Nov 11, 2018 (8y ago) · 58 submissions

Submissions

comment 3y ago · link · parent

To some extent yes, it's certainly influenced by Smalltalk. I just wish the author hadn't focused that much on control flow in that paragraph. Ruby afaik also supports live programming up to a point (REPL), but it's still not the same live-ness as in Self or Smalltalk.

comment 3y ago · link · parent

Not a fan of snarky comments generally, but this one made me laugh. And cry.

comment 3y ago · link · parent

The author's notion of OO is intentionally narrow. I don't know about Simula, but C++ is still reasonably close to Algol, compared to what Smalltalk and Self bring to the table (the author also mentions programming environments vs. text files).

If you accept that narrow definition at least for the scope of the article, it makes sense.

comment 3y ago · link · parent

Oh absolutely - my critizism is about the decision to make them lazy by default.

comment 3y ago · link · parent

TIL that the Clojure rationale doesn't mention or motivate lazy sequences which are all over the place in Clojure. That laziness (in collection APIs, duh) was a major reason that I stopped using the language more after 1 or 2 years of toying around. Maybe that concept was too foreign for me, but objectively lazy seqs don't compose with other language features like dynamic scoping.

Yet I'm happy I tried it, learned a bunch of stuff along the way.

comment 3y ago · link · parent

The raw margin (per unit) can be high even when the manufacturer is a poorly run company.

comment 3y ago · link · parent

ASUS Zenphone has a setting that lets you set a charging limit at 80, 90, or 100%.

comment 3y ago · link · parent

Cool stuff. What's funny is that when learning Smalltalk, I got used to proportional fonts for programming, but only in a Smalltalk environment. I still find it odd to see that in another editor, and I have no idea why.

comment 3y ago · link · parent

In what way?

comment 3y ago · link · parent

Just wanted to mention that amending the Swiss constitution is near trivial, one could start there :).

comment 3y ago · link · parent

My fist thought on reading the title and confirmed by looking at the article.

Looks like they meant C.

comment 3y ago · link · parent

Technology is one thing. I'm wondering why the crew weren't required to hand in the CVR right after the incident.

comment 3y ago · link · parent

Hasn't helped me either, and I'm in all likelyhood a bit younger than most people's dads :).

This is an anti pattern which good directly against the concept of "affordance."

comment 3y ago · link · parent

Given the car is lightweight while the fan generates such strong downforce, would it lift off if it was to actually flip over?

comment 3y ago · link · parent

> [...] most modern, procedural languages (C++, Go, Python, Java, etc.) all very similar in terms of their basic concepts. [...] With Rust, though, one needs to learn entirely new ideas — things like lifetimes, ownership, [...]

Maybe an oversight, C++ is misplaced in that list. C++ without knowing about ownership and lifetimes is a recipe for disaster.

comment 3y ago · link · parent

Cool, thanks! This sticks out from PL syntax criticism that goes along the lines of "not enough curly braces" etc.

comment 3y ago · link · parent

As somebody who appreciates Lisp, I feel your pain. As somebody who also appreciates Rust, I'm curious, what is your baseline?

comment 3y ago · link · parent

> Rust does require structuring programs in a "Rust way" to avoid fighting with things it can't prove to be safe.

That was my concern that I had when I started learning the language. I think it is true, but I was surprised how quickly I managed to get used to the Rust way.

comment 4y ago · link · parent

Thank you! I found that hard to dig up even on the linked page.

comment 4y ago · link · parent

Not following, which 1 reliable power system do you mean?

comment 4y ago · link · parent

Unfortunately you are right.

comment 4y ago · link · parent

Morality and legality are two different things. If your morality is at odds with Human Rights, maybe your country with DiFfErEnT mOraLiTy shouldn't be part of the UN. Last time I checked, Qatar was part of the UN.

comment 4y ago · link · parent

Mobilization could be a sign that it's no longer about face but about ass.

comment 4y ago · link · parent

Unfortunately the HN text input won't let me do this, but a funny starter for the article would have been this:

'(Spanish flag)'[::-1]

basically ''.join([chr(127466), chr(127480)]) vs. ''.join([chr(127466), chr(127480)])[::-1]

I'll add this to my collection of party tricks and show myself out.

Cool article!

comment 4y ago · link · parent

And worse yet, imagine you're liable for not supporting each and every new web standard that there is 100%, right away. Just to illustrate how absurd such a ruling would have been.

comment 8y ago · link · parent

What you mean is that C++ doesn't have a way to (easily) let you check whether a given reference is null or not. int* a = NULL; int& b = *a; compiles and runs just fine.
12