Ricardo Rocha's Website

Musings on Programming and Programming Languages

Email GitHub Bitbucket Twitter LinkedIn

URL Shortener #4: The Xtend Service Implementation

How do we go about implementing the service’s REST interface and components in Xtend? This series of articles contrasts the Java and Xtend languages around a very simple URL shortening REST service. Xtend is a JVM language that compiles into readable Java and is fully compatible with all Java frameworks, libraries and tools. If you know Java you already know most of Xtend! A presentation is also available

Read more...

URL Shortener #3: The Xtend Main Implementation

How do we go about implementing the service’s Main class in Xtend? This series of articles contrasts the Java and Xtend languages around a very simple URL shortening REST service. Xtend is a JVM language that compiles into readable Java and is fully compatible with all Java frameworks, libraries and tools. If you know Java you already know most of Xtend! A presentation is also available

Read more...

URL Shortener #2: Java Implementation

How do we go about implementing the URL shortener in Java? This series of articles contrasts the Java and Xtend languages around a very simple URL shortening REST service. Xtend is a JVM language that compiles into readable Java and is fully compatible with all Java frameworks, libraries and tools. If you know Java you already know most of Xtend! A presentation is also available

Read more...

URL Shortener #1: Design

How do we go about designing a URL shortener? This series of articles contrasts the Java and Xtend languages around a very simple URL shortening REST service. Xtend is a JVM language that compiles into readable Java and is fully compatible with all Java frameworks, libraries and tools. If you know Java you already know most of Xtend! A presentation is also available

Read more...

Building Object Oriented Frameworks (3)

How are frozen spots implemented as blackbox components? Object oriented frameworks are a mainstay of modern software development. Whether you develop in Java, C#, Objective-C, Python, Ruby or Javascript, chances are you’re basing your development on some sort of application development framework.

Read more...

Building Object Oriented Frameworks (2)

What are frozen and hot spots? Object oriented frameworks are a mainstay of modern software development. Whether you develop in Java, C#, Objective-C, Python, Ruby or Javascript, chances are you’re basing your development on some sort of application development framework.

Read more...

Building Object Oriented Frameworks (1)

What are object-oriented frameworks? Object oriented frameworks are a mainstay of modern software development. Whether you develop in Java, C#, Objective-C, Python, Ruby or Javascript, chances are you’re basing your development on some sort of application development framework.

Read more...

Type-safe Strings with Scala Macros

This post presents Scala’s def macros in a basic, introductory fashion. Macros are leveraged to provide compile-time type safety for strings literals with a well-defined syntax.

Read more...

YamlTag: Fluent Configuration with SnakeYAML

YamlTag is a SnakeYAML add-on used to:

  • Assign yaml tags to class constructors
  • Specify generic types for list and map properties
  • Enter class literals

Code is available at https://github.com/xrrocha/yamltag

Read more...