- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Laffs 4 Scala! Announcing Scala LOLZ library
Fri, 2009-02-27, 04:23
All,
When writing scala have you ever Can has? have you ever do not want? Well now you can in viable scala code! Announcing the creation of the Scala LOLZ library! The entire purpose of this library is blow of steam, and enjoy yourself for a bit coming up with silly idioms in scala code. Here's some examples from the current codebase:
import can.haz.lolz._
Can has somevalue ? //asserts that some value is not null and returns it
case Cheezburger(x) => println("nom nom " + x)
} OMG {
case x => O NOES !!
} ?!!?
I'm leaving the project open to anyone who needs a humurous distraction for a few hours (like I did) and wishes to contribute. It's currently licensed under the "Please don't use my name if you use this library" license. It is currently located on github.
Enjoy!
-Josh
When writing scala have you ever Can has? have you ever do not want? Well now you can in viable scala code! Announcing the creation of the Scala LOLZ library! The entire purpose of this library is blow of steam, and enjoy yourself for a bit coming up with silly idioms in scala code. Here's some examples from the current codebase:
import can.haz.lolz._
- The emphatic operator
- The questioning operator
- Throwing runtime exception
- Improved Assertions
Can has somevalue ? //asserts that some value is not null and returns it
- Improved Equality
- Improved pattern matching
case Cheezburger(x) => println("nom nom " + x)
} OMG {
case x => O NOES !!
} ?!!?
I'm leaving the project open to anyone who needs a humurous distraction for a few hours (like I did) and wishes to contribute. It's currently licensed under the "Please don't use my name if you use this library" license. It is currently located on github.
Enjoy!
-Josh
Tue, 2009-03-03, 16:47
#2
Re: Laffs 4 Scala! Announcing Scala LOLZ library
I think what David meant to say was: ROFLOLMAO. ;)
- Colin
- Colin
Tue, 2009-03-03, 20:47
#3
Re: Laffs 4 Scala! Announcing Scala LOLZ library
On Tue, Mar 3, 2009 at 7:24 AM, Colin Bullock <cmbullock@gmail.com> wrote:
I think what David meant to say was: ROFLOLMAO. ;)
Yep... that's exactly what I meant. :-)
- Colin
--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp
On Thu, Feb 26, 2009 at 7:23 PM, Josh Suereth <joshua.suereth@gmail.com> wrote:
--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp