Trevor I. Lasn, Software engineer
https://www.trevorlasn.com
Software engineer with 10+ years of building products. Led engineering teams for 5+ years across tech companies. I have a strong instinct for what makes prod...
フィード

NPQ: Open source CLI tool that audits and protects your npm installs from malicious packages
Trevor I. Lasn, Software engineer
A CLI tool that checks packages for security issues and social engineering attacks before they hit your project
16日前

Google's AI distribution advantage
Trevor I. Lasn, Software engineer
While everyone debates models and features, Google owns the distribution channels that make AI stick
17日前

How JavaScript Was Written Back In the Day
Trevor I. Lasn, Software engineer
Have you ever been curious how JavaScript was written back in the day? I was, so I dug into some of the early frameworks and libraries to see what I could learn.
2ヶ月前

Introducing courses.reviews
Trevor I. Lasn, Software engineer
Cutting through the noise of thousands of online courses to find the ones actually worth your time
2ヶ月前

JavaScript compile hints: what they are and when to use them
Trevor I. Lasn, Software engineer
V8's compile hints let you control which JavaScript gets compiled immediately during page load
3ヶ月前

Error.isError(): A Better Way to Check Error Types in JavaScript
Trevor I. Lasn, Software engineer
Why the new Error.isError() method solves important cross-realm issues and provides more reliable error identification than instanceof
3ヶ月前

Robust Data Fetching Architecture For Complex React/Next.js Apps
Trevor I. Lasn, Software engineer
How I use the 'Three Layers of Data' architecture pattern for React and Next.js apps to avoid common pitfalls, tech debt, and improve performance
3ヶ月前

Float16Array in JavaScript
Trevor I. Lasn, Software engineer
Understanding the new 16-bit floating point array in JavaScript
4ヶ月前

Understanding Agent2Agent (A2A): A Protocol for LLM Communication
Trevor I. Lasn, Software engineer
An exploration of Google's new open protocol that enables different AI systems to exchange information and collaborate
4ヶ月前

Why I Value Firebreak Sprints for Managing Technical Debt
Trevor I. Lasn, Software engineer
How scheduled developer freedom weeks can revolutionize your codebase and team morale
4ヶ月前

CVE-2025-29927 - Next.js Middleware Bypass Explained In Simple Terms
Trevor I. Lasn, Software engineer
The vulnerability skips Next.js middleware security checks by adding a single HTTP header
4ヶ月前

The 5:1 Rule: Effective Performance Reviews For High-Performing Teams
Trevor I. Lasn, Software engineer
Research reveals the ideal ratio of positive to negative feedback within high performing teams
5ヶ月前

Intl.DurationFormat: Format Time Durations with Locale Support
Trevor I. Lasn, Software engineer
Stop writing manual duration formatting code. Instead, leverage the new powerful Intl.DateTimeFormat API for internationalized time displays
5ヶ月前

High Performing Engineer Teams = motivation + enthusiasm + autonomy
Trevor I. Lasn, Software engineer
Create the conditions where engineers want to excel and they'll surpass your expectations
5ヶ月前

Open-source is where dreams go to die
Trevor I. Lasn, Software engineer
Work for free and in return watch your passion get crushed by entitled users who are never satisfied
6ヶ月前

Advice to New Engineering Managers
Trevor I. Lasn, Software engineer
Tips for being an effective engineering leader and how to avoid common pitfalls
6ヶ月前

Don't bullshit
Trevor I. Lasn, Software engineer
Be the authentic voice in a world of manufactured personas
6ヶ月前

Become a Better Engineering Manager with JQL
Trevor I. Lasn, Software engineer
Using Jira queries to understand engineering trends and drive improvements
6ヶ月前

Keep Your Node.js Apps Secure with `npx is-my-node-vulnerable`
Trevor I. Lasn, Software engineer
This package compares your Node.js version against the Node.js Security Database, providing immediate feedback about potential security risks.
6ヶ月前

Native Popover Element with HTML
Trevor I. Lasn, Software engineer
Create overlays and dropdowns easily with the native HTML popover API
7ヶ月前

