paolosimone
Joined 4 years ago
Karma
12
Submissions
7
Member since
Feb 12
Joined 4 years ago
available_servers = (server for server in servers if server.check_availability())
primary_server = next(available_servers, backup_server)
deploy_application(primary_server)
which IMHO better conveys the intent to the reader (i.e. focus on "what to do" over "how to do it")Rough edges, but I'm really liking it so far. Let's see how it will handle the upcoming Advent of Code.
If you want to smile, here is the presentation I made (warn: old memes ahead)
these words are very distant
go nuts! (wink wink)unrelated: this is my very first comment on HN, hurray!
[1] Chrome Web Store: https://chrome.google.com/webstore/detail/virtual-json-viewe...
[2] Github: https://github.com/paolosimone/virtual-json-viewer
oh, and also hijacking threads to promote Virtual Json Viewer https://github.com/paolosimone/virtual-json-viewer