News for hackers. Stuff that matters.

teslalang

Re:Java Concurrency – Understanding the Basics of Threads on Saturday October 31, 2020 @04:02PM (#24954720)
As with most other compromised social sites, no badthink allowed here and how dare you.
If you care about your kids’ education, home school them.
Re:Toward an API for the Real Numbers on Tuesday October 06, 2020 @04:24PM (#24701961)
Representing reals as fractions (rationals) goes a long way toward achieving this goal.
Re:DOS Subsystem for Linux on Tuesday September 22, 2020 @02:52PM (#24558379)
Perhaps the confused commenters should read the post before commenting. Crazy as that sounds.
Re:Raspberry Pi 4 can finally boot directly from USB on Saturday September 19, 2020 @06:03PM (#24530613)
Big improvement over having to use SD chip!
Re:Type-safely embed DSLs directly into Java on Saturday September 19, 2020 @05:52PM (#24530547)
Amazing! Reading the posted link this looks much bigger than embedding, which is crazy impressive btw. Do you anticipate building support for more resources? I notice you have GraphQL support... what about SQL?
Re:Type-safely embed DSLs directly into Java on Saturday September 19, 2020 @05:38PM (#24530479)
> Except it is not really embedded in Java, only in comments.

Java comments are Java. Embedding = in Java source, which requires some kind of delimiter, so the author conveniently repurposed multiline comments for that which is fine. Also, if you read the post, it clearly states you embed fragments in either comments or strings, if the fragments is a declaration vs a value.

> I sincerely hope this dies a quick death.

Why the hostility? If you have something constructive to offer, great, otherwise this is the kind of comment that gives HN a bad rep.