L'uso di questo sito
autorizza anche l'uso dei cookie
necessari al suo funzionamento.
(Altre informazioni)

Monday, September 30, 2013

How I Learned to Stop Worrying and Love Java coding

In the dreary, humdrum world of coding, your soul eventually shrivels in boredom, and you do not believe in miracles anymore. Things lose their magic and you - for instance - come to expect that  doing things like calling


will just cause your http URL connections to follow redirects. How trivial. That's life outside of Java programming: grey, unexciting, boring.

But throw Java in the picture and things start - to - happen, man! I could put it no better than in this helpful words  by mykong:
"The HttpURLConnection‘s follow redirect is just an indicator, in fact it won’t help you to do the 'real' http redirection, you still need to handle it manually."

Read this sentence over and over. Savor its absurdist, surreal quality. Feel your mind slowly slipping away. Turn on. Tune in. Drop out.

That's Java coding, for you, my dear.

No comments: