Tim Bray recently wrote in a short post entitled Language-Book Principles: I am getting really, really bored with factorial and Fibonacci algorithms. It is really...
scala
-
Fibonacci Functions
details »
-
Java to Scala - Smaller Inheritance hierarchies with Structural Typing
details »
I was going through a not-so-recent Java code base that contained the following structure for modeling the employee hierarchy of an organization. This looks quite...
-
loremipsum
details »
object LoremIpsum { def main(args:Array[String]) = { println(words.length) println(paragraphs.length) println(paragraphs(6)) println("------>>") ...
-
Choosing between Abstract Type Members and Existentials in Scala
details »
Scala offers abstract type members as a means to abstract over concrete types of components. The internal type of an abstraction can be hidden from the user who can...
-
JRuby Q & A at RailsConf
details »
These are the notes I took during our “panelish” Q & A session on Sunday afternoon at RailsConf. Exceptions (behavior between ruby and java) ...
-
scala
details »
* Collection of Notes about Scala Programming Language ** Data types* Control structures and Logical expressions** About Case expressions : You can use '|' to combine...
-
A Web Framework In Scala
details »
This content should only have come from thecodist.com. lift Web Framework Given how much I love writing frameworks (the one running this blog for example), it's cool...
-
Designing Internal DSLs in Scala
details »
In an earlier post I had talked about building external DSLs using parser combinators in Scala. External DSLs involve parsing of syntax foreign to the native language -...
-
Thinking in JVM languages
details »
When I find a language expressive enough to implement the programming idioms succinctly, I like to use the language in my projects. But I constantly have to thunder on...
-
Greedy Coin Changer in Scala
details »
OnLamp has published this Python implementation of the Greedy Coin Changer. Here is my version of a functional implementation of the same in Scala....
-
Syntactic Sugars - What makes them sweet ?
details »
Stephen Colebourne talks about implementing for-each in Java maps. He has proposed changes to be made to javac and queued up his request for approval by appropriate...
-
Sebastien Tellier + Lykke Li • Scala • 4.28.08
details »
There was no shortage of great shows in London last Monday, but without a doubt the hottest ticket in town belonged to Sebastien Tellier’s sold-out performance at the...
-
Scaling out messaging applications with Scala Actors and AMQP
details »
We have been sandboxing various alternatives towards scaling out Java/JMS based services that we implemented for our clients quite some time back. The services that form...
-
More Coin Changers in Scala - Recursive, Memoized and Dynamic
details »
In my last post I implemented the greedy algorithm for coin changer in Scala. While greedy algorithms provide optimal solutions for some combinations of coin...
-
Scala unit testing
details »
I wish this could be a happy story. But it's really not. If I have made any factual errors in this little rant, don't hesitate to correct me - I would love to be proved...
-
NetBeans # 1 in InfoWorld's Review of Ruby on Rails IDEs
details »
InfoWorld Test Center compares nine IDEs for Ruby on Rails Development where NetBeans 6.1 takes top honors scoring 9.0 out of 10. Author Martin Heller gives NetBeans a...
-
jatran: java to scala (and actionscript) transformer
details »
I posted this message to the scala list earlier today:jatran is a tool I wrote last summer to transform Java source files into Actionscript 2It is based on Andy Tripp's...
-
Erlang's concurrency model on the JVM - Can we have (at least a subset of) OTP in Scala ?
details »
Jonas Boner is working towards an OTP implementation in Scala. Definitely sounds to be a great exercise and may well prove to be a viable and scalable implementation on...
-
JRuby at JavaOne "Script Bowl" Session
details »
At JavaOne this year, there will be a session entitled "The Script Bowl", in which JRuby, Groovy, and Scala will face off on a series of challenges. I suggested that the...
-
Heading to CodeMash '08
details »
I'm really looking forward to CodeMash. The slate of speakers and topics looks fantastic; It's really nice to look at a conference schedule and see a lot of topics that...