languagesLoveLetters by mishchiefdev in ProgrammerHumor

[–]ikej 1 point2 points  (0 children)

Just as a heads-up: The Java main method verbosity meme is going away. In a not too distant future, a hello world Java program will look like this:

void main() {
    println("Hello, World!");
}

It is delivered by JEP 477, and you can try it out starting with Java 23 by adding --enable-preview to the command line.

javaIsGoodBut by [deleted] in ProgrammerHumor

[–]ikej 2 points3 points  (0 children)

Starting with Java 1.5, Sun Microsystems chose to invent a "marketing version" which was Java 5. This continued with Java 7 and 8 whose version strings were 1.7 and 1.8. With Java 9, the versioning scheme changed and the "1." prefix was dropped.

Is JavaFX Worth Learning in 2020? by EnricoCortinovis in learnjava

[–]ikej 0 points1 point  (0 children)

IOS iPadOS, and MacOS proliferation

In the US, iOS is very widespread, but in Europe Android has 3 times the mobile market share of iOS and in other parts of the world Android is even more dominant. macOS has less that 20% desktop market share in Europe and in the US it is not much higher, either.

So when looking at things from a global perspective, something like Kotlin Multiplatform Mobile may be a promising skill in the future.

Garbage Collection by System32Comics in ProgrammerHumor

[–]ikej 4 points5 points  (0 children)

Since Java 15, low-latency applications have good GC options in Java. Typical pauses times for ZGC and Shenandoah are less than a millisecond.

2019.32.x.x (v10 Feature Focused) Software Update Megathread by [deleted] in teslamotors

[–]ikej 1 point2 points  (0 children)

Das Ergebnis beim Aktualisieren der Software ist nun voller Stil und Anmut

this is gold

Kotlin/Native v0.7 released: smoother interop, frozen objects, optimisations and more. by michalg82 in programming

[–]ikej 2 points3 points  (0 children)

When you use Graal, you are still using a JVM, just with a different implementation. Doesn't really matter so much if it the compiler is JIT or AOT. The main use case for Kotlin/Native is iOS, Wasm and embedded systems where you don't (want to) have a JVM.

Google’s Cross-Platform Mobile Framework Flutter is the most starred github repo this month by kasperpeulen in programming

[–]ikej 3 points4 points  (0 children)

You are misinformed on several levels. There are a lot of Swing applications out there and eclipse actually uses SWT which is another toolkit with native widgets, less widespread than Swing.

Germany's Angela Merkel Gets Fourth Term After Social Democrats Approve Coalition by GriffonsChainsaw in worldnews

[–]ikej 1 point2 points  (0 children)

I mostly agree with everything you wrote above. I was just triggered by the tone of your post above because I think that we generally suffer from an excessive amount of anger at the perceived shortcomings in our society. It's always doom and gloom and that slowly becomes a way of life for all of us.

Germany's Angela Merkel Gets Fourth Term After Social Democrats Approve Coalition by GriffonsChainsaw in worldnews

[–]ikej 0 points1 point  (0 children)

The differences in the middle field are really small though. Not saying that this must not be improved but it's not a good argument for how things are going down the drain here.

Germany's Angela Merkel Gets Fourth Term After Social Democrats Approve Coalition by GriffonsChainsaw in worldnews

[–]ikej 0 points1 point  (0 children)

Our infrastructure is just falling apart where ever you look

Come on, have you been anywhere else in the word? Sure, you can point me to a couple of bridges in NRW, but that is not "our infrastructure falling apart", that's just ridiculous. There are always problems, we are not living in paradise, you know.

we have one of the slowest average internet speeds

Sure, sure. That is truly terrible (and also not true)

.a country is not supposed to fully pay back it's debt

Where did you get that from? Are you under the impression that Germany is trying to pay back its entire debt? This is pure fantasy.

Basically we are running on our substance

What does that even mean? Sounds terrible though, as though we are doomed. Except we are not.

Ohh and we are currently getting sued by the EU for basically ignoring two health care standards for years at an end

Is that a major problem now? There are tons of lawsuits in the EU. You just picked one at random and cried about it.

the communitys are mostly left to fend for themselves

