News for hackers. Stuff that matters.
Re:Show HN: PyBites Code Challenges by gravypod on Sunday January 08, 2017 @10:54PM (#13353880)
I don't like the solution template they propose because it will likely stall users from creativly solving the problem. I also don't think this is an idomatic solution to the problem in a pythonic way.

You're going from file->list->for loop when you can just go file->for loop.

Re:Show HN: PyBites Code Challenges by jsequeira on Monday January 09, 2017 @03:53AM (#13354966)
@gravypod, that's actually a really good point mate! The last thing we want to do is limit creativity. Do you think it'd be more beneficial to just provide a blank file in the individual challenges rather than a template?

This was our first real attempt at an open challenge. We were wondering how best to push it. The idea behind the template was to simplify it for the newer coders, almost like a hint.

Definitely loving the feedback! It's the only way to learn!

Re:Show HN: PyBites Code Challenges by gravypod on Monday January 09, 2017 @08:29AM (#13356162)
You could have optionally a file like you have. That's perfect for beginners and how my university actually starts some homeworks. For other people it might be good to use output matching since you won't be able to make a unit test to handle every method of solving the problem.

Anyway I'll probably keep solving these, they are pretty fun. I'll just ignore the unit tests, it should be fine (famous last words).

Re:Show HN: PyBites Code Challenges by bbelderbos on Friday January 13, 2017 @05:40PM (#13395448)
Thanks, creating two templates for the next challenge, a beginner and advanced one.