WeakRefs in JavaScript: Explained In Simple Terms
Trevor I. Lasn, Software engineer
Understanding how WeakRef helps manage memory in JavaScript
7ヶ月前

Honey Quietly Hijacked Creator Revenue Through Affiliate Link Switching
Trevor I. Lasn, Software engineer
Honey's controversial affiliate link practices and what it teaches us about Silicon Valley's ethics
7ヶ月前

AsyncLocalStorage: Simplify Context Management in Node.js
Trevor I. Lasn, Software engineer
How AsyncLocalStorage solves context management in asynchronous Node.js apps
8ヶ月前

scrollbar-width & scrollbar-gutter: CSS Properties for Layout Control
Trevor I. Lasn, Software engineer
Prevent content shifts and refine scrollable UIs with scrollbar-width and scrollbar-gutter
8ヶ月前

Add Auth to Astro 5 with Clerk in 5 Minutes
Trevor I. Lasn, Software engineer
The simplest setup for adding Clerk authentication to your Astro project, with minimal code
8ヶ月前

CSS ::target-text for Text Highlighting
Trevor I. Lasn, Software engineer
A look at how browsers can highlight text fragments using CSS ::target-text, making text sharing and navigation more user-friendly
8ヶ月前

align-content: The Simplest Way to Center Content with CSS
Trevor I. Lasn, Software engineer
Finally, we can center things in block layouts without flexbox gymnastics
8ヶ月前

Form Validation That Doesn't Annoy Users: CSS :user-valid and :user-invalid
Trevor I. Lasn, Software engineer
The new pseudo-classes :user-valid and :user-invalid give us a smarter way to style form validation states based on user interaction
8ヶ月前

LinkedIn is Drowning in AI Generated Content Slop
Trevor I. Lasn, Software engineer
One-line paragraphs, LinkedIn broetry, and the inevitable 'Agree?' - welcome to your AI-generated feed
8ヶ月前

HTML Details Element: The Native Accordion You're Not Using
Trevor I. Lasn, Software engineer
Discover how the HTML details element can replace your JavaScript accordions and why it might be better than your current solution
8ヶ月前

Tattoos Won't Break Your Tech Career
Trevor I. Lasn, Software engineer
Building a tech career with a sword tattooed on my neck
8ヶ月前

What Makes a Great Engineering Manager?
Trevor I. Lasn, Software engineer
People don't quit jobs, they quit bad managers. Here's what great engineering leadership actually looks like
8ヶ月前

navigator.clipboard - The New Asynchronous Clipboard API in JavaScript
Trevor I. Lasn, Software engineer
Copy and paste text, images, and files using the new navigator.clipboard API
8ヶ月前

CSS @supports: Write Future-Proof CSS
Trevor I. Lasn, Software engineer
Detect CSS feature support and provide smart fallbacks with @supports
8ヶ月前

CSS Supports Nesting Now
Trevor I. Lasn, Software engineer
CSS nesting is finally supported in all major browsers. Write cleaner, organized stylesheets without Sass or Less
8ヶ月前

CSS content-visibility: The Web Performance Boost You Might Be Missing
Trevor I. Lasn, Software engineer
The content-visibility CSS property delays rendering an element, including layout and painting, until it is needed
8ヶ月前

CSS :has() - The Parent Selector We've Always Wanted
Trevor I. Lasn, Software engineer
Transform your CSS with :has(), the game-changing selector that finally lets us style elements based on their children.
8ヶ月前

link rel='modulepreload': Optimize JavaScript Module Loading
Trevor I. Lasn, Software engineer
The rel='modulepreload' indicates that a module script should be fetched, parsed, and compiled preemptively, and stored for later execution
8ヶ月前

LH and RLH: The CSS Units That Make Vertical Spacing Easy
Trevor I. Lasn, Software engineer
Exploring new CSS line-height units that eliminate guesswork from vertical rhythm
8ヶ月前

The HTML Native Search Element
Trevor I. Lasn, Software engineer
The search HTML element is a container that represents the parts of the web page with search functionality
8ヶ月前

