Long, self-documenting variable names. Because someone else will eventually have to debug or rework your code. And that might even be you, six months from now after you've forgotten everything. It's relatively cheap and cross platform compatible.
Its also easier to search through a codebase for unique and specific variable names.
Ask HN: What technologies greatly improve the efficiency of development?
71–80 of 87 posts
Re: Ask HN: What technologies greatly improve the efficiency of development?
#72Re: Ask HN: What technologies greatly improve the efficiency of development?
#73PHP For all the hate PHP gets, a massive positive of it is entire classes of development friction that just doesn’t exist for it. COMPILE: Slow compile times, nope - it’s interrupted & you can run the code instantly. DEVELOPMENT: Confusing and complex development tooling or middleware, nope - just SFTP a single file to your webroot. So the language / environment you pick to develop in can has massive impact on produc…
100% THIS! There is a reason so many products and platforms - like WordPress, which powers so many blogs on the internet - were built leveraging PHP: productivity/getting stuff done! I would add that i'm not only implying that conventional developers gain productivity...but that also that PHP empowered - yes empowered - folks who may not be "real" developers, and gave them a tool/platform to participate on the produc…
Re: Ask HN: What technologies greatly improve the efficiency of development?
#74Earlier quoted context omitted.
100% THIS! There is a reason so many products and platforms - like WordPress, which powers so many blogs on the internet - were built leveraging PHP: productivity/getting stuff done! I would add that i'm not only implying that conventional developers gain productivity...but that also that PHP empowered - yes empowered - folks who may not be "real" developers, and gave them a tool/platform to participate on the produc…
I always thought the reason was that nearly every webhosting offers it, even though it has serious warts.
Re: Ask HN: What technologies greatly improve the efficiency of development?
#75Earlier quoted context omitted.
I always thought the reason was that nearly every webhosting offers it, even though it has serious warts.
Oh yeah, i agree that making PHP or other platforms more widely available helps them get more adopted. But i would have to guess that web hosting providers either were responding to customers requests to run PHP (because said customers felt they could do more), or these providers believed that php was good enough to offer to their customers because it empowered their customers but was not too much of headache to supp…
Re: Ask HN: What technologies greatly improve the efficiency of development?
#76Long, self-documenting variable names. Because someone else will eventually have to debug or rework your code. And that might even be you, six months from now after you've forgotten everything. It's relatively cheap and cross platform compatible.
Re: Ask HN: What technologies greatly improve the efficiency of development?
#77PHP For all the hate PHP gets, a massive positive of it is entire classes of development friction that just doesn’t exist for it. COMPILE: Slow compile times, nope - it’s interrupted & you can run the code instantly. DEVELOPMENT: Confusing and complex development tooling or middleware, nope - just SFTP a single file to your webroot. So the language / environment you pick to develop in can has massive impact on produc…
Otherwise I agree with all your point. It basically kept things simple while every other web development language increase their complexity by 10 to 100x.
Re: Ask HN: What technologies greatly improve the efficiency of development?
#78Embrace using open source not reinventing the wheel, hopefully you are already standing on the shoulders of giants
Practise extreme programming. Test driven. Pairing. Trunk based development. Stop using PRs... that's a controversial one - pair instead
Continuously integrate and deploy.
Now optimise that loop. How long does it take a pair to get a commit on mainline. How long does it take for that commit to be live. If the commit had a bug how long does it take to revert and have the fix go live.
Write tests first. TDD. Otherwise all of the above is for nothing and you'll have very quickly developed a big pile of something that doesn't do what you want it to do
Re: Ask HN: What technologies greatly improve the efficiency of development?
#79Debugging tools, especially conditional breakpoints. I’ve come across far too many people who say “yeah I use PyCharm” (for Python) but when I ask them if they’ve used the debugger, they say they don’t know how to use that. Investing time in learning to use the debugger and especially how to insert conditional breakpoints can be a lifesaver.
Re: Ask HN: What technologies greatly improve the efficiency of development?
#80> greatly improve the development efficiency of your team? Embrace using open source not reinventing the wheel, hopefully you are already standing on the shoulders of giants Practise extreme programming. Test driven. Pairing. Trunk based development. Stop using PRs... that's a controversial one - pair instead Continuously integrate and deploy. Now optimise that loop. How long does it take a pair to get a commit on ma…