Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

removed backup file

  • Loading branch information...
commit 1af96209bbe13224faab2003754ba0559c3a2e50 1 parent b4590c8
Toby Kurien authored

Showing 1 changed file with 0 additions and 46 deletions. Show diff stats Hide diff stats

  1. +0 46 xtend/tobykurien/README.md~
46 xtend/tobykurien/README.md~
... ... @@ -1,46 +0,0 @@
1   -Introduction
2   -============
3   -
4   -This is the Xtend implementation of the HollingBerries problem. Now I know you're rolling
5   -your eyes thinking: "Oh gawd, another obscure language I've never heard of!", but hold on
6   -a sec and hear me out. Xtend is not like your other typical languages. Here are the highlights:
7   -
8   -* Xtend is essentially a pre-processor for Java. So it compiles the code to Java source files,
9   - which are then compiled by the Java compiler.
10   -
11   -* Java source is valid Xtend source. This means Xtend is simply additions to the Java language to
12   - make it prettier and more functional.
13   -
14   -* The learning curve is thus not steep. You simply use the bits of Xtend that make things easier for you.
15   -
16   -* Xtend is an Eclipse project and thus has deep Eclipse integration and tooling support. You can even debug
17   - Xtend code by stepping through Xtend code.
18   -
19   -* Read more here: http://xtend-lang.org
20   -
21   -How to run this Xtend version
22   -=============================
23   -
24   -* Install Eclipse and Xtend. See here for details: http://www.eclipse.org/xtend/#download
25   -
26   -* Import the project into Eclipse (File > Import > Existing projects into workspace)
27   -
28   -* Hit the "Run" button. You won't see any output in the console.
29   -
30   -* Check that the pricefile.txt output was created in the project root
31   -
32   -* Verify test passed by running this in the command-line from the project root:
33   -
34   - > $ diff -u ../../pricefile.txt pricefile.txt # Expect no output
35   -
36   -
37   -About the Code
38   -==============
39   -
40   -This is a similar implementation to my Ruby implementation, but instead of the elaborate config data, I used the
41   -powerful switch functionality of Xtend to map the product codes to markups and sell_by dates. Also, unlike the Ruby
42   -version, as is common in Java, I created a data object to hold the CSV data. This allows code-completion and other
43   -advantages of statically-typed languages to come through.
44   -
45   -
46   -

0 comments on commit 1af9620

Please sign in to comment.
Something went wrong with that request. Please try again.