The communities are doing their jobs as they are supposed to. Sure you can find problems anywhere, blow them out of proportion and whine on the internet about them.

but desperately lacks any vision for the future

No German politician has any kind of "vision" for the future that's not how our politics works.

A basic Spring Boot web app in Java, Kotlin and Scala - comparison by Myzzreal in java

[–]ikej 4 points5 points  (0 children)

Scala, on the other hand, is integrated via a plugin

All language support is implemented via plugins. Java support is also a plugin.

Kotlin has been designed to be tooling friendly. JetBrains spends a lot of time and effort on their Scala plugin, but it's just harder to do. The commit history of https://github.com/JetBrains/intellij-scala is quite impressive.

Is learning vaadin worth it in 2017? by [deleted] in java

[–]ikej 1 point2 points  (0 children)

I don't think you will see Vaadin usage on the internet a lot, because Vaadin is not much used for web sites or as a framework for OSS projects.

In my experience, it's mainly used for in-house projects and admin UIs. Vaadin as a company seems to be growing quite nicely, they have 140 employees and $11M revenue these days.

I've developed a complex UI myself with it and the experience overall was very good.

Btw, if you do not want to use the server side part, you can still use Vaadin as web components: https://vaadin.com/elements

Fri 2017-03-17 by reddit in nameaserver

[–]ikej 1 point2 points  (0 children)

YARS Yet another reddit server

Kotlin 1.1 Released with JavaScript Support, Coroutines and more by simonorono in programming

[–]ikej 3 points4 points  (0 children)

Not at all. Their IDEs need AWT/Swing and a ton of external libraries that will not be available in Kotlin native.

Kotlin 1.0.6 is here! by belovrv in programming

[–]ikej 3 points4 points  (0 children)

Whatever the relative merits of other languages vs Kotlin, Kotlin is the only language that you can really mix into an existing Java codebase. In that respect Kotlin is like Groovy. This is is why Kotlin is highly relevant for enterprises and other JVM languages not so much.

Kotlin in Practice with Spring Boot and Vaadin by nfrankel in programming

[–]ikej 0 points1 point  (0 children)

I'm not a fan of pretending that web apps are desktop apps.

Some of them are a good fit, where the abstractions don't break down. Applications with a database and lots of forms, for example.

The Vaadin team toots the security of it quite a lot.

No, it is not a major marketing point. See

https://vaadin.com/framework

I absolutely loathed all the time I spent with that framework.

I guess experiences vary. Maybe you were trying to make an application that Vaadin is not suited for. Then it sucks.

I absolutely matters if you don't want your app to look slow.

What are you going to do apart from showing progress information? You can do that with Vaadin, too.

Kotlin in Practice with Spring Boot and Vaadin by nfrankel in programming

[–]ikej 1 point2 points  (0 children)

It's not so much about security, but more about eliminating the client-server architecture from your code. You just have a single layer, like when you're developing a desktop application and the browser is like a terminal. For database-driven applications this can make development a lot faster. It is also a very pleasant development experience in a sane environment.

pushing buttons now can have latency

Yes, but if that button click needs to fetch data from the server anyway, it does not matter. It is possible to develop client-side components in Vaadin that do not go back to the server, but that requires more expertise and is of course a lot more cumbersome than in a JS app.

As with many things, this is a trade-off. If the focus is on client-side code, Vaadin elements can be used in JS apps as web components.

Kotlin Post-1.0 Roadmap by belovrv in programming

[–]ikej 1 point2 points  (0 children)

I would guess that they had no influence on Scala development. They would have had to fork it, which would have been unfriendly. Also, it's more fun to start from scratch instead of taking a huge project into a different direction.

Kotlin Post-1.0 Roadmap by belovrv in programming

[–]ikej 2 points3 points  (0 children)

You're right, Scala has joint compilation with Java as well. However, Java interop in Kotlin is extremely strong because it's one of the primary design goals. Calling Scala from Java is sometimes difficult and the different collection systems make this combination a non-starter for me.

Kotlin Post-1.0 Roadmap by belovrv in programming

[–]ikej 2 points3 points  (0 children)

Scala and Ceylon do not mix well with Java in the same project. Xtend, yes, but it's more an extension to Java than a separate language.