DEV Community

Lars Grammel profile picture

Lars Grammel

Creating automatic refactoring tools for TypeScript and JavaScript. Founder of p42.ai

You don't need void 0 in JavaScript

You don't need void 0 in JavaScript

Reactions 13 Comments
3 min read
JavaScript Refactoring: Extract Array Constant From String Comparison Chain

JavaScript Refactoring: Extract Array Constant From String Comparison Chain

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

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

Reactions 25 Comments
3 min read
JavaScript Refactoring: Simplify Duplicated Function Call Inside If-Else Statement

JavaScript Refactoring: Simplify Duplicated Function Call Inside If-Else Statement

Reactions 21 Comments 9
1 min read
JavaScript Refactoring: Simplify If-Else Variable Initialization

JavaScript Refactoring: Simplify If-Else Variable Initialization

Reactions 10 Comments 1
1 min read
What's new in P42? January 2022 Roundup

What's new in P42? January 2022 Roundup

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
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 110 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 83 Comments 94
1 min read
JavaScript Refactoring: Replace Nested If-Else with Guards

JavaScript Refactoring: Replace Nested If-Else with Guards

Reactions 74 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...