並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 40 件 / 49件

新着順 人気順

javascript try catch finally syntaxの検索結果1 - 40 件 / 49件

  • REST API Design Best Practices Handbook – How to Build a REST API with JavaScript, Node.js, and Express.js

    By Jean-Marc Möckel I've created and consumed many API's over the past few years. During that time, I've come across good and bad practices and have experienced nasty situations when consuming and building API's. But there also have been great moments. There are helpful articles online which present many best practices, but many of them lack some practicality in my opinion. Knowing the theory with

      REST API Design Best Practices Handbook – How to Build a REST API with JavaScript, Node.js, and Express.js
    • The Prompt Engineering Playbook for Programmers

      Developers are increasingly relying on AI coding assistants to accelerate our daily workflows. These tools can autocomplete functions, suggest bug fixes, and even generate entire modules or MVPs. Yet, as many of us have learned, the quality of the AI’s output depends largely on the quality of the prompt you provide. In other words, prompt engineering has become an essential skill. A poorly phrased

        The Prompt Engineering Playbook for Programmers
      • Announcing TypeScript 6.0 - TypeScript

        Today we are excited to announce the availability of TypeScript 6.0! If you are not familiar with TypeScript, it’s a language that builds on JavaScript by adding syntax for types, which enables type-checking to catch errors, and provide rich editor tooling. You can learn more about TypeScript and how to get started on the TypeScript website. But if you’re already familiar with the language, you ca

          Announcing TypeScript 6.0 - TypeScript
        • How modern browsers work

          Note: For those eager to dive deep into how browsers work, an excellent resource is Browser Engineering by Pavel Panchekha and Chris Harrelson (available at browser.engineering). Please do check it out. This article is an overview of how browsers work. Web developers often treat the browser as a black box that magically transforms HTML, CSS, and JavaScript into interactive web applications. In tru

            How modern browsers work
          • TypeScript's Migration to Modules - TypeScript

            One of the most impactful things we’ve worked on in TypeScript 5.0 isn’t a feature, a bug fix, or a data structure optimization. Instead, it’s an infrastructure change. In TypeScript 5.0, we restructured our entire codebase to use ECMAScript modules, and switched to a newer emit target. What to Know Now, before we dive in, we want to set expectations. It’s good to know what this does and doesn’t m

              TypeScript's Migration to Modules - TypeScript
            • 2025: The year in LLMs

              31st December 2025 This is the third in my annual series reviewing everything that happened in the LLM space over the past 12 months. For previous years see Stuff we figured out about AI in 2023 and Things we learned about LLMs in 2024. It’s been a year filled with a lot of different trends. The year of “reasoning” The year of agents The year of coding agents and Claude Code The year of LLMs on th

                2025: The year in LLMs
              • Announcing TypeScript 4.9 - TypeScript

                Today we are excited to announce the availability of TypeScript 4.9! If you’re not familiar with TypeScript, it’s a language that builds on JavaScript by adding types and type-checking. Types can describe things like the shapes of our objects, how functions can be called, and whether a property can be null or undefined. TypeScript can check these types to make sure we’re not making mistakes in our

                  Announcing TypeScript 4.9 - TypeScript
                • TypeScript and the dawn of gradual types

                  The FullScreenMario project burned brightly for a few short weeks in October 2013 after Boing Boing lauded it as “a pretty impressive example of what HTML5, in-browser functionality can do.” A few days later, it went viral on Reddit and by November, attention turned to scrutiny, and Nintendo took the project down with a DMCA request. Josh Goldberg speaks of his former project with a bit of pride—i

                    TypeScript and the dawn of gradual types
                  • All JavaScript and TypeScript Features of the last 3 years

                    TypeScript as envisioned by Stable DiffusionThis article goes through almost all of the changes of the last 3 years (and some from earlier) in JavaScript / ECMAScript and TypeScript . Not all of the following features will be relevant to you or even practical, but they should instead serve to show what’s possible and to deepen your understanding of these languages. There are a lot of TypeScript fe

                      All JavaScript and TypeScript Features of the last 3 years
                    • Python is a Compiled Language

                      This blog post hopes to convince you that Python is a compiled language. And by “Python”, I don’t mean alternate versions of Python like PyPy, Mypyc, Numba, Cinder, or even Python-like programming languages like Cython, Codon, Mojo1—I mean the regular Python: CPython! The Python that is probably installed on your computer right now. The Python that you got when you searched “python” on Google and

                      • AST vs. Bytecode: Interpreters in the Age of Meta-Compilation

                        233 AST vs. Bytecode: Interpreters in the Age of Meta-Compilation OCTAVE LAROSE, University of Kent, UK SOPHIE KALEBA, University of Kent, UK HUMPHREY BURCHELL, University of Kent, UK STEFAN MARR, University of Kent, UK Thanks to partial evaluation and meta-tracing, it became practical to build language implementations that reach state-of-the-art peak performance by implementing only an interprete

                        • Announcing TypeScript 5.2 RC - TypeScript

                          Today we’re excited to announce our Release Candidate of TypeScript 5.2! Between now and the stable release of TypeScript 5.2, we expect no further changes apart from critical bug fixes. To get started using the RC, you can get it through NuGet, or through npm with the following command: npm install -D typescript@rc Here’s a quick list of what’s new in TypeScript 5.2! using Declarations and Explic

                            Announcing TypeScript 5.2 RC - TypeScript
                          • WebKit Features in Safari 18.0

                            ContentsNew in Safari 18Web apps for MacCSSSpatial WebHTMLJavaScriptWeb APICanvasManaged Media SourceWebRTCHTTPSWebGLWeb InspectorPasskeysSafari ExtensionsApple PayDeprecationsBug Fixes and moreUpdating to Safari 18.0Feedback Safari 18.0 is here. Along with iOS 18, iPadOS 18, macOS Sequoia and visionOS 2, today is the day another 53 web platform features, as well as 25 deprecations and 209 resolve

                              WebKit Features in Safari 18.0
                            • Font with Built-In Syntax Highlighting

                              Syntax Highlighting in Hand-Coded Websites The problem I have been trying to identify practical reasons why hand-coding websites with HTML and CSS is so hard (by hand-coding, I mean not relying on frameworks, generators or 3rd party scripts that modify the DOM). Let's say, I want to make a blog. What are the actual things that prevent me from making—and maintaining—it by hand? What would it take t

                              • React Labs: What We've Been Working On – March 2023 – React

                                In React Labs posts, we write about projects in active research and development. We’ve made significant progress on them since our last update, and we’d like to share what we learned. React Server Components React Server Components (or RSC) is a new application architecture designed by the React team. We’ve first shared our research on RSC in an introductory talk and an RFC. To recap them, we are

                                  React Labs: What We've Been Working On – March 2023 – React
                                • Wasm core dumps and debugging Rust in Cloudflare Workers

                                  Wasm core dumps and debugging Rust in Cloudflare Workers2023-08-14 A clear sign of maturing for any new programming language or environment is how easy and efficient debugging them is. Programming, like any other complex task, involves various challenges and potential pitfalls. Logic errors, off-by-ones, null pointer dereferences, and memory leaks are some examples of things that can make software

                                    Wasm core dumps and debugging Rust in Cloudflare Workers
                                  • Announcing TypeScript 6.0 RC - TypeScript

                                    Today we are excited to announce the Release Candidate (RC) of TypeScript 6.0! To get started using the RC, you can get it through npm with the following command: npm install -D typescript@rc TypeScript 6.0 is a unique release in that we intend for it to be the last release based on the current JavaScript codebase. As announced last year (with recent updates here), we are working on a new codebase

                                      Announcing TypeScript 6.0 RC - TypeScript
                                    • How to Use React Compiler – A Complete Guide

                                      In this tutorial, you'll learn how the React compiler can help you write more optimized React applications. React is a user interface library that has been doing its job quite well for over a decade. The component architecture, uni-directional data flow, and declarative nature stand out in helping devs building production-ready, scalable software applications. Over the releases (even up until the

                                        How to Use React Compiler – A Complete Guide
                                      • Data Fetching Patterns in Single-Page Applications

                                        When a single-page application needs to fetch data from a remote source, it needs to do so while remaining responsive and providing feedback to the user during an often slow query. Five patterns help with this. Asynchronous State Handler wraps these queries with meta-queries for the state of the query. Parallel Data Fetching minimizes wait time. Fallback Markup specifies fallback displays in marku

                                          Data Fetching Patterns in Single-Page Applications
                                        • Biome v2.0 beta

                                          After hard work from our team, Biome’s long-awaited 2.0 release is nearing completion. It will be packed with many large features, so we would like your help testing it with a public beta! If you would like to try it out, you can update Biome and migrate your configuration using the following commands: npm install --save-dev --save-exact @biomejs/biome@betanpx @biomejs/biome@beta migrate --write A

                                            Biome v2.0 beta
                                          • SemVer in Rust: Tooling, Breakage, and Edge Cases — FOSDEM 2024

                                            SemVer in Rust: Tooling, Breakage, and Edge Cases — FOSDEM 2024 Last month, I gave a talk titled "SemVer in Rust: Breakage, Tooling, and Edge Cases" at the FOSDEM 2024 conference. The talk is a practical look at what semantic versioning (SemVer) buys us, why SemVer goes wrong in practice, and how the cargo-semver-checks linter can help prevent the damage caused by SemVer breakage. TL;DR: SemVer is

                                              SemVer in Rust: Tooling, Breakage, and Edge Cases — FOSDEM 2024
                                            • Announcing TypeScript 4.9 RC - TypeScript

                                              Today we’re excited to announce our Release Candidate (RC) of TypeScript 4.9. Between now and the stable release of TypeScript 4.9, we expect no further changes apart from critical bug fixes. To get started using the RC, you can get it through NuGet, or use npm with the following command: npm install -D typescript@rc You can also get editor support by Downloading for Visual Studio 2022/2019 Follow

                                                Announcing TypeScript 4.9 RC - TypeScript
                                              • The world after IE left

                                                The world after IE left.This page is based on data from mdn/compat-data.Chrome ≧Safari ≧Firefox ≧Edge ≧🔁 ReloadJavaScriptCSSHTMLAPIHTTPSVGWebExtensionsJavaScriptbuiltinsArray[mdn][spec]@@iterator[mdn][spec]@@species[mdn][spec]@@unscopables[mdn][spec]copyWithin[mdn][spec]entries[mdn][spec]fill[mdn][spec]find[mdn][spec]findIndex[mdn][spec]flat[mdn][spec]flatMap[mdn][spec]from[mdn][spec]includes[mdn

                                                  The world after IE left
                                                • Blogged Answers: My Experience Modernizing Packages to ESM

                                                  Random musings on React, Redux, and more, by Redux maintainer Mark "acemarke" Erikson This is a post in the Blogged Answers series. Details on the painful experiences and hard-earned lessons I've learned migrating the Redux packages to ESM Table of Contents 🔗︎ Introduction Redux Packages Background Packages and Configurations Issue History Early Attempts Migrating to Vitest Initial Alpha Testing

                                                    Blogged Answers: My Experience Modernizing Packages to ESM
                                                  • Frozen String Literals: Past, Present, Future?

                                                    If you are a Rubyist, you’ve likely been writing # frozen_string_literal: true at the top of most of your Ruby source code files, or at the very least, that you’ve seen it in some other projects. Based on informal discussions at conferences and online, it seems that what this magic comment really is about is not always well understood, so I figured it would be worth talking about why it’s there, w

                                                    • Explicit Resource Management: Exploring JavaScript's and TypeScript's new feature | iliazeus

                                                      One of my favorite new features of JavaScript and TypeScript is explicit resource management. It brings new syntax, using foobar = ..., that enables RAII, reducing boilerplate when managing the lifecycle of various resources. In this article, I will explore this feature as implemented in TypeScript 5.2.0 with the disposablestack polyfill. I will mention both sync and async resources, DisposableSta

                                                      • Speeding up the JavaScript ecosystem - eslint

                                                        We've talked quite a bit about linting in the past two posts of this series, so I thought it's time to give eslint the proper limelight it deserves. Overall eslint is so flexible, that you can even swap out the parser for a completely different one. That's not a rare scenario either as with the rise of JSX and TypeScript that is frequently done. Enriched by a healthy ecosystem of plugins and prese

                                                          Speeding up the JavaScript ecosystem - eslint
                                                        • Announcing TypeScript 5.2 Beta - TypeScript

                                                          Today we are excited to announce the availability of TypeScript 5.2 Beta. To get started using the beta, you can get it through NuGet, or through npm with the following command: npm install -D typescript@beta Here’s a quick list of what’s new in TypeScript 5.2! using Declarations and Explicit Resource Management Decorator Metadata Named and Anonymous Tuple Elements Easier Method Usage for Unions o

                                                            Announcing TypeScript 5.2 Beta - TypeScript
                                                          • WebKit Features for Safari 26.2

                                                            Safari 26.2 is a big release. Packed with 62 new features, this release aims to make your life as a web developer easier by replacing long-standing frustrations with elegant solutions. You’ll find simpler ways to create common UI patterns with just a few lines of HTML or CSS, and no JavaScript — like auto-growing text fields with CSS field-sizing, and buttons that open/close dialogs and popovers w

                                                              WebKit Features for Safari 26.2
                                                            • August 2021 (version 1.60)

                                                              Update 1.60.1: The update addresses these issues. Update 1.60.2: The update addresses these issues. Downloads: Windows: x64 Arm64 | Mac: Universal Intel silicon | Linux: deb rpm tarball Arm snap Welcome to the August 2021 release of Visual Studio Code. There are many updates in this version that we hope you will like, some of the key highlights include: Automatic language detection - Programming l

                                                                August 2021 (version 1.60)
                                                              • Why We Use Julia, 10 Years Later

                                                                Exactly ten years ago today, we published "Why We Created Julia", introducing the Julia project to the world. At this point, we have moved well past the ambitious goals set out in the original blog post. Julia is now used by hundreds of thousands of people. It is taught at hundreds of universities and entire companies are being formed that build their software stacks on Julia. From personalized me

                                                                  Why We Use Julia, 10 Years Later
                                                                • How we built an open-source SEO tool using Workers, D1, and Queues

                                                                  How we built an open-source SEO tool using Workers, D1, and Queues2023-03-02 Building applications on Cloudflare Workers has always been fun. Workers applications have low latency response times by default, and easy developer ergonomics thanks to Wrangler. It's no surprise that for years now, developers have been going from idea to production with Workers in just a few minutes. Internally, we're n

                                                                    How we built an open-source SEO tool using Workers, D1, and Queues
                                                                  • Build strongly typed polymorphic components with React and TypeScript - LogRocket Blog

                                                                    Real-world examples of polymorphic components There’s a nonzero chance you’ve already used a polymorphic component. Open source component libraries typically implement some sort of polymorphic component. Let’s consider some you may be familiar with: the Chakra UI as prop and MUI component prop. Chakra UI’s as prop How does Chakra UI implement polymorphic props? The answer is by exposing an as prop

                                                                      Build strongly typed polymorphic components with React and TypeScript - LogRocket Blog
                                                                    • Technology Trends for 2024

                                                                      This has been a strange year. While we like to talk about how fast technology moves, internet time, and all that, in reality the last major new idea in software architecture was microservices, which dates to roughly 2015. Before that, cloud computing itself took off in roughly 2010 (AWS was founded in 2006); and Agile goes back to 2000 (the Agile Manifesto dates back to 2001, Extreme Programming t

                                                                        Technology Trends for 2024
                                                                      • September 2022 (version 1.72)

                                                                        Downloads: Windows: x64 Arm64 | Mac: Universal Intel silicon | Linux: deb rpm tarball Arm snap Update 1.72.1: The update addresses these security issues. Update 1.72.2: The update addresses these issues. Welcome to the September 2022 release of Visual Studio Code. There are many updates in this version that we hope you'll like, some of the key highlights include: Tool bar customization - Hide/show

                                                                          September 2022 (version 1.72)
                                                                        • May 2023 (version 1.79)

                                                                          Update 1.79.1: The update addresses this security issue. Update 1.79.2: The update addresses these issues. Downloads: Windows: x64 Arm64 | Mac: Universal Intel silicon | Linux: deb rpm tarball Arm snap Welcome to the May 2023 release of Visual Studio Code. There are many updates in this version that we hope you'll like, some of the key highlights include: Read-only mode - Mark specific files and f

                                                                            May 2023 (version 1.79)
                                                                          • I'm Building a Browser for Reverse Engineers

                                                                            Preamble In the expanding world of AI my heart still lies in AST transforms, browser fingerprinting, and anti-bot circumvention. In fact, that's the majority of this blog's content. But my workflow always felt... primitive. I was still manually sifting through page scripts, pasting suspicious snippets into an editor, and writing bespoke deobfuscators by hand. Tools like Webcrack and deobfuscate.io

                                                                            • What's new in Swift 5.5?

                                                                              What's new in Swift 5.5? Async/await, actors, throwing properties, and more! Swift 5.5 comes with a massive set of improvements – async/await, actors, throwing properties, and many more. For the first time it’s probably easier to ask “what isn’t new in Swift 5.5” because so much is changing. In this article I’m going to walk through each of the changes with code samples, so you can see how each of

                                                                                What's new in Swift 5.5?
                                                                              • The best TypeScript ORMs - LogRocket Blog

                                                                                LogRocket’s Galileo AI watches every session, surfacing impactful user struggle and key behavior patterns. Introduction In building or designing software systems, most design decisions come with tradeoffs. Using object-relational mappers (ORMs) has been a controversial subject amongst many developers, since there has always been a debate as to whether they’re really worth it. While in some cases p

                                                                                  The best TypeScript ORMs - LogRocket Blog
                                                                                • Solving the NYTimes Pips puzzle with a constraint solver

                                                                                  Computer history, restoring vintage computers, IC reverse engineering, and whatever The New York Times recently introduced a new daily puzzle called Pips. You place a set of dominoes on a grid, satisfying various conditions. For instance, in the puzzle below, the pips (dots) in the purple squares must sum to 8, there must be fewer than 5 pips in the red square, and the pips in the three green squa

                                                                                    Solving the NYTimes Pips puzzle with a constraint solver