News for hackers. Stuff that matters.
Re:What programming languages are used late at night? by cstrahan on Wednesday April 19, 2017 @12:07PM (#14148786)
I'd recommend just making yourself pick up a project, and run with it. Try not to over think it, and if you start to feel paralyzed, just say "fuck it, I'll do it the first, shittiest way that comes to mind."

As an example, the first "real" project I wrote in Haskell was one or two weeks into learning it: a web testing framework/DSL (a la Capybara[0]) that spoke a (custom) protocol over socket to a headless webkit instance[1].

Looking back, I abused stuff like type-classes and such, but then again, it was all a learning experience. I should probably be a little embarrassed about how I left the project, but in the interest of providing some inspiration, here it is in all its gory -- I mean, glory: https://github.com/cstrahan/happybara

[0]: http://teamcapybara.github.io/capybara/

[1]: https://github.com/thoughtbot/capybara-webkit/tree/master/sr...

Re:What programming languages are used late at night? by laumars on Wednesday April 19, 2017 @01:57PM (#14150034)
I completely agree with the "write shit code" approach. That's how I learn any new language. As long as you adopt an attitude where you are aware that you're writing bad code and are willing to adapt and learn better processes as you progress, then it's the quickest way to getting proficient. Much like that immersion technique of learning a foreign language by moving to another language.
Re:What programming languages are used late at night? by problems on Wednesday April 19, 2017 @01:58PM (#14150058)
Yeah, the key is to start out writing shit code, but to skim over and get a feel for when you might use the more advanced concepts so that when the time comes that you think you might be able to apply something you know what to look for quickly.
Re:What programming languages are used late at night? by jcadam on Wednesday April 19, 2017 @02:31PM (#14150405)
> I'd recommend just making yourself pick up a project, and run with it. Try not to over think it, and if you start to feel paralyzed, just say "fuck it, I'll do it the first, shittiest way that comes to mind."

I tried that. When I got stuck (fairly early on), I ended up switching my project from Haskell to Clojure :/