News for hackers. Stuff that matters.
Re:The memory safety problem isn't bad coders by goalieca on Tuesday February 12, 2019 @08:43PM (#19149607)
Java itself makes things a pain. Compare establishing a tls connection with a client certificate in python and in java. Guess which language has a secure one line way to do it.
Re:The memory safety problem isn't bad coders by coldtea on Wednesday February 13, 2019 @03:44AM (#19151494)
>Compare establishing a tls connection with a client certificate in python and in java. Guess which language has a secure one line way to do it.

Nothing in Java prevents a Java network lib from doing it in one line. In fact many third party network libs do just that.

(And Python had more or less a similar unwieldy network lib, which is why they now say "Requests is suggested" on their own standard lib documentation: https://docs.python.org/2.7/library/urllib.html ).

So again it's not the language (syntax + semantics), it's what's considered "idiomatic" and what's prevalent.

Re:The memory safety problem isn't bad coders by pjmlp on Wednesday February 13, 2019 @08:13AM (#19152747)
Still it is possible to write J2EE on any language (wrote J2EE on purpose).

I have it seen done in Clipper, C, C++ and I bet even Go will one day have its Go2EE, it just needs a bit more enterprise love.

Re:The memory safety problem isn't bad coders by Sohcahtoa82 on Wednesday February 13, 2019 @02:46PM (#19156206)
> Still it is possible to write J2EE on any language

Right. The difference is that for some reason, writing Java in the J2EE style seems to be the default, and rather than stopping the practice, people choose to hate the language instead, as if they think the J2EE style is required by the language.

Re:The memory safety problem isn't bad coders by pjmlp on Wednesday February 13, 2019 @03:51PM (#19156874)
Yep, I love how Java bashers get to deploy micro-services at scale, using Docker containers, managed via Kubernetes, with DSLs written via Terraform APIs.