It's that time of the week again. So wonderful devs, what did you learn this week? It could be programming tips, career advice etc.
Feel free to comment with what you learnt and/or reference your TIL post to give it some more exposure.
#todayilearned
And remember, if something you learnt was a big win for you, then you know where to drop it as well.👇👇🏻👇🏼👇🏽👇🏾👇🏿
Top comments (18)
After years of typing "npm run [script]", by habit, I just happened to stumble on this in vs code. Hover over the script name and click run. (I know, probably nothing new to everyone, but new to me :))
I think you can also add scripts to the sidebar in VS Code, which lists the scripts and lets you run them from there.
That's really cool too! I don't know how I missed that!
woah I did not know that! thank you :D
How to use lenses in f# to drasticaly simplify updating nested records
Sounds like it would make for a great post on DEV and/or your blog!
Never wrote a blog before but i might try
This week, I learned to rely on shopify apps the hard way. The client I work with lessened the hours on my timedoctor due to an unjustifiable amount of time implementing a requested feature rather than going through the apps on the app store.
Related, and a great read from @ben is
On the Occasional Misdiagnosis of "Not Invented Here Syndrome"
Ben Halpern ・ Dec 12 ・ 5 min read
This week, I learnt that you can stash one file instead of all files. I figured it was possible, but never really had a need to do it until this week.
Interesting. The other day I learned that you can checkout a single file from another branch to the current branch you're working on.
Oh, man - third week of JS class, and since it's all new to me, the list of what I learned this week would take up too much space! :) Probably the most useful thing I learned this week was how arrays sort elements by converting them to strings then comparing their UTF-16 code unit values.
I use fsharpplus because the aether website was down when I decided to try lenses:)
I learned how to use PHP Storm and OMG it's amazing!
I learned how to use RabbitMQ as the communications layer for my microservices.
This week I learned enough of the pygame python library to be dangerous. I am pretty excited to start making silly games again!
I learn manage server using moss.sh