Joined April 2013
·

Norbert Melzer

Germany
·
·
·

Posted to Creating a simple TCP server in Go over 1 year ago

And I just realise, the use of ALL_UPPER_CASE_CONSTANTS is not idiomatic go. Constants in go are named just as everything in go using camelcase, where the first letters case indicates wether the constant is exported or not from the package. Exporting from main does not make sense, since you can not import a package named main.

Posted to Creating a simple TCP server in Go over 1 year ago

Hello Daniel!

I do not think it is good practice to require the handler to close the connection. It should be closed by the caller.

But this cancels out every other module as well…
Since prelude is loaded nearly everytime, I'd like to have a way to show every loaded module except prelude.

Posted to Setting a lambda prompt in Haskell over 1 year ago

Have seen this to late and wrote another tip regarding the Lambda and the modules at https://coderwall.com/p/13h9bw

I also covered coloring there.

Try to do sudo apt-get remove phantomjs first, then run the commands again.

Achievements
150 Karma
16,552 Total ProTip Views