Menu

#Decorator

10 posts

Feed·
8 of 10 posts
0Read More

Every refactor in our NestJS repo turns into fixing u/Traced decorators

Reddit r/typescript·u/Hour-Librarian3622·16 days ago
#1o6xsz4H
#every#traced#decorator#refactor#nestjs

NestJS monorepo, eleven services. Two years ago we wrote a `@Traced()` decorator that wraps every service method in an OpenTelemetry span, plus a typed helper so attribute names come from one union type and nobody writes `userId` in one place and…

15s
Deep Dive: How TypeScript 5.5's New Decorators Work and Why They Improve Code Maintainability for Next.js 16 Apps
🖼️
0Read More

Deep Dive: How TypeScript 5.5's New Decorators Work and Why They Improve Code Maintainability for Next.js 16 Apps

DEV Community·ANKUSH CHOUDHARY JOHAL·7 months ago
#P2yWlmje
#typescript#deep#dive#decorators#next

From Dev.to - typescript: Deep Dive: How TypeScript 5.5's New Decorators Work and Why They Improve Code Maintainability for Next.js 16 Apps

15s
5 Powerful Python Decorators to Build Clean AI Code - KDnuggets
📰
0Read More

5 Powerful Python Decorators to Build Clean AI Code - KDnuggets

KDnuggets·7 months ago
#XKnHduqc

This article outlines five particularly useful Python decorators that, based on developers' experience, haven proven themselves effective to make AI code cleaner.

15s
Build a Logger and Validator with TypeScript Decorators (Like NestJS)
🖼️
0Read More

Build a Logger and Validator with TypeScript Decorators (Like NestJS)

DEV Community·Malloc72P·7 months ago
#awl2CNMO
#webdev#typescript#decorator#nestjs#software

Note: This post is a translated version of an article originally published on my personal blog. You can read the original Korean post here. Decorators are a metaprogramming syntax that lets you attach metadata — or extend behavior — on classes, methods,…

15s
Python Decorators for Production Machine Learning Engineering - MachineLearningMastery.com
📰
0Read More

Python Decorators for Production Machine Learning Engineering - MachineLearningMastery.com

MachineLearningMastery.com·Nahla Davies·7 months ago
#HaH2kATV
#respond#header#navigation#decorator#memory

In this article, you will learn how to use Python decorators to improve the reliability, observability, and efficiency of machine learning systems in production.

15s