@golang I'm probably not the first one to propose something as follows for Go error handling "syntax sugar":
res, ^ := foo()
which would transform into:
if res, err := foo(); err != nil {
return err
}
@ID_AA_Carmack And when do you happen to have the most of your "aha" moments: before falling asleep in the bed, during workouts, when reading a book, etc?
@niklasfrykholm @golang Well, generics could cleanup some language inconsistencies as well. E.g. get rid of special case make(..) routines. Oh, one more thing I don't like: you can construct an object ptr two ways: 1) &Foo{} 2) new(Foo). The latter seems to be not so much needed.
@niklasfrykholm @golang After using golang for several years I absolutely love it except couple of things: 1) no generics 2) "nil" interfaces 3) lack of syntax sugar for error handling
So, 50 years old now. I am down a point of Str and Dex from my younger days, but I'm a more capable engineer than ever. I'm noticing more people in their 70s that seem sharp and spry, so I'm looking forward to at least a couple more decades of relevance.
I'm thrilled to announce the immediate availability of our new title "Storyngton Hall" on iOS platform for a selected number of countries: Russia, UK and Canada!
Do you love twisted romantic stories and match 3 puzzles? Go for it :)
https://t.co/PWPBiCYzO5
I think #TheWitness it's a souls like game in puzzle genre :) It tortures your brain, makes it cry and melt! And what a feeling of catharsis after solving any major puzzle, just like beating a hard boss in Bloodborne!
Forget my prev. post "#Unity3d external editor support for #neovim...". It can be way easier! You can create an Automator app with the shell script:
/usr/local/bin/nvr --remote +$1
Pick in Unity your Automator app and set externals args as:
"$(Line) $(File)"
Done!
#Unity3d external editor support for #neovim CLI on MacOS:
1) Install MacVim (used as a bridge between Unity and CLI)
2) Replace contents of /Applications/MacVim.app/Contents/MacOS/MacVim with "/usr/local/bin/nvr --remote +$2 $1"
3) Make sure it's: chmod +x
...