Live data from Hacker News

Everything I googled in a week as a professional software engineer

localghost.dev

21–30 of 399 posts

Re: Everything I googled in a week as a professional software engineer

#21

On the list of things I always Google, is how to create a symbolic link under Linux. I just can't figure out a way to remember what comes first; the source or the destination. The man pages add to the confusion by calling the "source" the target. So, the rule of thumb I now follow is cp or mv semantics.

Same here.

Its one of those things that after almost 20 years, I should remember. But it just does not go in.

It becomes interesting when junior programmers are watching how I do something and I end up googl'ing things that they know.

I use the excuse that it fees up more space for other more interesting stuff, a bit like some execs just ware T-shirt and jeans to reduce the number of things to distract them in the morning so that can concentrate on the important things.

Re: Everything I googled in a week as a professional software engineer

#22

On the list of things I always Google, is how to create a symbolic link under Linux. I just can't figure out a way to remember what comes first; the source or the destination. The man pages add to the confusion by calling the "source" the target. So, the rule of thumb I now follow is cp or mv semantics.

It is like `cp`.

Re: Everything I googled in a week as a professional software engineer

#25

On the list of things I always Google, is how to create a symbolic link under Linux. I just can't figure out a way to remember what comes first; the source or the destination. The man pages add to the confusion by calling the "source" the target. So, the rule of thumb I now follow is cp or mv semantics.

Same here. Its one of those things that after almost 20 years, I should remember. But it just does not go in. It becomes interesting when junior programmers are watching how I do something and I end up googl'ing things that they know. I use the excuse that it fees up more space for other more interesting stuff, a bit like some execs just ware T-shirt and jeans to reduce the number of things to distract them in the mo…

"it fees up more space for other more interesting stuff"

I see you take a similar approach to spelling

Re: Everything I googled in a week as a professional software engineer

#27
post #10

"Never memorize something that you can look up." -Albert Einstein edit- Had to look up who actually said this

Oh, don't look up who said things. When in doubt, attribute it to Einstein or Lincoln depending on the nature of the quote :)

Re: Everything I googled in a week as a professional software engineer

#29

On the list of things I always Google, is how to create a symbolic link under Linux. I just can't figure out a way to remember what comes first; the source or the destination. The man pages add to the confusion by calling the "source" the target. So, the rule of thumb I now follow is cp or mv semantics.

I believe it's a specific POSIX standard that CLI tools are always in the same order: source -> destination[1]

ln, cp, mv, most everything will always follow this pattern.

https://www.gnu.org/software/swbis/sw.html#o-Explicit-File-D...

Re: Everything I googled in a week as a professional software engineer

#30
post #10

"Never memorize something that you can look up." -Albert Einstein edit- Had to look up who actually said this

Oh, don't look up who said things. When in doubt, attribute it to Einstein or Lincoln depending on the nature of the quote :)

You are giving Mark Twain and Oscar Wilde short shrift.
Post reply on HN