Web Performance API: Measure What Matters
Trevor I. Lasn, Software engineer
From slow to fast: Using JavaScript's Performance API to optimize web apps
8ヶ月前

HTTP CONNECT: Building Secure Tunnels Through Proxies
Trevor I. Lasn, Software engineer
Understand how HTTP CONNECT enables HTTPS traffic through proxies
8ヶ月前

Preloading Responsive Images
Trevor I. Lasn, Software engineer
How to properly preload responsive images to improve initial page load
8ヶ月前

You Don't Own Your Social Media Accounts
Trevor I. Lasn, Software engineer
Social platforms promise exposure but quietly hold your audience hostage
8ヶ月前

Working with JavaScript's Scheduler API
Trevor I. Lasn, Software engineer
Learn how to prioritize and control task execution in JavaScript using the new Scheduler API for better performance and user experience
9ヶ月前

WebAssembly (Wasm): When (and When Not) to Use It
Trevor I. Lasn, Software engineer
Understanding the real use cases for WebAssembly beyond the performance hype
9ヶ月前

Sentry's LLM Integration Makes Error Debugging Actually Smart
Trevor I. Lasn, Software engineer
How Sentry.io is using Large Language Models to transform error debugging from mindless stack trace reading to intelligent problem-solving
9ヶ月前

The Fight to Free JavaScript from Oracle's Control
Trevor I. Lasn, Software engineer
The creator of JavaScript and Node.js are challenging Oracle's control over the JavaScript name
9ヶ月前

Recursion Explained In Simple Terms
Trevor I. Lasn, Software engineer
Understanding recursion through real examples - why functions call themselves and when to use them
9ヶ月前

Node.js Corepack: Version Control for Package Managers
Trevor I. Lasn, Software engineer
Manage yarn and pnpm versions consistently across your team
9ヶ月前

Can OSSPledge Fix Open Source Sustainability?
Trevor I. Lasn, Software engineer
The Open Source Pledge aims to address open source sustainability challenges by encouraging companies to pay $2,000 per developer per year
9ヶ月前

JavaScript Sets and Maps: Beyond Arrays and Objects
Trevor I. Lasn, Software engineer
How to handle unique values and key-value pairs properly without type coercion and performance issues
9ヶ月前

Precise Decimal Math in JavaScript with Fraction.js
Trevor I. Lasn, Software engineer
How to handle exact decimal calculations in JavaScript when floating-point precision isn't good enough
9ヶ月前

Exploring JavaScript Symbols
Trevor I. Lasn, Software engineer
Deep dive into JavaScript Symbols - what they are, why they matter, and how to use them effectively
9ヶ月前

Ghost Jobs Should Be Illegal
Trevor I. Lasn, Software engineer
How fake job postings became a systemic problem in tech recruiting
9ヶ月前

Can Scrum Be Salvaged?
Trevor I. Lasn, Software engineer
Scrum is failing engineering teams and what it's actually costing us
9ヶ月前

Understanding Bitwise Shifts in JavaScript: << and >>
Trevor I. Lasn, Software engineer
A practical guide to left and right shift operators in JavaScript
9ヶ月前

JavaScript Import Attributes (ES2025)
Trevor I. Lasn, Software engineer
Understanding the new import attributes syntax and why we can't rely on file extensions alone
9ヶ月前

Promise.try: Unified Error Handling for Sync and Async JavaScript Code (ES2025)
Trevor I. Lasn, Software engineer
Stop mixing try/catch with Promise chains - JavaScript's new Promise.try handles return values, Promises, and errors uniformly
9ヶ月前

Why I moved from Google Analytics to Simple Analytics
Trevor I. Lasn, Software engineer
I ditched Google Analytics for a privacy-focused analytics tool that bypasses ad blockers
9ヶ月前

JavaScript's &&= Operator: Understanding Logical AND Assignment
Trevor I. Lasn, Software engineer
Use the &&= operator to safely update truthy values while preserving falsy states
9ヶ月前

