News for hackers. Stuff that matters.
Re:Anders Hejlsberg: You Can't Maintain Large Programs in Ja... by Tichy on Monday June 04, 2012 @07:59AM (#4063589)
Then I guess you use your own frameworks and have a very special use case that shields you from the typical pains.

Maybe it is possible to use Java in a sane way. But there are for example best practice guidelines by Sun/Oracle. If you try to follow all that stuff, it will be painful.

Also most libraries for Java were written other Java developers. For example the other day I tried to send a simple Twitter update with Twitter4J (I think that was the name, might mistake it with another one). After an eternity trying to figure out how to configure OAuth with the AbstractAuthenticationProviderAuthenticatorCredentialsMessUpperInterfaceImpl (which requires clicking through several levels of the API dopcs to get the hang of), I eventually gave up and just used a 10 lines Ruby script instead.

Re:Anders Hejlsberg: You Can't Maintain Large Programs in Ja... by yummyfajitas on Monday June 04, 2012 @10:36AM (#4064159)
A twitter4j update, taken directly from their webpage:

    Twitter twitter = (new TwitterFactory()).getInstance();
    Status status = twitter.updateStatus("hello from Twitter4j");
You also need a 4 line twitter4j.properties file containing your assorted tokens and secrets. It's a bit longer than 10 lines, but still pretty straightforward, even with the use of a (probably unnecessary) TwitterFactory.

By the way, I said java is a simple systems programming language. It's not what I would reach for if I wanted to update twitter either.

Re:Anders Hejlsberg: You Can't Maintain Large Programs in Ja... by Tichy on Monday June 04, 2012 @11:44AM (#4064459)
Maybe they updated their homepage since then (it was a couple of months ago).

What do you mean by "systems programming"?

Re:Anders Hejlsberg: You Can't Maintain Large Programs in Ja... by yummyfajitas on Tuesday June 05, 2012 @08:28AM (#4068342)
"Systems programming" is a poorly defined term, but it generally refers to building operating systems, databases, event buses, that sort of thing.

Redis <- systems programming

Aggregating your tweets in redis <- application programming

Re:Anders Hejlsberg: You Can't Maintain Large Programs in Ja... by renwick on Tuesday June 05, 2012 @08:34AM (#4068356)
I had a similar problem - also dismissed Twitter4J etc. as too complicated and wrote a 50 line Java method to send a tweet (signature: tweet(tweet, consumerKey, consumerSecret, accessToken, accessTokenSecret) ).

So presumably it's the culture you don't like, rather than the language.