-
The real reason Git rocks
Feb 10, 2012 · 4 min read ·
I have learned Git. I forget about all my childhood for making space about all the magic, but I got it.
And I know because git rocks. The real reason Git rocks. And I will reveal you.
Read More -
Redis + Ruby + Your Code = Code Zauker!
Jan 26, 2012 · 5 min read ·
When Google Code was shut down, I have the lucky to read this article on how it worked. The article give you a bunch of Google-Go code. Because Go-language is too small and unusual for my brain, I took the idea and reimplemented it using Ruby and Redis.
And because my nickname is Daitangio, I decided to call the project like the Daitarn3 antagoinst: the Code Zauker![1]
The beta gem is available here
Read More -
I like a lot of programming languages. I do not love them with the same intensity.
I do not love Lisp for its ((syntax))), but Lisp rocks for its purity: in a tiny bag of concept, you get a lot of stuff.
This article, (How to Write a (Lisp) Interpreter (in Python)) show you how it is easy to write a lisp interpreter in python. It is 113 lines of code, and include the parser the executor and the basic functions to get started.
Read More -
Dart Sith move first
Oct 13, 2011 · 3 min read ·
So Dart Sith has just launched his first DeathStar, my young JavaScript fellow: a site devoted to the Dart language
Because I am a very old Jedi (1974, before ever the first WtartWars trilogy showdown) I had to rest a bit before talking about it, so the news is 4-days old I know. I needed to think, reflect and write down: but now I am ready, Read on…
Read More -
So we are here again talking about Javascript. I have already wrote an article comparing a well known SmallTalk implementation to Javascript. If my ideas are right (at least a bit), you will see more and more javascript on the next months. In particular:
- JavaScript is the Ajax programming languge for the rest of us
- Mobile Framework like PhoneGap and Appcelerator, are all about javascript at the top
- Javascript is evolved, and it is used server side by projects like node.js
Getting Started
JavaScript is a language must be re-learned if you are old like me (i.e. born before 1982).This book will re teach you javascript in ten minutes or so on. A very nice and funny read, for 25 pages!A lot of the things you will read will be new to you, for sure.Studing good librabries is a must. JQuery is a very well written and commented library: grab the full sized source and start reading it.Getting your hands dirty
A good way of learning is trying to make your own errors :)QUnit is a unit-testing framework you can run in your browser, which will be very useful to you.If you prefer nodejs, vows is a continuous integration library which will save your days. I prefer vows in these days, because it can run from the command line, and it is easy to setup.Phase3: Evolving to the next step
Coffee Script is a very instructive language. Look how CoffeeScript renders its code in JavaScript:it will avoid you a lot of mistakes.And this bring us to a very sad rule: discipline in JavaScript is fundamental to avoid nasty bugs.
Read More -
Be strong young Jedi. This war will begin shortly. You can try to keep you jdk under your pillow, but the html5 will hit you in the middle of the night. And a knife in the dark will rise from shadow: JavaScript
Read More -
This is the second article on functional programming. In the first one we talked about scala and the type inference system it brings in the Java Way of Life.
I played a bit with python functional howto, building a small game. Before starting I surfing for a bit of libraries and documentation.
Read More -
Perché Amo Emacs (di nuovo): Org Mode e Visual Line Mode
Aug 17, 2011 · 5 min read ·Ho iniziato ad usare Emacs quando ero in università. Un volta un mio collega mi disse: “Non ho ancora capito se chi usa emacs è un genio o un folle”.(*) Dopo anni di utilizzo, ho dovuto servirmi spesso di Eclipse, ed Emacs è finito nel dimenticatoio. Ho anche provato a sostituirlo con JEdit e VIM, e mi sono sempre pentito. Intendiamoci, VIM è un ottimo editor, ma è forse più complicato di Emacs.
Mi è sempre piaciuto scrivere, e quindi ho finito per servirmi di MS-Word 2010 per i miei racconti, e di Eclipse per sviluppare non solo in Java ma anche in Python, Ruby ecc… Ora ho scoperto che potrei fare tutto, ma veramente tutto questo con Emacs 23… ma andiamo con ordine.
(*) Per i fanatici di VI, la mia battuta preferita è che “VI è stato creato da un pianista mancato” fatta da un mio collega di lavoro nel 2002…
Read More -
Functional Programming
Jul 17, 2011 · 4 min readen featured lang software · closure erlang functional-java functional-programming java programming-languages·
Because of the success of my article on java closure, I have decided to write another article on functional programming.
In the last year functional programming is waving back to us, for a lot of reason. Let’s summarize the facts:
Functional programming is based on the core concept of pure function. The main advantages of functional programming is the lack of side-effects, at least at the syntax-level of the language.
Read More -
Inversion of Control (IoC) is a very good idea.
But as the clever Joel Spolsky noted, sometimes you need to be a super-natural hero to use it:
… I try not to be judgemental (HAHA!), but I think that people who use IoC containers are (A) very smart and (B) lacking in empathy for people who aren't as smart as they are. Everything makes perfect sense to them, so they have trouble understanding that many ordinary programmers will find the concepts confusing. It's the curse of knowledge. The people who understand IoC containers have trouble believing that there are people who don't understand it. …
I have trouble using Spring in at least two projects. On the third, it was a disaster, because a single software-architect-guy keeps passing around the Spring context factory as method parameter, getting beans from it!
Read More -
F# is a Microsoft research Language. F# is riding the functional revenge way of the last years. F# is a mixed approach, because some variables can be modified. It borrows a lot of things from Haskell and OCaml (Wikipedia dixit). F# is not used like Erlang or Haskell but it could be installed with Visual Studio 2010, and as a separate visual studio plug-in. If you need some functional stuff on your .NET architecture, F# can be your friend.
Read More -
Inspired by this excellent web post “Ruby or Python? Well, it depends...”,
I agree with it at 100%:Ruby or Python? This is the Question! Well it might not be the Question, but it’s a common question for many developers looking to break free from the statically typed language they know and learn a dynamic language. I personally know them both(though I know a bit more Ruby, than Python) and in this article I’ll share my personal opinion on their strengths and weaknesses. You’d probably do good to learn them both, but my arguments here may lead you to pick only one of the languages depending on you preferences.
Read More -
Nei mesi passati ho avuto l’opportunità di lavorare come software architect per un progetto basato su .NET e C#.
Da molti anni non bazzicavo in ambito Microsoft, e quindi è stata una utile palestra. Ho pensato di scrivere questo piccolo manuale per sviluppatori java con la ventura di dover diventare… C#-enabled.
Read More -
Gavin King (the inventor of Hibernate) fired out a new language project called Ceylon (I suppose referring to the Tea versus the Java Café). I love new languages. I know a bit of them, and I work with Java form 1995, so I will do a deep review of this news…
Read More