JavaScript's ??= Operator: Default Values Made Simple
Trevor I. Lasn, Software engineer
A guide to using ??= in JavaScript to handle null and undefined values elegantly
9ヶ月前

When Will We Have Our First AI CEO?
Trevor I. Lasn, Software engineer
Welcome to the future of corporate leadership. It's efficient, profitable, and utterly inhuman
9ヶ月前

The Monday Morning Test to Measure Engineering Team Health
Trevor I. Lasn, Software engineer
Why the first day back can reveal everything about your engineering team's health
9ヶ月前

Pkl: Apple's New Configuration Language That Could Replace JSON and YAML
Trevor I. Lasn, Software engineer
A deep dive into Pkl, Apple's configuration language that aims to replace JSON and YAML
9ヶ月前

No, Quantum Computers Won't Break All Encryption
Trevor I. Lasn, Software engineer
Symmetric encryption algorithms like Advanced Encryption Standard (AES) are largely quantum-resistant already
9ヶ月前

Introducing the Legendary Programmer Hall of Fame
Trevor I. Lasn, Software engineer
Meet the innovators who laid the foundation for modern computing. Their contributions span decades, creating the tools and concepts developers use every day.
9ヶ月前

What is the JavaScript Pipeline Operator |>
Trevor I. Lasn, Software engineer
A deep dive into how pipeline operators can make your code more readable and maintainable
9ヶ月前

Stop Using localStorage for Sensitive Data: Here's Why and What to Use Instead
Trevor I. Lasn, Software engineer
Understanding the security risks of localStorage and what to use instead for tokens, secrets, and sensitive user data
9ヶ月前

JavaScript Truthy and Falsy: A Deep Dive
Trevor I. Lasn, Software engineer
Grasp JavaScript's type coercion with practical examples and avoid common pitfalls
9ヶ月前

JavaScript Operators: '||' vs '&&' vs '??'
Trevor I. Lasn, Software engineer
Master JavaScript logical operators with practical examples and best practices
10ヶ月前

Inside the CSS Engine: CSSOM Explained
Trevor I. Lasn, Software engineer
A deep dive into how browsers parse and manipulate CSS, its impact on web performance, and why it matters
10ヶ月前

Why Browsers Block CSS File Modifications
Trevor I. Lasn, Software engineer
Understanding CSS Object Model (CSSOM), browser security and practical alternatives for dynamic styling
10ヶ月前

How to Land Your First Tech Job
Trevor I. Lasn, Software engineer
A developer's guide to tech interviews - from someone who sits on both sides of the table
10ヶ月前

Why Anthropic (Claude AI) Uses 'Member of Technical Staff' for All Engineers (Including Co-founders)
Trevor I. Lasn, Software engineer
Inside Anthropic's unique approach to preventing talent poaching and maintaining organizational equality
10ヶ月前

Offload Your Third Party Scripts With Cloudflare Zaraz
Trevor I. Lasn, Software engineer
How I used Cloudflare Zaraz to offload third party scripts and improve my website performance.
10ヶ月前

SecretLint — A Linter for Preventing Committing Credentials
Trevor I. Lasn, Software engineer
A guide to catching and preventing credential leaks in your code using Secretlint
10ヶ月前

Repopack (now Repomix): Pack Your Entire Repository Into A Single File
Trevor I. Lasn, Software engineer
A tool that packages your code to easily share with LLM models.
10ヶ月前

Software Engineer Titles Have (Almost) Lost All Their Meaning
Trevor I. Lasn, Software engineer
Examining the Devaluation of Software Engineer Titles and Its Impact on Tech Industry Integrity
10ヶ月前

Optimize Your Astro Site's <head> with astro-capo
Trevor I. Lasn, Software engineer
Automatically improve your Astro site's performance using astro-capo
10ヶ月前

How To Implement Content Security Policy (CSP) Headers For Astro
Trevor I. Lasn, Software engineer
Content Security Policy (CSP) acts like a shield against XSS attacks. These attacks are sneaky - they trick your browser into running malicious code by hiding it in content that seems trustworthy. CSP's job is to spot these tricks and shut them down, while also alerting you to any attempts it detects.
10ヶ月前

