DEV Community

Lars Grammel profile picture

Lars Grammel

Developing refactoring tools for TypeScript and JavaScript. Founder of p42.ai

What's new in P42? Summer 2022

What's new in P42? Summer 2022

Reactions 7 Comments
5 min read
JS Refactoring Combo: Introduce Object Destructuring

JS Refactoring Combo: Introduce Object Destructuring

Reactions 13 Comments 2
1 min read
JS Refactoring Combo: Inline Function as Method

JS Refactoring Combo: Inline Function as Method

Reactions 6 Comments 1
1 min read
You don't need void 0 in JavaScript

You don't need void 0 in JavaScript

Reactions 11 Comments
3 min read
JS Refactoring Combo: Extract Array Constant From String Comparison Chain

JS Refactoring Combo: Extract Array Constant From String Comparison Chain

Reactions 8 Comments
1 min read
JS Refactoring Gotchas: 5 Ways Converting to Optional Chaining Can Break Your Code

JS Refactoring Gotchas: 5 Ways Converting to Optional Chaining Can Break Your Code

Reactions 22 Comments
3 min read
JS Refactoring Combo: Simplify Duplicated Function Call Inside If-Else Statement

JS Refactoring Combo: Simplify Duplicated Function Call Inside If-Else Statement

Reactions 20 Comments 9
1 min read
JS Refactoring Combo: Simplify If-Else Variable Initialization

JS Refactoring Combo: Simplify If-Else Variable Initialization

Reactions 10 Comments 1
1 min read
What's new in P42? Winter 2022 Summary

What's new in P42? Winter 2022 Summary

Reactions 7 Comments
4 min read
WTF JavaScript: A Variable with Side Effects

WTF JavaScript: A Variable with Side Effects

Reactions 10 Comments
2 min read
Level Up Your JavaScript With These 60 Quick Fixes for VS Code

Level Up Your JavaScript With These 60 Quick Fixes for VS Code

Reactions 94 Comments 7
7 min read
What are your favorite VS Code extensions for working with JS & TS?

What are your favorite VS Code extensions for working with JS & TS?

Reactions 112 Comments 18
1 min read
Short-Circuiting in JavaScript

Short-Circuiting in JavaScript

Reactions 27 Comments
3 min read
P42 Code Review: Inline Comments and Hints

P42 Code Review: Inline Comments and Hints

Reactions 5 Comments
2 min read
Can You Refactor JavaScript Safely Without Test Coverage?

Can You Refactor JavaScript Safely Without Test Coverage?

Reactions 27 Comments 7
3 min read
How would you refactor this JS function?

How would you refactor this JS function?

Reactions 79 Comments 94
1 min read
JS Refactoring Combo: Replace Nested If-Else with Guards

JS Refactoring Combo: Replace Nested If-Else with Guards

Reactions 75 Comments 18
2 min read
Supercharge VS Code with 32 JavaScript Refactorings

Supercharge VS Code with 32 JavaScript Refactorings

Reactions 75 Comments
6 min read
P42 for Visual Studio Code

P42 for Visual Studio Code

Reactions 10 Comments 7
1 min read
Optional Chaining (?.) Refactoring

Optional Chaining (?.) Refactoring

Reactions 10 Comments 1
2 min read
Nullish Coalescing Operator Refactoring

Nullish Coalescing Operator Refactoring

Reactions 6 Comments
1 min read
For...of Loop Refactoring

For...of Loop Refactoring

Reactions 7 Comments
1 min read
GitHub Pull Request Review with P42 Checks

GitHub Pull Request Review with P42 Checks

Reactions 2 Comments
1 min read
Check Your GitHub Commits with P42

Check Your GitHub Commits with P42

Comments
1 min read
3 JavaScript Features From 2020 That Will Make Your Life Easier

3 JavaScript Features From 2020 That Will Make Your Life Easier

Reactions 54 Comments 3
2 min read
loading...