Bỏ qua đến nội dung

Sử dụng

Cách bạn sử dụng JavaScript

Cân nhắc giữa JavaScript/TypeScript

The proportion of developers who write the entirety of their code in TypeScript keeps increasing, and may soon represent a majority of respondents.
Bạn chia thời gian giữa việc viết code JavaScript và TypeScript như thế nào?
0%
20%
40%
60%
80%
100%
1
100% JS
2
|
3
|
4
|
5
50/50
6
|
7
|
8
|
9
100% TS
0%
20%
40%
60%
80%
100%

Compiled Code Balance

A natural consequence of writing typed code (at least today) is depending on a build step, which is the case for the vast majority of us.
What proportion of the JavaScript code you write for the browser goes through a build step?
0%
20%
40%
60%
80%
100%
1
0% Compiled
2
|
3
|
4
|
5
50%
6
|
7
|
8
|
9
100% Compiled
0%
20%
40%
60%
80%
100%

Build Step Advantages
✨

If we did want to envision a build-less future, the first step would no doubt be native type support in JavaScript.
What do you feel are the main advantages resulting from using a build step?
Multiple
Limited
3
0%
20%
40%
60%
80%
100%
01
Static typing
02
Better development experience
03
Code optimization
04
Template/component transpilation
05
Bundling
06
Linting
07
Browser compatibility
08
Environment management
09
Asset processing
10
No advantages
11
All of the above
12
Câu trả lời khác
0%
20%
40%
60%
80%
100%

AI Code Generation

While respondents do not yet produce a majority of their code with AI, the balance is quickly shifting, with code being the result of AI output increasing from 20% to 29% year-over-year.
What proportion of the code you produce is AI-generated?
0%
20%
40%
60%
80%
100%
1
0% AI
2
12.5%
3
25%
4
37.5%
5
50%
6
62.5%
7
75%
8
87.5%
9
100% AI
0%
20%
40%
60%
80%
100%
We asked members of the JavaScript community to share their “pick of the year”

My 2025 Pick: Talk: Next.js at the speed of Bun

My pick is Lydia Hallie's talk at Next.js Conf about Bun. They're working on super exciting things, and shes the best at explaining advanced topics :)
We asked members of the JavaScript community to share their “pick of the year”

Sử dụng JavaScript

Despite the ever-growing number of use cases for JavaScript, front-end develeopment remains the most common reason to use the language for now.
Bạn sử dụng JavaScript cho mục đích gì?
Multiple
0%
20%
40%
60%
80%
100%
01
Frontend Development
02
Backend Development
03
Mobile Apps
04
Desktop Apps
05
Data Visualization
06
Graphics & Animation
07
Data Analysis
08
Game Development
09
Embedded Apps
+1
10
Machine Learning
-1
0%
20%
40%
60%
80%
100%

Ngành công nghiệp

Given the survey's focus on upcoming trends and early-stage features, it makes sense that its largest audience block would be developers building tools and products for other programmers.
Bạn làm việc trong (những) ngành công nghiệp nào?
Multiple
0%
20%
40%
60%
80%
100%
01
Công cụ lập trình & kỹ thuật
02
Tư vấn & Dịch vụ
03
Thương mại điện tử & Bán lẻ
04
Tài chính
05
Giáo dục
+1
06
Công cụ Marketing/Bán hàng/Phân tích
-1
07
Giải trí
08
Chăm sóc sức khỏe
09
Tin tức, truyền thông & blog
10
Chính phủ
0%
20%
40%
60%
80%
100%

Mô hình Ứng dụng

Modern JavaScript frameworks may now support a whole range of various rendering modes, but it turns out the simplest ones remain the most popular to this day.
Bạn đã sử dụng mô hình kiến trúc và rendering nào trong năm qua?
Multiple
0%
20%
40%
60%
80%
100%
01
Ứng dụng đơn trang (SPA)
02
Hiển thị phía máy chủ (SSR)
03
Tạo trang web tĩnh (SSG)
04
Ứng dụng đa trang (MPA)
05
Tái tạo một phần
06
Kiến trúc đảo
07
Tăng cường tiến bộ
08
SSR Streaming
+1
09
Hiển thị trước một phần
+1
10
Tạo tĩnh tăng phần
-2
0%
20%
40%
60%
80%
100%

Điểm đau của JavaScript

We now have pretty much all the tools we need; the challenge is to know how to use them right.
Những khía cạnh nào của JavaScript bạn gặp khó khăn nhất?
Multiple
Limited
3
0%
20%
40%
60%
80%
100%
01
Kiến trúc code
02
Quản lý trạng thái
03
Quản lý phụ thuộc
04
Quản lý Ngày
+3
05
Hiệu suất
06
Công cụ xây dựng
-2
07
Debug
-1
08
Gõ
09
Tìm kiếm package
+1
10
Code bất đồng bộ
-1
0%
20%
40%
60%
80%
100%

Hài lòng với Công nghệ Web

Happiness is once again stable.
Bạn hài lòng với trạng thái chung của công nghệ web như thế nào?
1
2
3
4
5
2020
2021
2022
2023
2024
2025
1
2
3
4
5
Trung bình {axis}

Hài lòng với JavaScript

Happiness levels remain constant once again.
Bạn hài lòng với trạng thái chung của JavaScript như thế nào?
1
2
3
4
5
2020
2021
2022
2023
2024
2025
1
2
3
4
5
Trung bình {axis}

Tài nguyên được đề xuất

Practical Prompt Engineering
Sabrina Goldfarb
GitHub

Practical Prompt Engineering

Generate higher quality code from AI tools! Learn prompting techniques that work consistently across Claude, ChatGPT, Copilot, and Cursor. Transform vague project ideas into structure, actionable development plans.
Front-End System Design
Evgenii Ray
Staff UI Engineer

Front-End System Design

Dive into front-end system design to create scalable, efficient user interfaces! Master core UI fundamentals: box model, browser rendering, DOM manipulation, state management, and performance.
Cảm ơn các đối tác đã hỗ trợ chúng tôi! Tìm hiểu thêm.