Better HN
topnewbestaskshowjobs
Log inSign up

wues

38 karma · joined Dec 30, 2014 (11y ago) · 16 submissions

Submissions

comment 5y ago · link · parent

Yes, the distinction between class and instance methods in an interface with + and - characters must be one of the most elegant solutions introduced in a programming language ever.

Seriously, I could never understand this claim of "elegance" of Objective C…

comment 5y ago · link · parent

In the case of Erlang the answer to your question about meaningful differences is: oh yes! I could list more, but there are two:

- support for concurrency. After tasting it you never will want to go back to techniques normally used in the languages you listed

- data immutability, which makes reading code so much easier.

comment 5y ago · link · parent

So you think that in USSR there were startups and private investors? Interesting.

comment 6y ago · link · parent

No I didn’t. The statement was that Typescript solves the listed issues, which is obviously not true. There may be of course discussion whether TS _helps_ to solve such issues but you won’t be able to convince me that TS _solves_ e.g. lack of testing.

comment 6y ago · link · parent

"We have problems, let’s introduce some code style guidelines, linting, error reporting and most importantly tests!" "Nah, let's just switch to Typescript, it will solve all those problems. At least partially."

comment 6y ago · link · parent

Erlang guarantees tail call optimisation.

comment 7y ago · link · parent

No it wouldn't. Sending three or four transfers from mobile banking app is for sure faster than finding bank number, calling them, listening to the info that the conversation will be recorded, listening to the menu, then listening to music interrupted with "we will be with you shortly" etc. I guess I could send 20 transfers at least during this time.

comment 7y ago · link · parent

I never said that this language would be simple. Just simpler than C++ we know.

comment 7y ago · link · parent

They all may have excellent C compatibility, but this is not the point. The point is that without C compatibility C++ could be smaller and simpler, and yet still meeting the same goals and covering the same use cases. Objective C has Smalltalkish object system glued to C base. Fundamental C++ techniques like RAII not possible there. D has GC. C# runs in a VM. I would not call a language with any of those features very similar to C++.

OTOH if not for C compatibility we would not have this discussion, since we would most likely never heard of C++.

comment 7y ago · link · parent

C compatibility was the very reason for which C++ is bigger, more complicated and less safe than a similar language not compatible with C could be.

comment 11y ago · link · parent

In "Thus Spoke Lem" - a several hundred pages interview with Lem - there is a chapter about Lem's likes and dislikes in literature. He is asked about books which influenced his thought and he mentions several of them, read when he was young. When asked about later influences he talks about GEB and Mind's I only. He says that again and again he sees in those books concepts similar to his own, but he is sure that Hofstadter reached them independently. I do not think that an English translation of Thus Spoke Lem exists.

Another connection between Hofstadter and Lem: in Le Ton Beau de Marot there is a chapter where Hofstadter discusses possible ways of translating How the World Was Saved from Cyberiad.

comment 11y ago · link · parent

A side note: Lem knew and liked GEB, and there are many similarities between e.g. dialogues in GEB and Lem's The Cyberiad.

comment 11y ago · link · parent

Don't destroy Joyce's wordplay: it is Finnegans Wake, not Finnegan's Wake

comment 11y ago · link · parent

Then Perl 6 aka 2000 would share the fate of Wordstar 2000. But I guess it will anyway.

comment 11y ago · link · parent

Oversimplification indeed - to the extent that for the first one year and a half of WW2 Germany and Russia were allies.

comment 11y ago · link · parent

Congratulations! Your accusation of Stroustrup's strawman is strawman itself.