Forgot your password?
typodupeerror

Comment: Re:Scala (Score 2) 315

by Laz10 (#47561283) Attached to: Programming Languages You'll Need Next Year (and Beyond)

Well a quick stat on indeed.com suggests that I am right in mentioning scala over what you suggest:
http://www.indeed.com/jobtrend...

Take a look at Akka. It mostly fits your description for the "language" you want. Scala is pretty extendable, so the libraries often end up looking more like language extensions than libraries.

Scala allows both mutable and immutable objects, but it favours immutable.
In Akka you have mutable state within your actors and pass immutable messages.

Comment: Scala (Score 2) 315

by Laz10 (#47560203) Attached to: Programming Languages You'll Need Next Year (and Beyond)

I am surprised that Scala isn't mentioned.

It is strongly typed, object-functional and compatible with java.

Swift syntax is basically a cut and paste from Scala, which benefits from being more mature (and having access to all the Java libraries)
Scala is also much faster than erlang, while also supporting the actor based model.

http://www.scala-lang.org/

Comment: REST + pure HTML5/JS frontend (Score 2) 536

Generating HTML on the server is more or less outdated.
So a "web language" on the server doesn't make sense, the way it used to do (like perl cgi, ASP, JSP, PHP and decendents)

What you do now is write the frontend in one of the new JS/HTML frameworks that run exclusivly on the client.
AngularJS is popular and will likely stick around in one form or another. But pick any you like.

For the backend you want to expose REST services, that serves the content in a way that is easy to digest for the frontend (so you don't end up with too much logic out there).
For that I'd recommend taking a look at Scala (10 years old, and not going away) and the Play Framework (http://www.playframework.com/)
What is nice about the Play framework is that it not only makes it easy to expose REST services. It also makes it easier to deploy the client side framework.

Also take a look at using microservices. Using that architecture enables you to write the REST services in smaller components, rather than one big server. That way you can more easily replace each service, when you want to migrate to the next backend technology.

Comment: Re:LinkedIn uses Node (Score 1) 304

by Laz10 (#44236529) Attached to: Ask Slashdot: Node.js vs. JEE/C/C++/.NET In the Enterprise?

LinkedIn uses it for their mobile backend.
But I more than suspect that the mobile backend is just a simple frontend to the real backend. And that is written mainly in Scala.

As far as I know the closest thing to node.js in Scala would be something like Finagle, which they use at twitter:
http://twitter.github.io/scala_school/

For my current hobby project the backend is written in Scala, Akka and Play! - though I am considering replacing Play with Spray, since all the backed does is serving JSON from REST services.

http://akka.io/
http://spray.io/

Comment: Re:nothing new at all needed (Score 1) 717

by Laz10 (#41590065) Attached to: How We'll Get To 54.5 Mpg By 2025

I have five kids (three are adopted, so no preaching about overpopulating the Earth). Add the wife, and I need a vehicle to carry at least seven people. Good luck finding a 50 MPG car that can do that.

In Europe you could buy a Citroen C4 Grand Picasso, that has 7 seats and in the most economic version does more that 57 mpg.
That mileage is nice, since a gallon of diesel costs more than 7 usd around here :-/

Anyways you guys need to wake up. That 2025 technology exists today, just buy it.

Comment: Cross posting from G+ to FB? (Score 1) 456

by Laz10 (#40033927) Attached to: Online Loneliness At Google+

I use both G+ and FB.

The great joy of G+ for me is how easy it is to share some content with some cirles.
So I share pictures of my kids with my family and links to Scala programming with my geek friends.

Only sometimes, I'd like to share some of my "personal" stuff with the FB crowd as well.

I have tried several chrome plugins and FB's mobile e-mail sharing, but none of them really works.

Do you guys know of a way to share a private G+ post to FB??

Comment: Re:Real problem. Bad solution. (Score 1) 123

by Laz10 (#38570838) Attached to: The Semantic Line Interface

Eclipse has an excellent solution for this.

Ctrl + 3 pops up a search window that lets you type your way in to every available command in the system. Including what is hidden in the menues and context menues. So instead of trying to remember if the "Override/implement method" is hidden in the Source or Refactor menu or in the context menues somewhere, I just press ctrl + 3 and type 'override'.

I miss that in MS Office and many other applications.

Comment: Re:A little late? (Score 4, Insightful) 136

by Laz10 (#38441038) Attached to: October, November the Worst Months For Writing Buggy Code

Looking back at my invoices, I can see that I usually work more hours those two months than any other months of the year.
I also get depressed from lack of sunlight in the dark Scandinavian autumn days.

On the other hand a total of one (and that was some trivial layout) bug was reported on the code I coded and shipped in that period this year.

Maybe the bugs are only found later?
That also suggests that the bugs found in October and November was introduced by the interns during the summer vacation?

It is not best to swap horses while crossing the river. -- Abraham Lincoln

Working...