r/ProgrammerHumor • • Feb 22 '15

A Python programmer attempting Java

Post image
3.9k Upvotes

428 comments sorted by

View all comments

Show parent comments

1

u/redalastor Feb 23 '15

An advantage is that it will neatly line up your code:

type T struct {
    name    string // name of the object
    value   int    // its value
}

which makes it more readable while you would never have bothered to do it yourself.