Profile cover photo
Profile photo
Federico Lucignano
Convoluted thoughts of a baroque mind
Convoluted thoughts of a baroque mind

Federico's posts

Post has attachment

Marty: Hey Doc! Are we in the alternate 1985? They seem to have gotten C right... Look!

package main

import (

func WordCount(text string) (counters map[string]int) {
    counters = make(map[string]int)

    for _, word := range strings.Fields(text) {
        counters[strings.ToLower(word)] += 1


func main() {
    fmt.Print(WordCount("You tell me what you think and I will tell you what I think that you are thinking"))

Doc: No, Marty! You just stumbled upon a piece of Go. How do you like it?

#golang  is #awesome  

This is leadership in language design:

"Some have argued that the lexer should do lookahead to permit the brace to live on the next line. We disagree. Since Go code is meant to be formatted automatically by gofmt, some style must be chosen. That style may differ from what you've used in C or Java, but Go is a new language and gofmt's style is as good as any other. More important—much more important—the advantages of a single, programmatically mandated format for all Go programs greatly outweigh any perceived disadvantages of the particular style"

#golang   #codingstandards  

Post has attachment

#puregenius #holyshit 

Post has attachment
Because he's batman!

Post has attachment
And that's how SublimeText stopped having a reason to exist...


Post has attachment
EveRy University is the same :)

#ouchthathurts   #truestory  

Post has attachment
Waterworld, 20 years later :)

#shithappens   #hollywoodmovies  

Post has attachment
Just replayed The Room (yay, new Epilogue!), ready to play The Room 2.

#OneColdRainyDay #GamingWeekend 

Post has attachment
Standing desk, the next level :)

Wait while more posts are being loaded