Hacker Newsnew | past | comments | ask | show | jobs | submit | debtta's commentslogin

The point is that the ability to extend the syntax of R leads to chaos and mess (in general) but when used correctly and effectively in the tidyverse, improves the experience of writing and reading code.


Python: easy things are easy, hard things are hard.

R: easy things are hard, hard things are easy.


Those are minutes not seconds.


D'oh!


The reason you see a lot of scratches on Duralex glasses in cafés and canteens is because they are so old, having lasted an order of magnitude longer than other glassware.


This is exactly the point.

There was a fifteen year period where the best way of finding out what something meant in a programming language was to Google it. Pre-AI, post the predominance of newsgroups and offline documentation.

Try googling "$|++". It just doesn't work. Never has.

Now Google "file.flush". First hit is the answer you need on SO.


You did not need to google anything. The complete documentation was right there, next to the interpreter, on your machine. Ready for scanning and reading from top to bottom; and broken in sections that were actually relevant; and ready to search in bulk if you prefered with whichever local search tool you cared for.

No need for google. (And google was run by python fans; probably saw no need to support searching for '$|++'.)

And I notice "post the predominance of offline doc". Well that's one problem right there: As of 2025, there is still nothing that beats perl 5 docs as ~260 man pages. Probably LLM-based AI is getting there, at least for people who have difficulty with text. But for the rest of us, it's VERY useful to know that there is solid (offline) doc.


Also to be fair, a modern Perl app doesn't even need to use `$|++` since the framework, even if it's raw Plack, will manage output flushing for you since you're no longer banging on raw stdout. I'd say Perl suffers from an even worse problem of legacy tutorials than PHP, but the size of PHP's userbase and thus sheer number of bad tutorials makes it worse there.

chromatic's https://modernperlbooks.com site is nearly unmaintained now, but still contains some good links to tutorials and whatnot on the obvious subject. Including a pretty recent retrospective: https://outspeaking.com/words-of-technology/why-perl-didnt-w...


Right, yes, exactly.


Unless you're part of the demoscene or your webpage is being loaded by Voyager II, why is 70kb of source code a problem?

Not wanting to use well constructed, well tested, well distributed libraries to make code simpler and more robust is not motivated by any practical engineering concern. It's just nostalgia and fetishism.


> why is 70kb of source code a problem?

Because javascript isn't compiled. Its distributed as source. And that means the browser needs to actually parse all that code before it can be executed. Parsing javascript is surprisingly slow.

70kb isn't much on its own these days, but it adds up fast. Add react (200kb), a couple copies of momentjs (with bundled timezone databases, of course) (250kb or something each) and some actual application code and its easy to end up with ~1mb of minified javascript. Load that into a creaky old android phone and your website will chug.

For curiosity's sake, I just took a look at reddit in dev tools. Reddit loads 9.4mb of javascript (compressed to 3mb). Fully 25% of the CPU cycles loading reddit (in firefox on my mac) were spent in EvaluateModule.

This is one of the reasons wasm is great. Wasm modules are often bigger than JS modules, but wasm is packed in an efficient binary format. Browsers parse wasm many times faster than they parse javascript.


Your answer proves my point.

You explained why 70kb is bad by pointing out that 3000kb isn't particularly outlandish.


> why is 70kb of source code a problem?

It isn't but then everyone does it and then everyone does it recursively and 70kb become 300MB and then it matters. Not to mention that "well constructed, well tested, well distributed" are often actually overengineered and poorly maintained.


Why should I change my name? He's the one that sucks.


I mean another theory is that those people are misguided and vexatious, and that this correlates with them not actually checking which Mark Zuckerberg they are sending their urgent complaint email to.


I just go by Ad Bad. Yeah I know about the other guy. E7 123 and the other college friends call me Ad Bad 3 and him Ad 88


Don't forget:

Eric Adams born 1960

Andrew Cuomo born 1957

Curtis Sliwa born 1954

Mamdani born 1991

On policing, on New York's relationship to Israel, on public transit, the so-called 'mainstream' is actually 'the average view of people over 60'.


The median age in New York City is 36.8 years old[0].

[0]: https://popfactfinder.planning.nyc.gov/explorer/cities/NYC?c...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: