Re:Ask HN: What are the best programming tricks you know?
by bncy on Monday July 25, 2022 @09:41AM
(#32224120)
>do it in more situations than you think you need and always earlier than you think you need.
I can't even count how many this I should just apply that. It's an obvious thing but it takes time to getting used to clearly formulating your problems. Search engines are so sofisticated nowadays that you don't even necessarily need to know what you're looking for and it just pops up. I think of it as a sort of hive mind thing, internet became a natural extension of our brains.
Re:Ask HN: What are the best programming tricks you know?
by alldayeveryday on Monday July 25, 2022 @09:43AM
(#32224158)
> Get really good at googling
Those moments when you are sitting there trying to figure out how to explain in search engine friendly terms the problem you have.
Re:Ask HN: What are the best programming tricks you know?
by vasco on Monday July 25, 2022 @09:47AM
(#32224201)
Nowadays I think you will find that if you speak to the search engine in the form of a question and in as plain terms as possible you'll have better results than by formulating it in keywords and google-fu like in the early days. I find that developers who "try to think in search engine" have gotten increasingly worse results over time as the search engine adapted to the general population's way of using it. This is all personal anecdata though, so you might want to try different ways that work for you.
Re:Ask HN: What are the best programming tricks you know?
by alldayeveryday on Monday July 25, 2022 @09:56AM
(#32224346)
This makes sense - however the search engine is just a proxy to the content on websites. I should have probably been more clear in my original comment. What I was really referring to, is when you are sitting there trying to think how other people might ask a question when the way you are originally asking it is not turning up good results.
Re:Ask HN: What are the best programming tricks you know?
by Brian_K_White on Monday July 25, 2022 @10:52AM
(#32225161)
Many times someone essentially solved their problem while in the act of formulating the question to ask me what to do about it.
"glad to help, any time!"
Re:Ask HN: What are the best programming tricks you know?
by waffles2021 on Monday July 25, 2022 @09:46AM
(#32224190)
Being able to use search engines is a definite skill that certainly cannot be understated. Once upon a time we'd have shelves of $100 books to pore over, and that would take time in itself. Being able to use the correct terminology and the correct search engine logic will help in delivering software faster.
Re:Ask HN: What are the best programming tricks you know?
by m3ss1 on Monday July 25, 2022 @11:18AM
(#32225585)
@vasco Any tips/resources you would like to share on how to get better at googling?
Re:Ask HN: What are the best programming tricks you know?
by lvqz on Monday July 25, 2022 @11:30AM
(#32225758)
in case you didn't know about it, google search operators are very useful to improve your queries (you can find them here for example : https://ahrefs.com/blog/google-advanced-search-operators)
I've definitely gotten way more value of learning to google better and faster than being good at some editor or IDE shortcuts.
This also includes getting very familiar with the docs of the tools you use, knowing the ins and outs of them. Something you learn when you study for Red Hat / AWS / k8s certifications where you can consult docs is that the best way to be efficient during the exam is to be efficient looking at docs. Apply that to everything.