Recent submissions

Comment · 5 years ago
I don't see why an argument needs to be made for it? Being anti-vaccine is anti-public safety and an active attempt to undermine the stability of the country and society. It should be viewed as terroristic.
Comment · 5 years ago
How does that make any sense? I put my card into the reader and it debited from my bank account. I didn't pull cash from an ATM and there was no ATM present in the business.
Comment · 5 years ago
> Yet you can't use a credit card to buy cannabis pretty much anywhere AFAIK.

Every dispensary I've visited here in the northeast accepts cash and debit cards, I assume they don't accept credit due to higher processing fees and higher risk of chargebacks rather than processors being problematic (otherwise they would not accept debit since they get ran through the same system anyway).

Comment · 5 years ago
> With project Loom, it will avoid the mistake of function coloring that async introduces. In a managed language, why not let the runtime automatically transform blocking calls to non-blocking, when it already knows what’s up?

Not saying it's a good or bad thing, but .NET and C# by extension has had these features for years (decades in some cases) while the only thing java has are half-baked prototypes and plans to 'maybe' implement things. In many cases these plans just get endlessly pushed back and new java major versions just become a pile of simple bugfixes which in the past were just pushed as minor jre updates.

Comment · 5 years ago
No they shouldn't. There are high-risk payment processors that will serve foreign intelligence operations like wikileaks, fascist political donation services, fraud-heavy industries like fiat to crypto onramps and socially regressive businesses like porn. There's no need to regulate low-risk payment processors as the industry is not monopolized in any way and it's trivial to find one that will take your money.
Comment · 5 years ago
Stop crying and get vaccinated, or find a way to make money without endangering other people.
Comment · 5 years ago
I guess you missed the 'new development' part of my original comment? Obviously it would be nonsensical to port a large extant codebase to a new language and tech stack if it's just being maintained.
Comment · 5 years ago
> Records, switch expressions, multi line strings and that is only language changes.

None of those are features, they were desperately needed shorthands for common java idioms. This is like calling braceless if/for/while statements 'features', when they're purely syntax sugar that has fallen out of favor completely because there's been several major security vulns found in major projects due to their use and development oversight/code review failure (https://nakedsecurity.sophos.com/2014/02/24/anatomy-of-a-got...), to the point where most companies ban writing them.

Just off the top of my head:

* LINQ. Added to C# in 2007, Java didn't get streams until 2014.

* structs/value types, implemented in net framework and net core for 15+ years, but not present in java 17. Some oracle engineers have been working to implement them under project valhalla but it seems to be vaporware at this point after 8+ years of work.

* unsigned types, no plans to implement in java (though IIRC it was originally planned as part of valhalla)

* async/await

At the feature level Java is stuck in the mid 2000s. Nobody wants to do the actual work on keeping it competitive.

Comment · 5 years ago
Valhalla isn't anywhere near complete and has been in development for 8+ years, C# had these features before valhalla was even planned.
Comment · 5 years ago
> take advantage of the jvm

In what way? It's slower and has less features than the .NET runtime.

> "no real reason" is a stupid take. I could list multiple, but a big one is that there are hundred java developers for each dotnet developer in my city. The java env is well tested and well understood, if anything one should argue why not use it instead of a hip and trendy alternative.

So, your only credible excuse for using java is inertia from boomers and middle managers refusing to adapt from the standard of the early and mid 2000s?

Comment · 5 years ago
Yes. It's ported to every mainstream CPU architecture and OS.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton