HN user

kaffiene

37 karma
Posts0
Comments30
View on HN
No posts found.
[GET] "/api/user/kaffiene/stories?hitsPerPage=30&page=0": 500 Failed to fetch user stories

Are you kidding? You are a moron - this is as close to a smoking gun as you can get. You did get the part that there was NO relationship between the meaningless search phrases and the returned page right? What POSSIBLE situation could explain Bing returning the Google returned page without recourse to Google's search?

I've looked at it and thought it looked like a very clean and (for a functional language) quite readable. But the ties to MS's VM dooms it IMO. If they made it cross platform (JVM and / or native compilation) and put it in third party hands, then it might stand a chance.

BUT, I can't see Joe Public programmer adopting a functional language, even one as nice as F#

Saying that you can't think functionaly in Java is not a "bad habit" - that's a style choice. Likewise, being verbose is not a bad habit - it's an issue of style.

As for global state - using singletons is a design decision. If you don't like them, don't use them!

So many people on HN hate on Java just because they've made the switch to functional programming. All power to you, but none of what's good about FP makes Java bad - it's just different.

I'd agree that there are some inherent design issues with Java - I've never liked primitives and I don't like how generics were implemented but other that that, it's a really excellent tool for a number of tasks. Just because it doesn't look like what you like, doesn't make it bad (this reminds me of when Java came out in the first place and all the C++ programmers were saying that it was useless because it didn't have operator overloading. not bad, just different!)

Leaving .Net 16 years ago

GCC targets way more platforms and compiles way more languages than the Intel and MS compilers do. That's not an apples and oranges comparison.

You need to know what's in the Java libraries if you want to write to the Java libraries. If your code is all self contained, then you don't. So - open a Swing JFrame and you need to know where that is in the API and how to call it.

Practically, I don't think it really matters at all. But it's a very significant symbolic move. It sends a message about where the Java community is now in relation to Oracle.

Of more concern will be Apache's attitude to new development in Java. Will they continue to use it and to make cool new stuff in Java, or is this a breaking point for them in terms of using the tech?

Not true. The VM is very important. The consistent & unified memory model is why Java can do synchronising, threading, garbage collection efficiently, cross platform and consistently.

Also, HotSpot is really important. Java is an acceptable systems language at 80-110% the efficiency of C. It's not at 50% or less.

Oracle has been quite clear that Java will continue as it always has for normal, non-paying customers. Only the JRockit stuff which they were already charging for will be pay-for in the future.

But whatever, FUD away.

Bullshit. I work at a .NET shop who had to interoperate with another company developing WSDL based webservice in Java. They could do a whole bunch of stuff that we weren't able to do because Visual Studio didn't support all the stuff that they could do with their open tools (case in point: field level encryption - supported in Visual Studio Pro 2005 but none of later versions of VS that we use)

Actually, the results showed that there were a much greater range of Java programmer abilities than most other languages. There were more Java programmers in the top 10 than any other language, so asserting that Java is just for 'average' programmers is rather shown up for the baseless snobbery that I rather suspect is PG's basic attitude.

It's ironic since (as someone who was a C programmer for ages) we used to be seen as the uncultured pragmatists. Yeah, C is kinda crude but it's fast. When did that get turned into Hippydom? I'da thought all those dynamic languages were more hippyish with their (almost)anything-goes approach.

I was excited about Go until I started reading how it actually works. It seems to be retrograde in many respects and nowhere near a step forward with systems development languages. I see little to make you move from C++ to Go, and I hate C++.

I don't really see this as having much effect on Java at all. I see a lot of nerd rage at Oracle for how they've managed Java so far (including from me - I think Elison is a douche) but face it - nerds ain't the target market for Java. Nerds have hated Java from the outset - it's not cool enough, it doesn't have whizzy features from functional programming, it's too slow, it's too corporate, it's too hyped.

Well, now over a decade later and a tonne of real work has been done by real companies with Java. By people who don't give a shit about whether it's buzzword compliant or 'free as in speech'.

Nerds getting their knickers in a twist about freedom or whether you can write 'hello world' in 20 less characters, or whether you can implement currying in Java are just not the target market for Java and quite frankly, outside a very small cloistered world, they're not really an important market, either.

One day, Java will be superceeded, and I expect that it will be something akin to Gosu - kinda like Java, Java compatable but 'better' enough in some way to make people want to move - much like the C to C++ transition happened: people can keep their existing investments and codebases, but start doing new stuff in a way which adds some value. I don't think such a language exists yet - Gosu doesn't offer enough I think. But one day,

Github has won 16 years ago

Come on. Saying "yay Github" does not mean that Git/Github have 'won'. What does it even mean to say that, anyway?

"Yay Mercurial!" there we are, hg wins!! Whoo!!

Who the hell thought this counted as news? Even as opinion, it's wishy washy.

The article is FUD. Java is too important to too many people to not be around any time soon. Also, there's a GPL'd release and IBM's Java.

I disagree with Eckel on this one. The reality is that most of your tests end up being a matter of testing the things that the compiler would have done for you for free and that's the kind of thing that computers should be doing, not people.

Also, tests don't have 100% coverage whereas the compiler will enforce type correctness everywhere.

I've spent days hunting down bugs in Javascript which would have been automatically caught by a type checking compiler. That's just a waste of my time, as is reproducing all the type checking that the compiler would have done in the first place.

JDK 7 Features 16 years ago

You do realise that 'client side' includes people's own machines, right? You don't need to do applets for those.

Besides, applets are way way better now than they used to be.

Coming Home to Vim 16 years ago

I feel the same way about Emacs. I use IDEs for specific development tasks (I don't generally code Java in Emacs, for example, since Netbeans, Eclipse, Idea are all much better in that context) but where content is all over the place as it often is with net development, I use Emacs.