DEV Community

Discussion on: A quick look at Java 11's HttpClient

pojntfx profile image
Felicitas Pojtinger

Nice article!

I have to say though; the more I learn about Java the more I love JS:

const res = await fetch("");
const text = res.text();
Enter fullscreen mode Exit fullscreen mode
aussieguy profile image
Anthony Bruno Author

Thanks for reading :)

Unfourtantly, Java does have a verbosity problem, especially compared to a dynamic language like Javascript! fetch does have a great API. It's much nicer than the older XMLHttpRequest.