VoidZero: Threat or Catalyst for Open Source JavaScript Tooling?
Trevor I. Lasn, Software engineer
When Evan You announced VoidZero, I'll admit - I got excited. And a little nervous.
10ヶ月前

Open Dyslexic Font: Improve Your Web Accessibility
Trevor I. Lasn, Software engineer
How to implement the Open-Dyslexic font to enhance readability for users with dyslexia
10ヶ月前

Small Habits, Big Impact
Trevor I. Lasn, Software engineer
We're often focused on big innovations and breakthrough moments. But what if the real key to long-term success lies in the small, everyday actions we often overlook?
10ヶ月前

Is Age Really a Factor in Tech?
Trevor I. Lasn, Software engineer
Silicon Valley has a reputation for youth worship. The 'move fast and break things' mentality often translates to a preference for younger, supposedly more adaptable workers.
10ヶ月前

How to Launch Software Projects On Time and On Budget
Trevor I. Lasn, Software engineer
Learn the art of scope management to keep your projects fixed in time and cost
10ヶ月前

The Credit Vacuum
Trevor I. Lasn, Software engineer
Being a developer sometimes feels like being the goalkeeper in a soccer match. You make a hundred great saves, and no one bats an eye. But let one ball slip through, and suddenly you're the village idiot.
10ヶ月前

A Company Is Not a Family. It's a Sports Team
Trevor I. Lasn, Software engineer
'We're not just a company, we're a family!' It's a nice sentiment, sure. But it's also a load of crap.
10ヶ月前

Build Your Army
Trevor I. Lasn, Software engineer
If you want to do great things, you'll need people with skills that complement yours. You can't do everything yourself. You need a team. You need an army. You need to build your army.
10ヶ月前

Cloudflare Study: 39% of Companies Losing Control of Their IT and Security Environment
Trevor I. Lasn, Software engineer
New research reveals a shocking loss of control in corporate IT environments
10ヶ月前

When Tasked with a Problem, Start with the Bigger Picture
Trevor I. Lasn, Software engineer
When faced with a challenge, I always step back to see the whole picture first. It's like pausing a complex strategy game to study the map. You might lose a few seconds of play time, but you gain a crucial understanding of the battlefield.
10ヶ月前

Barnacle Strategy for Startups
Trevor I. Lasn, Software engineer
As a founder, you're always on the lookout for smart ways to grow your startup without burning through your limited resources. That's where the barnacle strategy comes in.
10ヶ月前

Micro Frontends: The LEGO Approach to Web Development
Trevor I. Lasn, Software engineer
Explore the concept of micro frontends in web development, understand their benefits, and learn when this architectural approach is most effective for building scalable applications.
10ヶ月前

Google's Journey: From Search Engine to Tech Giant
Trevor I. Lasn, Software engineer
Exploring the key innovations and strategies that transformed Google into a global technology leader
10ヶ月前

Amazon's Rise to Tech Titan: A Story of Relentless Innovation
Trevor I. Lasn, Software engineer
How Jeff Bezos' 'Day 1' philosophy turned an online bookstore into a global powerhouse
10ヶ月前

Apple's Secret Sauce: The Untold Stories Behind Its Success
Trevor I. Lasn, Software engineer
Diving deep into the lesser-known factors that propelled Apple from a garage startup to a tech titan
10ヶ月前

What's the Number One Thing Holding Most People Back from Reaching Their Full Potential?
Trevor I. Lasn, Software engineer
Discover the biggest obstacle to success in tech and learn how to overcome it
10ヶ月前

Self-Taught Developer's Guide to Thriving in Tech
Trevor I. Lasn, Software engineer
How to turn your non-traditional background into your biggest asset
10ヶ月前

Make It Work First Before Optimizing
Trevor I. Lasn, Software engineer
Users don't care how elegant your code is. They care if it solves their problem.
10ヶ月前

Minimum Viable Documentation
Trevor I. Lasn, Software engineer
How to create essential documentation that actually gets read and used.
10ヶ月前

