Tag: software development
Emacs in the age of magic
Today I’m talking about Emacs, and about a piece of writing that declares it dead and buried just when, in my view, it’s about to have its best season yet. It’s called Emacs In the Age Of Magic, it’s a plain text file of almost two thousand words, and it argues that coding agents have wiped out, in one fell swoop, every advantage we Emacs users have been living off for decades.
I put it on my list of things to write about one Thursday morning, at half past eight, with a note that said more or less: an article on how I’ve organised my life and my work with Emacs, Org and Claude, with this text as a starting point. It was meant to be a starting point. It became a target.
I think exactly the opposite. A piece of software with half a century on its shoulders that’s still alive precisely because it lets itself be bent to anything, in an age when an AI will rewrite from scratch any program that won’t bend, is looking at a renaissance, not a retirement home.
blueprint.el: documenting architecture, before and after the code
Today I’m introducing blueprint.el, an Emacs package I wrote for a job I do often and that, let’s say, nobody is exactly wild about: rebuilding the architectural documentation of software systems that don’t have any, starting from the code. That’s where it was born, but the method it carries with it works just as well from the other side, when the code doesn’t exist yet and you’re the one designing the architecture. It’s all text, all Org, and it works perfectly well by hand. But it’s designed for a team: several people, or several agents, working on it together, each on their own piece, leaving only the decisions to whoever is coordinating.
And I’m proud of it, I’ll say that up front. A job like this, in Word, is simply unthinkable, and blueprint gave me an effective, goal-focused way of organising it, and one way or another it has to be organised anyway.
Margaret Hamilton. What she brought to engineering, and why she matters (and not because she was a woman)
Margaret Hamilton died on 30 September, aged 90. MIT announced it a week later, and since then that photo has been doing the rounds again: her, young, big glasses, standing next to a stack of paper as tall as she is. The caption usually stuck on it says that this is the code that put man on the Moon, and that she wrote it.
The photo is real. The caption much less so, and the real version is a better story. I’m a software architect, and a good part of my job consists of taking for granted that sooner or later somebody will get it wrong (me first). That idea has a precise origin, and her name is on it. I owe her a piece done properly, with sources, including the ones that don’t flatter her.
It goes out today, 13 October, and the date couldn’t be better if I’d planned it, as we’d say where I’m from. The second Tuesday of October is Ada Lovelace Day, the day that since 2009 has celebrated the work of women in science and technology (Suw Charman-Anderson came up with it, because there weren’t many female role models to be seen). Usually on these occasions people swap holy cards. I’d rather write.
Monorepo, GitFarm e il debito che non pubblicano
In Italian
Sabato mattina, caffè, InfoQ. Uber ha costruito GitFarm, un servizio che esegue le operazioni git al posto del client. Nessun clone locale: si chiama una API gRPC, dall’altra parte c’è un repository già pronto, e torna solo il risultato dell’operazione. Il motivo sta nei numeri che pubblicano loro. Clonare il monorepo Go di Uber richiede circa quindici minuti, sei core, 32 GB di memoria e più di 40 GB di disco.
Se il clone costa 40 GB e un quarto d’ora, il problema non è il clone.
Questa storia dei monorepo mi gira in testa da anni, ed è l’ennesimo articolo che pontifica sull’argomento senza mai arrivare al punto. La posizione da cui parto è sempre la stessa: il monorepo non serve a niente. Non ho mai trovato una ragione per tenere quattrocento cose in un posto solo, e ogni volta che qualcuno me ne dà una si sfalda appena la gratti.
Solo che è una posizione che non ho mai messo alla prova sul serio, e una convinzione che non provi a rompere non è una convinzione, è un pregiudizio. Quindi stamattina ho provato a romperla per bene, leggendo le fonti primarie invece dei commenti su Hacker News.
Si è rotta in un punto solo. Ed è quello che ho trovato guardando cosa restava in piedi che vale la pena raccontare.
Java: quando il codice racconta 30 anni di errori e rivoluzioni
In Italian
Oggi voglio raccontarvi una storia. Non una di quelle storie edificanti sui “pionieri visionari” che troviamo nei manuali, ma la storia vera e cruda di come Java sia passato da linguaggio che ti odiava cordialmente a linguaggio che cerca almeno di capirti. È la storia di 30 anni di errori, testardaggine, rivoluzioni silenziose e quello che alla fine si rivela essere il più grande esperimento di ingegneria sociale mai tentato su 9 milioni di programmatori.
Quando Gabriel Aveva Ragione: Java Lisp-Style nel 2025
In Italian
Oggi parlo di evoluzione dei linguaggi di programmazione, tema a me caro, chi mi conosce di persona sa quanto mi diverta seguire l’evoluzione tecnica degli strumenti che uso quotidianamente. L’occasione me l’ha data la rilettura di un pezzo di Richard Gabriel del 2003, “The Art of Lisp & Writing”, che inizialmente avevo catalogato come “ennesima difesa d’ufficio di Lisp da parte di un fan sfegatato”. Poi ho scoperto un dettaglio che cambia tutto: l’articolo è stato scritto come introduzione al libro “Successful Lisp” di David Lamkins nel 2003.
Literate Programming e Org-mode: Quando il Codice e la Prosa Fanno Pace
In Italian
Il literate programming è un approccio alla programmazione che integra codice e documentazione in un unico flusso naturale, permettendo di pensare come esseri umani invece che come macchine. In questo articolo esploro come Org-mode di Emacs rappresenti l’implementazione più elegante e potente di questa filosofia, trasformando la documentazione da faticoso obbligo a parte organica e piacevole del processo di sviluppo.
L'importanza della formazione continua
In Italian
Nel vasto e caotico universo dell’informatica, fermarsi equivale a scegliere deliberatamente di diventare il prossimo fossile digitale. Immagina un consulente Java che, forte delle sue certezze, si crogiola nel comfort delle sue conoscenze consolidate. Peccato che, mentre lui si rilassa, il mondo del codice continua a girare vorticosamente, lasciandolo indietro come un floppy disk in un’era di cloud computing.
FizzBuzz e l'ottimizzazione
In Italian
Oggi vorrei parlarvi di un algoritmo.
Di norma un algoritmo talmente semplice da essere usato durante i colloqui per la valutazione della capacità minima di scrivere e leggere codice che comprenda il minimo indispensabile di logica, matematica e pensiero critico.
L’algoritmo consiste nell’implementare una funzione che dati i numeri da 1 a 100 faccia quanto segue:
- stampi la stringa “Fizz” quando il numero è un multiplo di 3
- stampi la stringa “Buzz” quando il numero è un multiplo di 5
- stampi la stringa “FizzBuzz” quando il numero è un multiplo di 3 o 5
- stampi il numero quando non è un multiplo di 3 né di 5
Semplice semplice. Ma allora perché ne parlo?
Il dilemma del calcolo delle stime
In Italian
Di norma direi che il calcolo delle stime è qualcosa che facciamo tutti i giorni e che quindi almeno sulla carta ogni programmatore dovrebbe saper farlo.
Di norma direi anche che ci dovrebbe essere una procedura, una best practice una formula che possa calcolare una stima.
Siamo programmatori, quindi siamo ingegneri (più o meno)!