Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:Why not code in Klingon? (Score 2) 245

Wait, what? if lambdas are shit programming why did almost every language add them as a features in the last 5-10 years? including c++.

I think you have mostly missed my point, Scala has research oriented roots, and it you're not ok with that, fine. But if it makes you a more efficient programmer, it might just be worth the effort of picking up.

Also, this is what I mean by pattern matching:
http://docs.scala-lang.org/tut...
https://doc.rust-lang.org/book...
https://developer.apple.com/li...

Comment Re:Twitter and Scala (Score 2) 245

This isn't necessarily an argument against Scala, using it well will have it's challenges, but this is true for most languages. Linkedin went through the same.
Some of the tradeoff's Twitter has had to make have changed. They moved away from Ruby, and for Ruby developers, Scala might actually have been easier to pickup than someone who has been doing Java since 1.4. You have to unlearn more OO practices to use Scala well, but you can write very rubyish or pythonic code in Scala. If I look at a project like finagle now from twitter (compared with gRPC from google), I can sort of see Krikorian's point, but finagle is still one of the best or the best RPC libraries out there if you know Scala. As far as language features, pattern matching, expressive types with inference, var/val immutability are all huge helps to write more concise programs. There are more CS-y features like tail recursion, laziness, um.. monads (any typelevel library), which can hurt or help the complexities in your program. As the Scala community has matured, developers and the language has gotten better at using/refining these features (specializations come to mind) and a few of the good and safe features have become more widespread (swift, rust, jave 8 lambdas)

The learning curve is steep for an OO developer to use the language well, but I like what this article says about the challenges:
https://www.infoq.com/articles...
"As explained in this article all these features are already available in Scala. Developers who want to try them out can explore early builds of Java 8 on most platforms. Alternatively, we recommend taking a look at Scala as a way of preparing for the paradigm shifts to come."

Comment Re:All that energy.. (Score 1) 951

It's also possible that in such a world there is no need for simulating anything since the perfect answers can all be found through quantum computers and looking elsewhere. Why simulate us or the universe? At that point, it's equally likely that there is a creator and/or that we are in a simulation.

The extent to which a simulation can be completely divorced from the abstractions running it, (i.e. quantization and the speed at which things happen) is just asking for more energy, orders of magnitude more, if possible at all in the first place, but I am sure Godel doesn't apply either.

Comment Re:Lift the gag order first... (Score 1) 550

Those laws do exist in some states and the FCC also voted to ignore them.

http://www.newrepublic.com/art...

Competition from cities, which can and usually do own the right of way (ie. putting fiber cable on utility poles), is what will ultimately hit AT&T, Verizon and comcast's bottom line.

Spam

Fake Tamiflu "Out-Spams Viagra On Web" 65

cin62 writes "The number of Internet scammers offering fake versions of the anti-swine flu drug Tamiflu has surpassed those selling counterfeit Viagra, reports CNN. Since the H1N1 virus, also known as swine flu, was declared a global pandemic last month, there has been an increase in the number of Web sites and junk emails offering Tamiflu for sale. 'Every Web site that used to sell Viagra is now selling Tamiflu. We are pretty sure that the same people are making the Tamiflu as are making the Viagra,' said Director of Policy for the UK's Royal Pharmaceutical Society." This news fits in nicely with a report Wired ran a couple weeks ago about the hysteria behind H1N1.
Linux Business

Why Linux Doesn't Spread - the Curse of Being Free 1243

Vlad Dolezal tips us to a philosophical take on why Linux hasn't grown to challenge Windows as the most popular operating system. According to the author, the reason is simple; Linux is free, and humans tend not to equate free things with being valuable. "Here's what Compy McNewb sees. He can get both OS's for free. But one of them is worth over three hundred dollars, while the other one is worth nothing. 'That's not true!' I hear you scream. 'Linux is worth a lot! It's just being offered for free!' I know it's not true that Linux is worth less than Windows. It's far more valuable to the end user in terms of getting things done. But that's not what Average Joe Computer Newbie sees. He sees a free product versus a three-hundred-dollar product he can get free. It's all about the perception!"

Slashdot Top Deals

"What man has done, man can aspire to do." -- Jerry Pournelle, about space flight

Working...