You Can Choose to Be Someone Who's Competent in Many Things, or Unbelievably Good at One Thing
Trevor I. Lasn, Software engineer
Should you diversify your skills or specialize?
1年前

Write Documentation Like a Journalist
Trevor I. Lasn, Software engineer
Create comprehensive, engaging documentation by adopting journalistic techniques for research and storytelling
1年前

Cloudflare's AI Content Control: Savior or Threat to the Open Web?
Trevor I. Lasn, Software engineer
How Cloudflare's new AI management tools could revolutionize content creation, potentially reshaping the internet landscape for both website owners and AI companies.
1年前

Conway's Law: The Hidden Force Shaping Your Software Architecture
Trevor I. Lasn, Software engineer
If you've ever wondered why your carefully planned software architecture ends up looking suspiciously like your org chart, you're not alone. Welcome to the world of Conway's Law.
1年前

Internal Mobility
Trevor I. Lasn, Software engineer
Just like a utility player on a sports team discovering their ideal position, internal mobility allows you to explore different areas of engineering and find your true passion.
1年前

Outdated Docs Are Tech Debt
Trevor I. Lasn, Software engineer
Teams often neglect to create good documentation. Code gets delivered, but updating the docs is treated as a secondary task, easily postponed—until it’s too late.
1年前

Attracting Top Engineering Talent to Your Startup
Trevor I. Lasn, Software engineer
Advice on competing for great software engineers without name recognition
1年前

Weeks of Coding Can Save You Hours of Planning
Trevor I. Lasn, Software engineer
Weeks of coding can save you hours of planning. It’s one of those sayings that’s been around forever, and for good reason—it’s a warning that still holds up today.
1年前

It's More Fun to Be Competent
Trevor I. Lasn, Software engineer
Once you're competent, everything changes. You stop second-guessing yourself. You stop panicking every time you encounter a new problem. And you start taking on bigger challenges with excitement rather than dread.
1年前

Code Wins Arguments
Trevor I. Lasn, Software engineer
How Meta and other companies use the 'code wins arguments' mindset to turn ideas into reality
1年前

Take Your Writing Seriously
Trevor I. Lasn, Software engineer
It’s not just about getting the message across; it’s about doing so in a way that’s easy for others to follow. Good writing shows respect for your team and your work.
1年前

Users Can Be Fired
Trevor I. Lasn, Software engineer
Letting go of difficult or harmful users can be the key to maintaining the health and growth of your product
1年前

A Great Product Doesn't Need Marketing
Trevor I. Lasn, Software engineer
Great products speak for themselves, without the need for massive marketing campaigns
1年前

dependency-time-machine: An Easier Way to Update NPM packages
Trevor I. Lasn, Software engineer
Automatically update your package.json dependencies one by one in chronological order, ensuring compatibility and reducing errors
1年前

Engineering Managers Should Write Code
Trevor I. Lasn, Software engineer
Engineering managers who stop writing code lose touch with their teams and become ineffective leaders
1年前

Amazon's 'No Weasel Words' Rule
Trevor I. Lasn, Software engineer
How Amazon's emphasis on eliminating weasel words leads to more precise, actionable communication and better decision-making
1年前

The Real Cost of Meetings: What FAANG Companies Do Differently
Trevor I. Lasn, Software engineer
Discover how FAANG companies like Amazon, Google, and Netflix reduce the hidden costs of meetings by embracing written communication and minimizing unnecessary gatherings.
1年前

What Makes MrBeast So Successful?
Trevor I. Lasn, Software engineer
A deep dive into the strategies, mindset, and team culture that have made MrBeast one of the most successful creators on YouTube
1年前

What's New in Express.js v5.0
Trevor I. Lasn, Software engineer
A detailed look at the key changes and improvements in Express v5.0 and how to migrate your app
1年前

Evolve or Become Irrelevant
Trevor I. Lasn, Software engineer
Why staying relevant in tech means constantly adapting to new technologies and trends
1年前

Speculation Rules API: Boosting Web Performance with Prefetching and Prerendering
Trevor I. Lasn, Software engineer
How the experimental Speculation Rules API improves web performance by prefetching and prerendering future navigations
1年前

