The Artima Developer Community
Sponsored Link

Scala Buzz

510 messages in 495 topics. Last post: Jun 26, 2017 5:22 AM.

A community of webloggers who post primarily about Scala.

Welcome Guest
  Sign In

Click to go back to the list of forums  Back to Forum List Click to search messages in this forum  Search Forum

33 pages in this forum [ 1 ... 19 20 21 22 23 24 25 26 27 28 29 ]
    Topic   Replies     Author   Last Post
My first ICFP contest, Part 2: parser combinators are so cool
This is the sequel to my last post on participating to the ICFP contest 2008.The SetupAs Curt wrote it, we entered the contest doing things that should have been done well before:setting up the wifi access so that I can connect with my laptop (it never worked so Bryan had to get out and buy new network cables)exchanging keys to access the...
0   Eric Torreborre   Jul 27, 2008 1:07 AM
Implementation of Scala for NetBeans based on GSF
The Scala for NetBeans is under pre-beta stage, other than bug-fixes, I'm preparing some documentations for it too. If you are interested in how to write language supporting under GSF's framework, you can take a look at this working documentation. Implementation of Scala for NetBeans And also: Proposal of Scala for NetBeans Progressing of Scala...
0   Caoyuan Deng   Jul 26, 2008 2:53 PM
'Application' trait considered harmful
Programmers new to Java are often confused and annoyed by the overly complex structure of a basic Java program. One line in particular, "public static void main(String[] args)" stands out as lengthy and cryptic.class MyJavaApp { public static void main(String[] args) { // ... body ... }}Scala, descended from Java and reusing much of Java's...
0   David Bernard   Jul 25, 2008 7:02 PM
Scala for NetBeans Screenshot#12: JUnit integration
There is a Scala JUnit Test template in Scala for NetBeans now, you can create Scala JUnit testing and run testing, see testing result. Here is an example test file: /* * DogTest.scala * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package scalajunit import org.junit.After import...
0   Caoyuan Deng   Jul 25, 2008 2:53 PM
Cédric Beust's Coding Challenge
I finally got around finishing Cédric Beust's coding challenge in Scala.It didn't help that I got sidetracked by Tony Morris Scala and Haskell exercises for beginners. Scala exercises for beginnersHaskell exercises for beginnersBut back to the coding challenge!From his website: Coding ChallengeHere is an interesting coding challenge: write a...
0   Jeff Heon   Jul 21, 2008 8:43 AM
Designing an Object
If there may exist an object with a method that is not appropriate at all points in the existence of the object, then the object or the method are flawed. A class encapsulating a compile phase in an IDE might have a blocking or non-blocking execute() method, plus a getErrorMessages(). There is an obvious protocol in using this class -...
0   Ricky Clarkson   Jul 21, 2008 12:38 AM
System.identityHashCode
A recent thread on the the Scala IRC channel piqued my curiosity about exactly how System.identityHashcode works.  It looks like as less heated remarks have flushed out the conversation more the definition was irrelevant, but regardless, I think it's interesting.  Thankfully Sun open-sourced the their implementation of the Java platform so it...
0   Erik Engbrecht   Jul 15, 2008 7:52 PM
Employ Scala's Native Compiler in Scala for NetBeans
Well, it's a fairly long time after I latest blog about Scala for NetBeans. I was busy on several things, and can only work on this project on my spare time. The good news is that I've integrated Scala's native compiler into this handy pluing, it means that the error messages shown in the editor will be the same as building now. And, the...
0   Caoyuan Deng   Jul 15, 2008 3:59 AM
Scala LoveGame enspired Overview presentation
These are the slides from the presentation I have been giving on Scala enspired by the love game - as described in my previous post. Unfortunatly I still don’t have any video of any of the presentations.
0   Antony Stubbs   Jul 14, 2008 8:06 AM
Love, Hate, and Type Inference
Ever since I started using Scala, I've had somewhat of a love-hate relationship with type inference.  On the local level, type inference can make code much more concise, easier to read, and easier to refactor.  It makes code easier to read because in cases where the type of variable is obvious, type annotations just add noise that distract from...
0   Erik Engbrecht   Jul 13, 2008 11:52 AM
Traits in Scala: a Powerful Design Tool
Traits in Scala are an extremely powerful Object Oriented (OO) design tool. They also provide a powerful mechanism for code reuse by making good use of subtyping and delegation. In terms of raw functionality, Traits allow us to: Define types by specifying the signatures of supported methods. This is similar to how interfaces work in Java...
0   Lalit Pant   Jul 13, 2008 11:43 AM
Parallel Folds: Sample Code
To enable easy access to the sample source code for my previous blog post on Clustered Scala Actors, I have set up a GitHub project at: http://github.com/litan/clustered-fold/tree/masterIf you don't want to mess with Git, the sample files can be downloaded (as a gzipped tarball) from: http://github.com/litan/clustered-fold/tarball/masterI have...
0   Lalit Pant   Jul 4, 2008 12:32 AM
Everyday monads
AbstractionAbstraction is the bread and butter of our trade, right? The problem is that when you abstract too much, you don't always know where you came from and why.You see? The sentence above is already very abstract ;-). Let's try to be more concrete. I want to talk about Monads and the kind of problems they solve: monads --> powerful...
0   Eric Torreborre   Jul 3, 2008 11:11 AM
Clustered Scala Actors
I have recently been looking at the Terracotta Integration Module (TIM) for Scala actors that was announced earlier this year by Jonas Boner. As I started to play with the TIM, I decided to do the following: Write a simple but hopefully interesting actors based program Try to cluster it using the Scala TIM Identify the lessons learned on the...
0   Lalit Pant   Jul 1, 2008 10:32 PM
Cedric's Code Challenge
Cedric Buest issued a interesting little challenge this morning: Here is an interesting coding challenge: write a counter function that counts from 1 to max but only returns numbers whose digits don't repeat. For example, part of the output would be: 8, 9, 10, 12 (11 is not valid) 98, 102, 103 (99, 100 and 101 are not valid) 5432, 5436, 5437...
0   Erik Engbrecht   Jul 1, 2008 2:54 PM
33 pages in this forum [ 1 ... 19 20 21 22 23 24 25 26 27 28 29 ]

Denotes new messages in this forum since your last visit.

Click to go back to the list of forums  Back to Forum List

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use