Hacker News new | ask | show | jobs
by agilob 1181 days ago
Somebody should tell this to go people. They just create me a non-hidden directory `~/go`
1 comments

  export GOPATH=~/Projects/go
Has been like this since forever.
Being like that for a long time is not a justification for terrible defaults.
That is a better default than a hidden directory. It is obvious and so you can set GOPATH

Also works better on Windows where .path is not hidden

Also it seems Rob Pike one of the creators of Go and involved with early UNIX thinks that . making hidden files was a mistake. Quote via XahLee http://xahlee.info/UnixResource_dir/writ/unix_origin_of_dot_... - original was Google+ so not existing now.

Sure, hidden folders are a mistake, but less of a mistake than not adhering to standardized folder structures and just littering in people's home folders.
I hate it when I forget to show hidden files on mac.

They had a kb shortcut for it

They still do: Shift-Command-period toggles hidden files visibility.
And then you have a french layout where it's impossible to fire this keyboard shortcut.