Better HN
topnewbestaskshowjobs
Log inSign up

LessDmesg

45 karma · joined Oct 12, 2019 (7y ago) · 233 submissions

Submissions

comment 7y ago · link · parent

What I find repulsive is that macros are a micro-optimization for the author but a huge destroyer of readability. Consider a simple macro like "if-not" - just an inverted if. In a lanaguage without macros, the maintainer can be sure that there is only one construct like if. The eyes can skim over code, easily understanding semantics of the code without reading into it. Now consider the mere possibility that some if are if-nots: suddenly the mere ifs become a minefield for the reader. And if LX claims ability to eg modify the semantics of X.Y - it's going to be an unreadabe mess.

My point is, readability of code increases proportionately not just to the complexity and size of code, but also proportionately to the size of syntax. In a language with no macros, the latter is fixed and you get a linear dependency. In extensible PLs it's a quadratic one with an unknown second factor, jeesh! I think the approach with a more powerful but almost fixed language (eg Haskell where macros are hard and mostly used to generate boilerplate definitions) is better than a small but extensible language with every programmer on a contest of who makes a wittier and sleeker new control structure that is like the builtin ones but SO much cooler...

comment 7y ago · link · parent

Hmm, one might think there's a trend in how almost none of the 'programmable programming languages' catch on. Lithp, Rebol, Forth, Nemerle, this one. Perhaps it has something to do with readability being more important than writeability? Me, I find macros and implicits repulsive. Give me Zig over LX any day (Zig purposefully contains no macro facility).

comment 7y ago · link · parent

Science is not determined by consensus. It's determined by fact. If 100% of scientists paid for by a government declare what the government wants to hear as "fact", it does not become fact. Especially if it's based on arbitrary models that have been shown wrong. In the 1970s the "scientific consensus" was about global cooling, now it's about global warming, and Al Gore promised that Manhattan would be submerged underwater by now. The truth is, there is no model proven to be accurate in predicting the Earth's climate even over a timeframe of 50 years.

comment 7y ago · link · parent

Nah, the "environment movement" as you call it is obviously funded by the governments looking for an excuse to raise taxes. It's the governments giving away grant money to fund the "scientific consensus" (another ridiculous term).

Meanwhile, this has nothing to do with "saving the world", only with the sovereign debt crisis. United States, EU and Japan are dead broke, they will try every ploy to raise taxes and steal from the "evil rich people", even if it means ending the Western Civilization.

1
45678