Company Culture Happens Outside Management
Trevor I. Lasn, Software engineer
Why real company culture grows from the ground up, not top down.
1年前

Improve PageSpeed Insights Score with Lazy Loading Iframes
Trevor I. Lasn, Software engineer
How to save bandwidth and speed up your site by lazy-loading iframes
1年前

Speed Up Your Website With rel='preconnect' and increase PageSpeed Insights Score
Trevor I. Lasn, Software engineer
Using link rel='preconnect' can improve your website's performance by reducing connection setup times to key external domains.
1年前

The Crutch Effect: How AI Tools Became A Crutch
Trevor I. Lasn, Software engineer
Introducing The Crutch Effect
1年前

Mental Toughness is the Best Quality a Developer Can Have
Trevor I. Lasn, Software engineer
Mental toughness gets developers through challenges like debugging, picking up new tools, and hitting tight deadlines. It’s about staying calm and pushing through when things get tough.
1年前

When Should You Actually Worry About Tech Debt?
Trevor I. Lasn, Software engineer
Technical debt isn't the monster under your bed, but it can become one if ignored too long.
1年前

Google is Killing Information Economics on the Internet
Trevor I. Lasn, Software engineer
Google’s Gemini pulls summaries from websites and slaps them directly into the search results
1年前

Tips for Reducing Cyclomatic Complexity
Trevor I. Lasn, Software engineer
Cyclomatic complexity is like counting how many ways a car can go. More options make it harder to drive because you have to make more decisions, which can lead to confusion.
1年前

The Internet is Becoming an Ocean of LLM-Generated Junk
Trevor I. Lasn, Software engineer
The internet’s full of content, but most of it is becoming junk. I’m talking about the stuff generated by Large Language Models (LLMs). These AI tools are cranking out endless articles, and the quality? It's bad—really bad.
1年前

setImmediate() vs setTimeout() in JavaScript
Trevor I. Lasn, Software engineer
both setImmediate() and setTimeout() are used for scheduling tasks, but they work differently.
1年前

Unrealistic Deadlines In Software Engineering
Trevor I. Lasn, Software engineer
Unrealistic deadlines are more than just stressful—they set engineers up for failure
1年前

Understanding JavaScript Closures With Examples
Trevor I. Lasn, Software engineer
Closures are essential for creating functions that maintain state, without relying on global variables.
1年前

Explicit is better than implicit
Trevor I. Lasn, Software engineer
Clarity is key: being explicit makes your code more readable and maintainable.
1年前

Comprehensive React Testing: Handling API Calls with Mock Service Worker
Trevor I. Lasn, Software engineer
Testing can be tricky, especially when it comes to handling API calls.
1年前

Chrome Is Beta Testing Built-In AI. Could This Kill a Lot of Startups?
Trevor I. Lasn, Software engineer
The Power Play: Gemini Nano in Chrome
1年前

Embrace Intermediate Variables and Early Returns in JavaScript
Trevor I. Lasn, Software engineer
Early returns and intermediate variables make your code easier to reason about
1年前

When Regex Goes Wrong
Trevor I. Lasn, Software engineer
Issues and catastrophic failures caused by regex
1年前

Invisible columns in SQL
Trevor I. Lasn, Software engineer
It’s a small feature, but it can make a big difference.
1年前

Objective-C Is a Total Abomination (opinion)
Trevor I. Lasn, Software engineer
Objective-C is, without a doubt, one of the ugliest programming languages out there
1年前

Understanding Vue's Suspense
Trevor I. Lasn, Software engineer
How the Suspense component manages async dependencies and improves loading states in Vue apps
1年前

The Only Widely Recognized JavaScript Feature Ever Deprecated
Trevor I. Lasn, Software engineer
The 'with' statement is the only feature ever deprecated in JavaScript
1年前

10 Essential Terminal Commands Every Developer Should Know
Trevor I. Lasn, Software engineer
List of useful Unix terminal commands to boost your productivity. Here are some of my favorites.
1年前

