Better HN
topnewbestaskshowjobs
Log inSign up

3b9cd7355317f55

6 karma · joined Oct 26, 2018 (8y ago) · 5 submissions

Submissions

comment 8y ago · link · parent

> Advertising is almost always an attempt to emotionally manipulate people by lying to them.

And lying is similar to violence in that both can be used to make you do what you otherwise would not do, and in particular can be used to make you act against your interests (an observation due to ethicist Sissela Bok). So the description of "abuse" is appropriate.

comment 8y ago · link · parent

> Besides, why is there a lack of exposure? Why, because everything else is different. But why is it different? Isn't the obvious conclusion that Algol syntax family is vastly more prevalent for the simple reason that people prefer it, and simple homoiconicity is not sufficiently enticing?

That is just confusing cause and effect.

> All arguments in favor of Lisp syntax feel like they ultimately boil down to "you're holding it wrong". And that may well be so - but if so many people are finding it so awkward to hold, isn't that prima facie evidence of ergonomic deficiency?

You are confusing cause and effect again, this time by implying that there is something fixed about the way people learn languages (Chomsky's "language organ"). Learning is not like the shape of your hand.

Once you learn structured editing, Lisp code can be written and changed in much fewer keystrokes than code expressed in a more complicated grammar, which is actually ergonomic.

comment 8y ago · link · parent

> It's considered OK because the extra syntax carries semantic weight, and the semicolons disambiguate intent for the interpreter (because while semicolons are optional in javascript, leaving them out can lead to errors.)

Which is a very roundabout way of saying that JavaScript has a very complicated grammar. Is it necessary? No, it isn't. People use and love languages with much simpler grammars, such as FORTH (reverse Polish notation), APL (monadic and dyadic algebraic notation), and Lisp (fully parenthesized Polish notation).

comment 8y ago · link · parent

You can exec a C compiler and use dlopen on the generated object file, or use libtcc[1].

https://www.bellard.org/tcc/

comment 8y ago · link · parent

> For pure programming it's an unnecessary requirement/burden (unless you love maths). HtDP is better in that regard.

I disagree strongly on that assertion. The mathematics in SICP was what made it stand out for me, and what got me into programming. Other books I read before that just presented programming as an opaque thing where you follow instructions and write incantations without any rhyme or reason.

In general terms, the math-phobia that has been prevalent in computer programming for the past 20 years is a new phenomenon (I have not seen it in literature from the 1990s or earlier, or heard it from old-school programmers and CS people) and is at its core deeply anti-intellectual. An example of this dumbing down is the current crop of JavaScript "devs." This runs all the way to the semantics of the language: one of the most idiotic decision made in JavaScript is overloading '+' to concatenate strings. Commutativity? Associativity? Algebra? Get out of here with this math nonsense.