Workflow
JavaScript
icon
Search documents
2025 年 11 月编程语言排行榜|C# 要翻身超Java?Java:我不要面子的啊!
菜鸟教程· 2025-11-13 03:30
Core Insights - The TIOBE Index for November 2025 indicates that C may surpass Java for the first time in history, following Python's dominance since late 2023 [1][12] - C is currently the fastest-growing programming language, with a significant upward trend that could lead to it becoming the top language in 2025 [4][12] - The competition between C and Java has intensified, with the gap between their ratings now being less than 1% [12][19] Programming Language Rankings - The current top programming languages are Python, C, C++, Java, and C, with C showing a notable increase of 2.67% [12][21] - The historical ranking of programming languages shows C maintaining its position at fifth place, while Python remains at the top [28][29] - The rankings reflect the shifting focus of developers towards languages that offer modern features and cross-platform capabilities [19][30] Industry Trends - C has evolved from being a Windows-only enterprise language to a modern, cross-platform, and open-source language, making it competitive with Java in various fields [13][19] - Java continues to dominate in the financial sector due to legacy systems, but C is gaining ground in game development, web services, and cloud-native applications [7][9][19] - The programming landscape is characterized by a shift in developer preferences towards languages that enhance productivity and user experience rather than just stability [15][19]
TypeScript超越Python成GitHub上使用最广语言,AI是主要驱动力
机器之心· 2025-11-12 03:17
Core Insights - The core insight of the article is that TypeScript has overtaken Python as the most widely used programming language on GitHub, marking a significant shift in developer preferences towards typed languages, particularly in the context of AI-assisted development [2][4][6]. Group 1: Language Popularity and Growth - TypeScript became the most popular language on GitHub in August 2025, surpassing Python with approximately 2.6 million contributors, a year-over-year growth of 66.6% [6][13]. - Python, while dropping to second place, still maintains a strong presence with around 2.6 million contributors, growing by 48.8% year-over-year [6][20]. - JavaScript remains a significant player with 2.15 million contributors, but its growth has slowed as developers shift towards TypeScript [7][9]. Group 2: Factors Driving TypeScript's Rise - The rise of TypeScript is attributed to its type system, which reduces code ambiguity and helps catch errors generated by AI before deployment [14][15]. - Many modern development frameworks now default to TypeScript, further driving its adoption among developers [14]. - The entry barrier for TypeScript is lower due to tools that simplify setup, making it accessible for junior developers [16] . Group 3: Python's Continued Dominance in AI - Despite TypeScript's rise, Python remains the dominant language in AI projects, driving nearly half of the new AI repositories with 582,196 new projects, a year-over-year growth of 50.7% [20]. - Jupyter Notebook continues to be the preferred exploratory environment for AI, with 402,643 repositories, reflecting a 17.8% increase [20][18]. Group 4: Broader Trends in Development - Open-source development activity reached record levels, with a total of 1.12 billion contributions, a 13% year-over-year increase [24]. - India emerged as the largest source of new developers on GitHub in 2025, contributing over 5.2 million new developers, which is more than 14% of the total new developers [26]. - The growth of traditional languages like Java and C continues, indicating their stability in enterprise environments despite the rise of AI [27]. Group 5: Emerging Languages and Tools - Luau, the scripting language for Roblox, saw a remarkable growth of over 194%, reflecting a trend towards typed flexibility in the industry [31]. - The focus on performance-centric developer tools is increasing, with tools like Ghostty and Tailwind CSS gaining attention for their speed and minimal development friction [32].
少儿编程语言发展趋势榜
Sou Hu Cai Jing· 2025-11-05 04:03
Core Insights - The article emphasizes the growing importance of programming as a skill for children, highlighting the need to choose the right programming language for their learning journey [2][15] - The "Children's Programming Language Development Trend List" serves as a significant reference for understanding industry trends and educational philosophies [2][3] Trend Analysis - The ranking reveals a shift from traditional programming languages like C++, Java, and Python to languages that align more closely with children's cognitive development and interests [3] - The top-ranked platform, Xigua Creator, exemplifies a successful educational approach by integrating a systematic learning path from graphical programming (Scratch) to text-based programming (Python) [3][4] Language Distribution - The list categorizes programming languages into two main tiers: graphical programming languages (e.g., Scratch, Blockly) and text-based programming languages (e.g., Python) [4] - Scratch is recognized as the standard for children's programming initiation, allowing for creative expression without the burden of complex syntax [6] Educational Pathways - The transition from graphical to text-based programming is crucial for children's development, with Python being the recommended next step due to its simplicity and wide application in fields like AI and data science [7][10] - The article outlines a structured approach to learning, emphasizing the importance of engaging and enjoyable educational experiences [8][15] Future Considerations - The choice of programming language is framed as an investment in children's future, with different languages leading to various career paths [9][10] - A comprehensive learning platform is deemed essential, providing exposure to multiple programming paradigms and fostering a supportive learning environment [11][12] Age-Specific Recommendations - For ages 6-9, graphical programming like Scratch is recommended to build foundational logic and computational thinking [16] - Ages 9-12 is identified as the optimal time to transition to Python, while ages 12 and above can focus on languages aligned with their interests, such as C++ for game development or JavaScript for web development [16]
为什么后端老是觉得前端简单?
菜鸟教程· 2025-10-27 03:30
Core Viewpoint - The article discusses the complexities and challenges faced by both front-end and back-end developers, emphasizing that each role has its own difficulties and intricacies that are often overlooked by those outside the field [2][12]. Front-end Development - Front-end development involves a wide range of technologies and frameworks such as React, Vue, Angular, and Svelte, which require continuous learning and adaptation due to rapid changes in the market [7]. - Tools like Webpack and Vite are essential for building applications, but they can be complex to configure and troubleshoot [7]. - The use of TypeScript adds a layer of complexity to JavaScript, but it can help prevent errors in the long run [7]. - CSS layout techniques like Flex and Grid, along with responsive design and animations, require attention to detail to ensure a good user experience [7][11]. - Front-end developers must ensure that applications are visually appealing and user-friendly, which involves meticulous attention to detail in design and functionality [11]. Back-end Development - Back-end development is often perceived as less complex because it lacks a visible interface, but it involves critical tasks such as managing data integrity, server performance, and application logic [11]. - Back-end developers must handle high concurrency, database design, and system architecture, which are essential for maintaining application stability and performance [11][12]. - The responsibilities include designing database structures, implementing caching strategies, and ensuring the system can handle peak loads without failure [11]. Comparison of Roles - The article highlights that perceptions of complexity in development roles are subjective and depend on one's position within the development process [9]. - Both front-end and back-end developers face unique challenges, and the article argues that neither role is inherently easier than the other [12]. - The visibility of front-end work makes it easier for outsiders to critique, while back-end work often goes unnoticed despite its importance [12].
AI 时代,编程语言选型更难也更重要:Go、Rust、Python、TypeScript 谁该上场?
AI前线· 2025-10-22 05:18
Core Viewpoint - The choice of programming languages is becoming increasingly important in the AI era, as it directly impacts the quality of code generated by AI agents [19][28]. Group 1: Programming Language Comparison - Go is favored in AI scenarios due to its thin abstraction layer and structured nature, making it easier for models to understand and rewrite code. In tests, Go outperformed Python and Rust in generating code for similar small programs [2][27]. - Python remains essential for any company, especially for tasks involving machine learning or data processing, even if it is not used for core services [12][16]. - JavaScript and TypeScript are also unavoidable in the current landscape, with TypeScript often accompanying JavaScript [12][17]. Group 2: Language Evolution and Future Trends - The industry is witnessing a trend towards creating "next-generation languages" designed for human-agent collaboration, as existing languages may not be optimal for this new paradigm [3][29]. - The migration from Python 2 to 3 serves as a cautionary tale for future language transitions, highlighting the complexities involved in such changes [4][6][7]. - Rust has learned from Python's migration challenges by implementing an "edition system" that allows for incremental feature adoption without breaking compatibility with older versions [7]. Group 3: Practical Considerations in Language Choice - The choice of programming language should be pragmatic, focusing on the product being built rather than the code itself. Early-stage companies should limit their technology stack to three or four languages [11][18]. - The emergence of AI tools has shifted the focus from the necessity of a unified codebase to maintaining clear boundaries between systems, enhancing development efficiency [18][20]. Group 4: AI's Impact on Software Development - AI tools are significantly changing the software development landscape, allowing for more efficient coding and problem-solving. A substantial portion of code (over 80%) in some companies is now generated by AI [21][24]. - The role of human developers is shifting towards creative and thoughtful tasks, while AI handles more routine coding responsibilities [21][24]. - The democratization of programming is occurring as AI lowers the entry barrier, enabling more individuals to engage in coding without extensive prior knowledge [25]. Group 5: Error Handling and Language Design - Different programming languages exhibit varying error handling characteristics, which can significantly impact system reliability and user experience [34][35]. - The design of programming languages often involves trade-offs between performance and error handling capabilities, which can affect the overall robustness of applications [40][42].
谁是2025年度最好的编程语言?
量子位· 2025-10-01 01:12
Core Viewpoint - Python continues to dominate as the most popular programming language, achieving a remarkable lead over its competitors, particularly Java, in the IEEE Spectrum 2025 programming language rankings [2][4][5]. Group 1: Python's Dominance - Python has secured its position as the top programming language for ten consecutive years, marking a significant achievement in the IEEE Spectrum rankings [6]. - This year, Python has not only topped the overall ranking but also led in growth rate and employment orientation, making it the first language to achieve this triple crown in the 12-year history of the IEEE rankings [7]. - The gap between Python and Java is substantial, indicating Python's strong growth trajectory [4][5]. Group 2: Python's Ecosystem and AI Influence - Python's rise can be attributed to its simplicity and the development of powerful libraries such as NumPy, SciPy, matplotlib, and pandas, which have made it a favorite in scientific, financial, and data analysis fields [10]. - The network effect has played a crucial role, with an increasing number of developers choosing Python and contributing to its ecosystem, creating a robust community around it [11]. - AI has further amplified Python's advantages, as it possesses richer training data compared to other languages, making it the preferred choice for AI applications [12][13]. Group 3: Other Languages' Challenges - JavaScript has experienced the most significant decline, dropping from the top three to sixth place in the rankings, indicating a shift in its relevance [15]. - SQL, traditionally a highly valued skill, has also faced challenges from Python, which has encroached on its territory, although SQL remains a critical skill for database access [18][21][23]. Group 4: Changes in Programming Culture - The community culture among programmers is declining, with a noticeable drop in activity on platforms like Stack Overflow, as many now prefer to consult AI for problem-solving [25][26]. - The way programmers work is evolving, with AI taking over many tedious tasks, allowing developers to focus less on programming details [30][31]. - The diversity of programming languages may decrease as AI supports only mainstream languages, leading to a stronger emphasis on a few dominant languages [37][39]. Group 5: Future of Programming - The programming landscape is undergoing a significant transformation, potentially leading to a future where traditional programming languages may become less relevant [41]. - While high-level languages like Python have simplified programming, the ultimate goal may shift towards direct interaction with compilers through natural language prompts [46]. - The role of programmers may evolve, focusing more on architecture design and algorithm selection rather than maintaining extensive source code [49][50].
小众语言再难出头!写代码靠和 AI 聊天、连用啥都不在乎了,开发者感叹:等我们不在了,AI 智能体会接手
AI前线· 2025-09-29 07:05
Core Viewpoint - The article discusses the evolving landscape of programming languages, highlighting the dominance of Python and the decline of JavaScript, while emphasizing the impact of AI on programming practices and the potential stagnation of new language development [2][4][19]. Programming Language Rankings - IEEE Spectrum's 2025 ranking includes 64 programming languages, evaluated based on usage by programmers, employer demand, and current trends, with Python retaining the top position [2][4]. - JavaScript dropped from third to sixth place, attributed to the rise of AI tools that reduce the need for traditional coding practices [4][10]. Metrics and Methodology - The ranking process utilized seven different metrics, including Google search traffic, Stack Exchange questions, research paper mentions, and GitHub activity, reflecting the attention garnered by various languages [3][4]. AI's Influence on Programming - The article notes a significant reduction in questions posted on Stack Exchange, with 2025's volume at only 22% of 2024's, indicating a shift towards AI-assisted coding [12][13]. - Developers are increasingly relying on AI models like Claude and ChatGPT for coding assistance, leading to a diminished focus on specific programming languages [12][13]. Future of Programming Languages - The article raises concerns about the potential decline in the emergence of new programming languages, as AI tools may address many coding challenges, reducing the need for new languages [15][19]. - It speculates that programming may evolve towards a model where AI generates code from high-level prompts, potentially rendering traditional programming languages less relevant [18][19].
为什么 setTimeout(0) 不是真的 0 毫秒?浏览器藏了这些“小心思”
程序员的那些事· 2025-09-14 11:04
Core Viewpoint - The article discusses the behavior of JavaScript's `setTimeout` function, highlighting that it does not execute with a true delay of 0 milliseconds, but rather has a minimum delay of approximately 4 milliseconds due to browser limitations aimed at preventing abuse and ensuring user experience [6][8]. Group 1: Timer Behavior and Limitations - Browsers impose a minimum delay of 4 milliseconds for `setTimeout` to prevent excessive battery drain and maintain page interactivity [8]. - Different browsers have varying restrictions, with older versions of Edge increasing the delay to 16 milliseconds on battery-powered devices, and Chrome imposing a 1-second delay on background tabs [8]. - A benchmark test showed that `setTimeout` in Chrome took 4.2 milliseconds, while alternatives like `MessageChannel` and `scheduler.postTask` performed significantly better [10][11]. Group 2: Alternatives to setTimeout - The article evaluates alternatives to `setTimeout`, including `setImmediate`, `MessageChannel.postMessage`, `window.postMessage`, and `scheduler.postTask`, with the latter being recommended for its ease of use and performance [9][11]. - The benchmark results indicated that `scheduler.postTask` and `MessageChannel.postMessage` had comparable performance, while `setTimeout` was consistently slower across different browsers [10][11]. Group 3: Developer Responsibility and Browser Design - There is a debate within the industry regarding whether developers should be held accountable for their code or if browsers should impose restrictions to prevent misuse of APIs like `setTimeout` [12]. - The article suggests that providing developers with better tools for task scheduling could reduce reliance on `setTimeout` and the need for browser interventions [12][13]. - The existence of the Scheduler API indicates a shift towards empowering developers while aligning with browser rendering processes [13].
GPT-5:前端开发者的“选择自己的冒险路线”
3 6 Ke· 2025-09-05 10:33
Core Insights - OpenAI claims that GPT-5 excels in front-end coding, outperforming its predecessor in 70% of internal tests [2] - Mixed reviews from developers indicate that the initial excitement around GPT-5 may be overstated, with some users reporting a decline in performance [3][4] - A poll conducted by AI engineer Shawn Wang revealed that over 40% of respondents rated GPT-5 as "average" or "poor" [4] Developer Experiences - Influential developer Theo Browne initially praised GPT-5 but later expressed disappointment, stating that its performance had worsened over time [3] - A GitHub Copilot user criticized GPT-5 for its weak summarization and explanation capabilities, comparing it unfavorably to Claude Sonnet 4 [3] - Developers are exploring the potential of GPT-5 to create applications without traditional frameworks like React, suggesting a shift in front-end development practices [7][8] Performance Comparisons - The ability of GPT-5 to create websites without frameworks has impressed some developers, raising questions about the necessity of tools like React [8] - Differences in performance between various versions of GPT-5 have been noted, with some users experiencing less impressive results with non-premium versions [10] - A study by Sonar highlighted the varying coding styles and effectiveness of different AI models, indicating that GPT-5's coding personality is still being evaluated [11]
逆向还原代码,这是大模型最好的用处了吧~
菜鸟教程· 2025-09-05 03:30
Core Viewpoint - The article discusses the open-source tool Humanify, which helps convert obfuscated JavaScript code into a more readable format using advanced language models and Babel's AST renaming capabilities [3][4]. Group 1: Tool Overview - Humanify is an open-source JavaScript tool developed on Node.js, licensed under MIT [3]. - It combines intelligent naming suggestions from large language models (LLMs) with Babel's AST renaming tool to enhance code readability and maintain logical consistency [3][4]. Group 2: Installation and Usage - Installation can be done globally using npm with the command `npm install -g humanifyjs`, or it can be run temporarily using `npx humanifyjs` without installation [6]. - The tool supports three running modes: openai, gemini, and local [7]. Group 3: Command Line Parameters - For the OpenAI mode, the command is `humanify openai --apiKey="your-token" obfuscated-file.js`, with an option to set the API key as an environment variable [8][9]. - The Gemini mode follows a similar command structure, allowing for cloud-based processing with optimized hardware [10]. Group 4: Model and Performance - The local mode runs on a pre-trained model downloaded separately, ensuring syntax remains unchanged during renaming [11][12]. - The tool is designed to be user-friendly for JavaScript developers, eliminating the need for Python dependencies [11]. Group 5: Hardware Compatibility - Humanify has native support for Apple M series chips, allowing it to leverage the GPU performance of Mac devices [15]. Group 6: Example Usage - An example is provided where a compressed function is transformed into a more human-readable version using the Humanify tool, demonstrating its effectiveness [16].