Remove Unnecessary NPM Packages with eslint-plugin-depend
Trevor I. Lasn, Software engineer
We don't need packages to handle basic JavaScript tasks
1年前

Common Causes of Memory Leaks in JavaScript
Trevor I. Lasn, Software engineer
Identify and fix common JavaScript memory leaks (Node.js and Deno.js)
1年前

Secure Your Repositories: Prevent Credential Leaks with Gitleaks
Trevor I. Lasn, Software engineer
Automate security flows and ensure your team follows security best practices
1年前

Who is the fastest? Node.js, Bun.js, or Deno.js
Trevor I. Lasn, Software engineer
A detailed comparison of Node.js, Bun.js, and Deno.js runtime performance
1年前

Technical Debt Is Killing Your Business
Trevor I. Lasn, Software engineer
And it will be your downfall if you choose to ignore it
1年前

Frontend Security Checklist
Trevor I. Lasn, Software engineer
Tips for Keeping All Frontend Applications Secure
1年前

Speeding Up React Apps with Code Splitting and Lazy Loading
Trevor I. Lasn, Software engineer
Performance is not a luxury; it's a necessity
2年前

Staying Motivated While Building Your Startup: A Balanced Approach
Trevor I. Lasn, Software engineer
Building a startup is an exhilarating journey, filled with highs and lows
2年前

The What, Why, and How of Using a Skeleton Loading Screen
Trevor I. Lasn, Software engineer
Skeleton loading screens enhance user experience and make your app feel faster
5年前

Sharp: A High-Performance Image Processing Library for Node.js
Trevor I. Lasn, Software engineer
Sharp is a high-performance package for resizing and formatting images
5年前

Integrating Docker with React
Trevor I. Lasn, Software engineer
Streamline your development and deployment processes
5年前

How To Restore Your Passion for Programming
Trevor I. Lasn, Software engineer
Programming is a difficult skill to master and requires great perseverance to get good at. The grind can be too much at times — remember, if something is hard, it’s worth doing, as nothing good comes easy.
6年前

What Does an Entry-Level Programmer Need to Know Exactly?
Trevor I. Lasn, Software engineer
Expectations for entry-level programmers
6年前

Mermaid.js — Create Charts and Diagrams With Markdown-like Syntax
Trevor I. Lasn, Software engineer
Mermaid.js is a simple markdown-like script language for generating charts from text via JavaScript
6年前

Become a Web Developer in 180 Days
Trevor I. Lasn, Software engineer
A comprehensive roadmap to becoming a proficient web developer
6年前

Peaks.js — Interact With Audio Waveforms
Trevor I. Lasn, Software engineer
Peaks.js is a client-side JavaScript component to display and interact with audio waveforms in the browser
6年前

Boost React + Redux Performance with Reselect
Trevor I. Lasn, Software engineer
Selectors are a powerful tool to optimize state selection and enhance performance in your React and Redux apps.
6年前

Programming Trends to Watch in 2020 and Beyond
Trevor I. Lasn, Software engineer
Here are my bets on the programming trends
6年前

How To Fetch Data From an API With React Hooks
Trevor I. Lasn, Software engineer
Fetch data in React applications using the power of React Hooks
6年前

How To Use Redux with React Hooks
Trevor I. Lasn, Software engineer
Write less code, but better code
6年前

Demystifying React Hooks
Trevor I. Lasn, Software engineer
Hooks can save you time and improve the quality of your code
6年前

The Secret to Being a Top Developer Is Building Things
Trevor I. Lasn, Software engineer
You can only become a great developer if you're willing to put effort into it
8年前

All You Need To Know About CSS-in-JS
Trevor I. Lasn, Software engineer
An overview of CSS-in-JS and its relevance in modern web development
8年前

Next.js — React Server-Side Rendering Done Right
Trevor I. Lasn, Software engineer
We’re officially in the age of server-side rendered react apps
8年前

How to setup Webpack +2.0 from scratch in 2017
Trevor I. Lasn, Software engineer
Webpack is another evolution in the JavaScript tooling ecosystem
8年前