Peter Johnson (@PtrJsn) profile picture

ASPNET & JavaScript tech lead/developer, ASPInsider. Contact me via the link below. He/him.

New York, NY
Joined August 2014
Photo by Peter Johnson (@PtrJsn)
Peter Johnson retweeted
I've been using Typescript for more projects even to validate simple strings params. Giving me just a little extra validation is prevents small bugs. But it does add a bit of digital bureaucracy which means I can't just throw together a demo in five minutes. #devdiscuss
Time for #DevDiscuss! Inspired by @CodeWithVoid’s Top 7 article, tonight’s topic is… moving to TypeScript! Questions: - Why have all JS developers not moved to TypeScript? - Do you prefer JS with or without TS, and why? PS: check out the article ➡️ dev.to/codewithvoid/ive-got-…
3
10
Need a new working directory for a a new branch side-by-side with your current work in ~30 seconds, even for a huge repo? No problem - git worktree is one of those things I wish I knew about years earlier.
4
10
66
Peter Johnson retweeted
Recovering from failure should be easy in a blameless culture. A healthy team asks what went wrong and how to prevent it from happening again. You fix it together, document the incident, add it to your run book, and move forward. #devdiscuss
1
6
1
44
Peter Johnson retweeted
Failure really is the best way to learn as a dev. But you don’t always have to fail in prod. Having great feedback loops during the development cycle is important. Failing tests, not passing QA, etc. Prod bugs do happen to the best of us though! #devdiscuss
Time for #DevDiscuss! Tonight’s topic is… fantastic failures! Questions: - What’s your most memorable failure in software development? - Is failure a good way to learn? Have you learned from failing? - How do you recover after you make a big mistake or let a colleague down?
1
5
6
Peter Johnson retweeted
The next level were language agnostic books like "Code Complete", "The Pragmatic Programmer", and UI/UX books like "Don't Make Me Think" and "The Inmates Are Running The Asylum", all classics I still recommend. 2/ #DevDiscuss
1
1
2
Books? No technical books, haven't read a single one. But books like Staff Engineer and The Manager's Path? Immensely informative and I highly recommend them. Learning to code though? Blog authors. Answer authors on Stack Overflow, et al. Y'all rock. #DevDiscuss
Time for #DevDiscuss! Tonight’s topic is… books & code. - How important have books/literature been in your coding career? - What authors have been most helpful to you when learning to code? - If you were designing bootcamp curriculum would you assign books to read? If so, which?
1
6
40
One of the BEST @dotnet tools that more folks don't know about is "dotnet outdated" github.com/dotnet-outdated/d… Why is it amazing? Check this screenshot then thank @coderpatros and @jerriepelser
23
148
11
664
Peter Johnson retweeted
Replying to @ThePracticalDev
There's a balance between individual coding and research. If you can figure out everything solo, you leveled up. Look at if there are better alternative methods, more complex functionality, or read some blogs. The industry changes fast and there's always more to learn #DevDiscuss
2
10
“Why does the performance of your build matter?” Besides making life more efficient for devs and increasing how fast you can deploy a change or fix, a faster build can prevent more bugs! The more you can reasonably run in a PR build for example, the more you can catch there.
6
14
3
124
Peter Johnson retweeted
I tried React at one point and the development model didn't click for me. Angular does. In general it's good to have multiple frameworks as long as we can find standards like web components to better mix-and-match open source components. #devdiscuss
Time for #DevDiscuss! Tonight’s topic is.... React 18! Questions: - What’s your favorite out-of-the-box improvement with React 18? - What would you say is the most important React 18 feature for folks to try out? - Did anything about React 18 surprise you?
1
2
9
Peter Johnson retweeted
👀 If you still support IE, you should really ask your leadership why. Usage for all versions is 0.38% globally on all platforms & it's official end-of-life is in June. In most cases, it doesn't make sense from a business perspective to keep making product decisions around it.
34
48
5
417
This pretty cool @VisualStudio
10
26
2
308
Peter Johnson retweeted
I was *just* recommended this! I was diagnosed with ADHD and this should help me take breaks & remember to take care of myself. It’s also supposed to refresh my attention so I don’t get exhausted from working for too long at a time
Time for #DevDiscuss! Tonight’s topic is…. The Pomodoro Technique. A time management tactic that involves 25 min work blocks and 5 min breaks. - Do you use the Pomodoro Technique? Why/why not? - How has it affected or improved your work? - Any tips, tools, apps, or words?
1
2
15
Peter Johnson retweeted
I really wish people were more familiar with the original context of the “premature optimization” quote, because it is not nearly as general a statement as a lot of people seem to want it to be. Here is the actual text from Structured Programming with go to Statements, by Knuth.
24
192
17
873
As a manager, I struggle with this. My go-to resources: Devs in my team Code reviews and Pair Programming are both great ways to learn and sharpen my tools Also, we got quarterly hack days @Shopify, great moment to try out any new tech 🤖 #DevDiscuss
Time for #DevDiscuss! Tonight’s topic is… keeping dev skills fresh - What are your go-to resources for staying up-to-date as a dev? - How often do you worry that your skills or knowledge are NOT up-to-date? - What events or meetups have you found particularly informative?
3
10
Most distracting… myself 😅 Just too many thoughts going through my head. Future refactoring to do, other tasks that I want to get to, etc. There’s only so much my hard disk (brain) can hold, so uploading this to the cloud (note taking app) eases up my CPU #DevDiscuss
Time for #DevDiscuss! Tonight’s topic is…. coding distractions - What are a few of the things that tend to distract you MOST when coding? - How do you minimize and manage coding distractions when necessary? - Any forms of distraction that you find to be helpful later on?
1
2
9
Peter Johnson retweeted
My daughter just told me 1 plus 1 is 11. I think shes going to be a JS dev
104
541
47
7,195
*opens issue* "I have set minimum I/O threads to 5000" oh....oh no, this can't be good.
2
9
1
82
"Despite ongoing shifts in how and where developers are working, @GitHub found milestones are actually being reached faster. The two major factors helping devs migrate to permanent remote and hybrid operating environments are documentation + automation." zdnet.com/article/githubs-20…
1
28
2
142