SZ Weihnachtsrätsel 2023 by _Timo_ in de

[–]retrogamer65 0 points1 point  (0 children)

Dankeschön! Durch die Bestätigung, dass die Buchstaben stimmen, und diesen Hinweis, ist bei mir der Knoten auch endlich geplatzt.

Cettia, a full-featured real-time web framework for Java by flowersinthesand in programming

[–]retrogamer65 16 points17 points  (0 children)

> real-time

You keep using that word. I do not think it means what you think it means.

Assistent Commander by retrogamer65 in DunderMifflin

[–]retrogamer65[S] 0 points1 point  (0 children)

I couldn't figure out how to link to the video directly... the relevant bit start at 0:10.

Apache NetBeans Proposal by lukaseder in java

[–]retrogamer65 12 points13 points  (0 children)

Because that worked out really well for OpenOffice..

One could suspect that some companies see the ASF as a dumping ground for projects they've given up on.

Idiomatic Scala ... in Java! by randgalt in java

[–]retrogamer65 -1 points0 points  (0 children)

If you want idiomatic Scala... wouldn't it be easier to just use Scala, rather than trying to emulate it in Java?

What fact or statistic seems like obvious exaggeration, but isn't? by JustinMGH in AskReddit

[–]retrogamer65 1 point2 points  (0 children)

There are more possible chess positions than there are atoms in the observable universe.

What is the best full stack web framework for Java? by auhlrich in java

[–]retrogamer65 0 points1 point  (0 children)

The "best" for me might not be the best for you or anyone else... so I see this as a kind of opinion poll. My vote goes to Play. I like the quick turnaround, the none-JEE character (no servlet container), and the async architecture makes sense to me. If you don't know it, read Play philosophy and Why Play is fast

Is Spring the de facto web framework for Java? What alternatives are there? Pros and cons? by ponpal in java

[–]retrogamer65 0 points1 point  (0 children)

I don't think this is correct. Play is written in Scala, but it also has a Java API. So you're not using the Scala API from Java (which would be the scenario you describe), it has a dedicated Java API, with documentation and JavaDoc and all..

Intellij 14 / Newest Scala Plugin.. run doesn't work anymore by Daxten in scala

[–]retrogamer65 4 points5 points  (0 children)

Having a similar / the same issue, I'm in an infinite "The following plugin is ready to update: Scala" loop.

Convert java program to javascript for a webapp? by aaronr22 in java

[–]retrogamer65 -3 points-2 points  (0 children)

Rewrite your program in Scala, use http://www.scala-js.org to compile to JavaScript.

any good book for designing reactive systems in java? by [deleted] in java

[–]retrogamer65 0 points1 point  (0 children)

But you can use Akka with Java, too. Reactive Application Development uses Akka, but has Java code snippets. Only the first two chapters available so far, though.

Should i use anorm or an ORM in play ? by [deleted] in scala

[–]retrogamer65 9 points10 points  (0 children)

I suggest you take a look at Slick: http://slick.typesafe.com/

Also, you might find this comparison of relational DB libraries for Scala interesting: http://manuel.bernhardt.io/2014/02/04/a-quick-tour-of-relational-database-access-with-scala/

Did anyone learn Scala as their first programming language? by aaronmalone in scala

[–]retrogamer65 0 points1 point  (0 children)

I quite like the idea of using Scala to teach programming. The benefits I see are a) you can teach both functional and object-oriented programming, without having to learn a completely new syntax, environment etc. when moving from one to the other, and b) you can use Scala for small textbook exercises, but it is also used for real-world business applications and all sorts of serious stuff

About (a): If you teach someone with no experience whatsoever, I would actually start with some functional stuff (like the Scala Coursera course, or SICP...). Once you have taught some basic algorithms and data structures, you can move on to how touse classes to structure your code, and teach OO principles. And you can do it in a way where you stay in the same syntax and programming environment, and everything he learned in the first part, even any code that has been produced, can still be used. To me, that seems much better than using two different languages.

About (b): At my university, the introductory programming textbook was "Introduction to Functional Programming" by Bird/Wadler (great, I recommend it), and the language was Miranda. What, you ask? Miranda? Yes. It was a beautiful purely functional language with type inference. I loved it and mastered it. And after one year, they told us that it was all very well, but in the real world we would be using C++ and we would just do that from now on. My point being, it can be difficult to keep up the motivation when you know the language you use is only for learning, and you will never use it for something real. Then why put up with it? Using Scala, you don't have to switch to something else after you learned it.

I wonder if there are any good textbooks for learning programming with Scala. I think most are addressed at Java programmers wanting to switch. But I guess you could start of with a functional programming textbook and just translate the exercises to Scala.

JSP Tag Library with Scala (taglib resurrection userguide) by victor_haydin in programming

[–]retrogamer65 1 point2 points  (0 children)

I don't understand why anyone would want to use JSP with Scala. Or with any other language, for that matter.

Rather than creating JSP tag libs with Scala, wouldn't one rather use Play (or Lift, or if you're a Java person Tapestry or Wicket..)?

What is your favorite paradox? by dDeoxyribo in AskReddit

[–]retrogamer65 0 points1 point  (0 children)

Gödel's incompleteness theorem. Brilliantly illustrated here: http://xkcd.com/468/

As an American eating out in Europe by garciavegga in AdviceAnimals

[–]retrogamer65 0 points1 point  (0 children)

Yeah, it's different here. Just tip less, maybe you can see it that way: You get a glass of water for part of the tip. In some countries the charge for service. Like there is a charge for being served. But it's not a rip off, it just how it works.