News for hackers. Stuff that matters.

ericdouglas

Re:Practicing Elixir or any programming language on Sunday August 27, 2017 @07:55AM (#15110371)
Totally!
Re:Practicing Elixir or any programming language on Sunday August 27, 2017 @07:55AM (#15110367)
Just changed the blog theme - it now works perfectly with JS disabled - serious, huge thanks for telling me this, I wasn't aware of that issue.
Re:Practicing Elixir or any programming language on Saturday August 26, 2017 @08:59AM (#15105238)
Crazy stuff! :D

I'm wondering how our future-self would feel about such cleverness haha

Re:Practicing Elixir or any programming language on Saturday August 26, 2017 @08:18AM (#15105131)
I really liked this:

    "#{String.to_integer(hours) + 12}"
Used it now refactoring the code, many thanks for your suggestion!
Re:Practicing Elixir or any programming language on Friday August 25, 2017 @06:59AM (#15097552)
Yeah, that's the point: "i bet I could find a function in the standard library that could help me solve this problem"
Re:Practicing Elixir or any programming language on Friday August 25, 2017 @06:53AM (#15097519)
Awesome! Many thanks for the tip. I'll refactor the code :)
Re:Practicing Elixir or any programming language on Friday August 25, 2017 @06:50AM (#15097509)
In HR you can see other solutions as well
Re:Practicing Elixir or any programming language on Friday August 25, 2017 @06:49AM (#15097506)
Yes, great option.

One thing I like to have to write tests is actually practicing writing tests :)

Re:Practicing Elixir or any programming language on Friday August 25, 2017 @06:48AM (#15097501)
Thanks for your comment. I'll fix this.
Re:Practicing Elixir or any programming language on Friday August 25, 2017 @06:45AM (#15097480)
Many thanks for your comment. You are totally right.

This is a theme from the Hexo platform I use.

I'll probably create a theme to address this and other issues.

Re:Practicing Elixir or any programming language on Friday August 25, 2017 @06:43AM (#15097465)
> "if you don't have the first part of dedicated learning and wide exposure (without a motivating problem per se) you inevitably end up doing the lazily evaluated "stack overflow driven development" since you haven't been exposed to the breadth of the language, frameworks, etc systematically. in other words, you don't know what you don't know."

Totally agree. I'm doing exactly this. But instead of only read books and type the code, I'm also after each section of the resource (doc || book), practicing code challenges :)

Re:Practicing Elixir or any programming language on Friday August 25, 2017 @06:32AM (#15097420)
Very interesting.

The big point should be: do some practical stuff to keep you motivated while you are learning!

Re:Practicing Elixir or any programming language on Friday August 25, 2017 @06:29AM (#15097401)
I actually started the same way. In the article I focused more on step 4, but in step 2: "Familiarize with the syntax and semantic of the language" I watched a video course and built two mini projects.

To practice the language specifically though, coding challenges are pretty effective, funny and more focused IMO

Re:Practicing Elixir or any programming language on Thursday August 24, 2017 @08:52PM (#15095318)
The approach is actually learn enough about the language (through docs or a book) and practice such knowledge solving code challenges and writing your on tests first to get exposed for a more real environment.
Re:Practicing Elixir or any programming language on Thursday August 24, 2017 @08:47PM (#15095294)
I agree with you.

But I believe that solving this kind of challenges forces one in a good way to know more about what the language has to offer, while keeping motivated to learn its constructs before being able to create real apps.

The goal is practicing a new language.

Older »