abstractionextraction.wordpress.com
Will Node and Scala really dry up? | Abstraction Extraction
https://abstractionextraction.wordpress.com/2013/05/03/will-node-and-scala-really-dry-up
Hunting for patterns in the wild world of software development. Will Node and Scala really dry up? There’s a quite significant rise of buzz around Google’s Go. Programming language. Some may think that it’s just another peak of excitement coming after a period of calm because the Scala Akka / Node plateau is over. Derek Collison says. The management layers and infrastructure layers of the newer technologies that provide this cloud delivery model? Performance vs coding in javascript. The notion of reposit...
abstractionextraction.wordpress.com
Easy suite tagging with ScalaTest 2.0 | Abstraction Extraction
https://abstractionextraction.wordpress.com/2013/09/18/easy-suite-tagging-with-scalatest-2-0
Hunting for patterns in the wild world of software development. Easy suite tagging with ScalaTest 2.0. If you are using ScalaTest 1.x. And you need to tag some tests to make them easily skippable, you have to tag each method separately:. Class MySpec extends FlatSpec with ShouldMatchers { it should pass this exercise taggedAs SlowTest in { / . } it should pass another exercise taggedAs SlowTest in { / . } }. This approach has two major flaws:. It’s easy to forget about your tag. How to prepare a tag.
abstractionextraction.wordpress.com
Leveraging annotation macros to generate caching boilerplate in Scala | Abstraction Extraction
https://abstractionextraction.wordpress.com/2014/09/23/leveraging-annotation-macros-to-generate-caching-boilerplate-in-scala
Hunting for patterns in the wild world of software development. Leveraging annotation macros to generate caching boilerplate in Scala. There are only two hard things in Computer Science: cache invalidation and naming things. 8212; Phil Karlton. This term defines the ability to cache. One pretty straightforward method is to use the decorator. First, let’s take a look at an example of some expensive function that might need caching:. To do our “manual AOP” and “weave in” the aspect ...Trait GraphBuilder { ...
abstractionextraction.wordpress.com
Dynamic queries in Rogue | Abstraction Extraction
https://abstractionextraction.wordpress.com/2013/07/12/dynamic-queries-in-rogue
Hunting for patterns in the wild world of software development. Dynamic queries in Rogue. I’ve spent some time googling for information about how to build Rogue queries dynamically but surprisingly I couldn’t find any straightforward answer. This is why I created following short post describing how to do it. An usual query may look like this:. UserRecord where ( .surname eqs "Gates") and ( .age eqs 20) limit(5) fetch(). What if we want to add the our criteria conditionally? July 12, 2013. You are comment...
abstractionextraction.wordpress.com
Handling services that require explicit shutdown in Scala | Abstraction Extraction
https://abstractionextraction.wordpress.com/2014/06/02/handling-services-that-require-explicit-shutdown-in-scala
Hunting for patterns in the wild world of software development. Handling services that require explicit shutdown in Scala. Tail -f development.log. Based modules and having a single centralized. Closing them. In this post I briefly go through the experimental shutdownables API. This entry was posted in Uncategorized. June 2, 2014. A few hints about Scala sequences. Leveraging annotation macros to generate caching boilerplate in Scala →. Leave a Reply Cancel reply. Enter your comment here. Jarek Bajak: Wo...
abstractionextraction.wordpress.com
A few hints about Scala sequences | Abstraction Extraction
https://abstractionextraction.wordpress.com/2014/04/12/a-simple-view-of-scala-sequences
Hunting for patterns in the wild world of software development. A few hints about Scala sequences. This blog post is inspired by a cool talk The Dark Side of Scala. Given by Tomek Nurkiewicz on Scalar. Conference. I’m going to focus on one particular problem he mentioned – confusing Scala sequence types like. As non-sequential types like. Are pretty straighforward to use, let’s put them aside for now. Q: What type should my API accept as input? As general as possible. In most cases this will be. Is indee...
abstractionextraction.wordpress.com
Hello | Abstraction Extraction
https://abstractionextraction.wordpress.com/hello
Hunting for patterns in the wild world of software development. Passion: All about software engineering, growing elegant code and eradicating boilerplate. Continuously learning how to tame chaos and deliver solid software. Leave a Reply Cancel reply. Enter your comment here. Fill in your details below or click an icon to log in:. Address never made public). You are commenting using your WordPress.com account. ( Log Out. You are commenting using your Twitter account. ( Log Out. Dynamic queries in Rogue.