Here’s a simple guessing game program using Scala’s imperative style and not functional style. class GuessingGame{ private var target:Int = (Math.random()*100).asInstanceOf[Int] var attempts:Int = 0 var message:String = "" var gameOver:Boolean = false def play(guess:Int):Unit= { attempts += 1 if(guess […]
Just woke up to the news that Sencha Touch which has been webkit‘s true supporter now supports Internet Explorer as well. Though it’s long since I moved out of IE, this is news. Sencha Touch 2.2 now supports IE 10. […]
There’s an interesting survey on the top JavaScript frameworks in InfoQ. You can vote and read the analysis. What’s surprising is DOJO missing from the list. You can access the article here.
One of the challenges when you use MVC architecture in Ext JS 4 is avoid coupling between view layer components and the store classes. For example, if you’ve a grid panel that has to be configured with a store called […]
I generally like to pick up one new language and technology every year. And these days the language that has me hooked is Scala. My interest in Scala shot up after the advent of social media web sites where concurrency […]