News for hackers. Stuff that matters.
Re:Ask HN: How to learn best practices when you have no one ... by Gibbon1 on Monday March 18, 2019 @07:18PM (#19426337)
My inner Northcote Parkinson sort of triggers on 'best practices'. Best tends to imply that all the other ways to skin the cat are 'bad.' Which is likely objectively untrue.

Idiomatic is more neutral and means basically just do it the way everyone else tends to. The real advantage to that is you generally avoid pitfalls and annoying other coders.

Re:Ask HN: How to learn best practices when you have no one ... by colechristensen on Monday March 18, 2019 @07:21PM (#19426350)
They can mean very similar things so that the question could be:

How to learn idioms when you have no one to teach you?

Re:Ask HN: How to learn best practices when you have no one ... by spydum on Monday March 18, 2019 @08:42PM (#19426952)
To which I think we land on the recommendation: seek good examples and mimic them. Trouble is finding them.
Re:Ask HN: How to learn best practices when you have no one ... by LandR on Monday March 18, 2019 @09:06PM (#19427115)
It is. I work in c# and if we take idiomatic to be how most devs write c#, then idiomatic c# is garbage.
Re:Ask HN: How to learn best practices when you have no one ... by akulbe on Monday March 18, 2019 @09:23PM (#19427219)
But the question still remains... how do you determine what "good examples" are?