News for hackers. Stuff that matters.
Re:Jodd – The Unbearable Lightness of Java by JustSomeNobody on Friday March 27, 2015 @08:12PM (#9279868)
Java desperately needs more of this. It's a good language and a great platform. A lot of people don't want to look at it because they've heard (or experienced) horror stories about the huge frameworks. Enterprise development doesn't have to be that way!
Re:Jodd – The Unbearable Lightness of Java by untog on Friday March 27, 2015 @08:35PM (#9279953)
I've long thought the same about C#. I haven't worked with in years now but I loved it when I did, and thought the reputation given to it by horrific enterprise development was never deserved. You can be amazingly concise with that langauge.
Re:Jodd – The Unbearable Lightness of Java by rdtsc on Friday March 27, 2015 @09:14PM (#9280060)
I just got use it on Linux via Mono and gotta say, it is a pretty nice language. I used to dismiss it because of Microsoft's influence and its being tied to thier .NET. But recently due to Microsoft open sourcing part of it, hopefully Mono will pick up some more change, and I think there is some space for server side C# on Linux.
Re:Jodd – The Unbearable Lightness of Java by Locke1689 on Friday March 27, 2015 @09:23PM (#9280081)
We're bringing CoreCLR to Linux/Mac (in the open) as we speak so hopefully you won't have to worry about ever being a second class citizen.
Re:Jodd – The Unbearable Lightness of Java by ghuntley on Saturday March 28, 2015 @01:07AM (#9280578)
We, another team not related to Locke1689, are bringing the CoreCLR to FreeBSD. 'Gotta prevent linuxims like #!/usr/bin/bash from infiltrating the codebase.

Discussion and project planning is happening here:

https://github.com/dotnet/coreclr/issues/455

If you want to help out make sure you stop by and say hi :-)

Re:Jodd – The Unbearable Lightness of Java by rdtsc on Friday March 27, 2015 @09:39PM (#9280110)
What happens to Mono then, are you talking to them?
Re:Jodd – The Unbearable Lightness of Java by jdmichal on Friday March 27, 2015 @11:26PM (#9280381)
The .NET team has always been on friendly terms with the Mono team. I'd imagine the Mono devs will either keep doing their thing or will merge into the mainline at some point. There's Java VMs that are even commercial, as in people pay for them. I'd imagine that there's certainly enough space for a couple competing CLR platforms.
Re:Jodd – The Unbearable Lightness of Java by ghuntley on Saturday March 28, 2015 @01:09AM (#9280582)
Merge - Xamarin are getting out of the language game and instead focusing purely on mobile. As much as possible the new MIT licensed .NET will replace pretty much all of Mono that isn't Mobile (iOS/Android/Mac) related.

https://twitter.com/migueldeicaza/status/581068613542649856

https://trello.com/b/vRPTMfdz/net-framework-integration-into...

Re:Jodd – The Unbearable Lightness of Java by alexhill on Saturday March 28, 2015 @12:31AM (#9280519)
Re:Jodd – The Unbearable Lightness of Java by ghuntley on Saturday March 28, 2015 @01:05AM (#9280573)
mono + .net are merging, see the following Trello board to track the status https://trello.com/b/vRPTMfdz/net-framework-integration-into...
Re:Jodd – The Unbearable Lightness of Java by ghuntley on Saturday March 28, 2015 @01:12AM (#9280588)
If you ever come back to C#, make sure to check out http://reactiveui.net ;-)
Re:Jodd – The Unbearable Lightness of Java by aikah on Friday March 27, 2015 @10:25PM (#9280229)
if you ignore webforms C# doesn't have the "bloat load" Java has really.
Re:Jodd – The Unbearable Lightness of Java by ghuntley on Saturday March 28, 2015 @01:10AM (#9280586)
Yeah but no. You know those fancy FRP frameworks, ever wonder where they got their inspiration from?

https://rx.codeplex.com/

Re:Jodd – The Unbearable Lightness of Java by edwinnathaniel on Saturday March 28, 2015 @12:34AM (#9280526)
Such as...?
Re:Jodd – The Unbearable Lightness of Java by JustSomeNobody on Friday March 27, 2015 @11:00PM (#9280319)
Oh I agree with you, C# is definitely a nice language as well.
Re:Jodd – The Unbearable Lightness of Java by zak_mc_kracken on Saturday March 28, 2015 @01:40AM (#9280626)
I don't know about that.

Bloat bothers me, but it has benefits too.

Why is C++ so successful? Because it contains a lot of features. Ask random C++ developers what their favorite feature of C++ is and you will get a very wide spectrum of answers.

I see Java libraries a bit like this: they are not liked because of the number of features they have but because I definitely need some of these features, and as long as I can use them without having to understand the rest of the library, I'm good.

Guava is a very good example of this: an assortment of convenience functions from a very wide range of domains that you can use without ever having to read or understand the entire Guava documentation.

Having small libraries is pretty much a guarantee for subtle bugs because the author went for the 80%/20% approach and then moved on to the next project. Joda is a good example of that: time libraries are extremely difficult to get right, and yet getting them right is absolutely critical. I will gladly pay the price of including the entire Joda library in my application even if I use 10% of it just for the certainty that it's battle tested, something I very much doubt the collection of libraries presented here does.

Re:Jodd – The Unbearable Lightness of Java by danieldk on Saturday March 28, 2015 @03:12AM (#9280727)
Ask random C++ developers what their favorite feature of C++ is and you will get a very wide spectrum of answers.

That's what is always said, but is it actually true? I think a couple of answers will be prevalent and at the top of the list:

- Deterministic destruction

- Manual memory management / no GC

- Templates

- C interoperability

Would be fun to actually do such a survey and see if there is more spread than other languages.

Re:Jodd – The Unbearable Lightness of Java by MereInterest on Saturday March 28, 2015 @09:48AM (#9281472)
I'd also add operator overloading, though that tends to go hand in hand with templates. The fact that I can write numerical code that works for say, any type that implements addition and scalar multiplication, is wonderful.

In Java, as far as I know, this would be utterly impossible, because implementation of interfaces must be explicitly mentioned. Even though Double implements addition and scalar multiplication, it could not be used in such a function because it doesn't explicitly state that it implements such an interface.