Live data from Hacker News

How to improve your programming skills

antoarts.com

91–93 of 93 posts

Re: How to improve your programming skills

#91

One way to improve your programming skills: stop reading programming blogs and start programming.

Worst part of this is that you can end up sounding and feeling like you are/could be a far better programmer than you actually are; you know all of the ideals, philosophy and lingo about how to create clean, amazing code but actually turning this into real programs that solve real problems in real budget & time constraints is a very, very different thing.

Re: How to improve your programming skills

#92
post #54

All of the advice given here is good and none of the tips here are going to hurt you. It's just another less abstract reiteration of a few truths that encompass much more than programming. Work with different tools. Think. Talk about what you do with other people. Do all of it a lot.

i.e communicate, keep an open mind and challenge yourself

Re: How to improve your programming skills

#93
post #89

Earlier quoted context omitted.

Fewer sigils As with PHP, reusing the same sigil for everything misses the point of sigils rather badly. I count five instances of two sigils in your example and each sigil character has another syntactic meaning within the same line.

If sigil means non-ascii character, there are six. If you use it to mean name-modifier (changes what the following string means) there is one, the colon. What did you mean? And yes, colon is also the or in the ternary operator. But there are still less than Perl, for the same length of code, and the code is simpler - .call() the thing if it.respond_to?(:call)

What did you mean?

A punctuation character considered as part of an identifier by way of a parser rule. The ? in respond_to?, in this case.

Post reply on HN