Trending

#decorators

Latest posts tagged with #decorators on Bluesky

Latest Top
Trending

Posts tagged #decorators

Black and white photo of a shopfront with no signage. Posing in front are a couple in the doorway, with the focus then being four people in front of them standing on either sides of two a-frame ladders. The two people on the ladder on the left are holding glasses, while one pours wine into the glass of the other.

Black and white photo of a shopfront with no signage. Posing in front are a couple in the doorway, with the focus then being four people in front of them standing on either sides of two a-frame ladders. The two people on the ladder on the left are holding glasses, while one pours wine into the glass of the other.

[Alcohol Reference]

On the brush, and on the bottle!

This image, from the collections at MAD Paris (https://madparis.fr brought to mind the vintage Messy Nessy Chic piece about France’s ‘Santé Sobriété’ (health, sobriety) campaign in the 1950s […]

[Original post on typo.social]

1 0 0 0
Awakari App

Python Decorators: A Comprehensive Guide Python decorators are a powerful and elegant way to modify or extend the behavior of functions or methods without changing their actual… Continue reading ...

#machine-learning #clean-code #python-programming #python #decorators

Origin | Interest | Match

0 0 0 0
Original post on mastodon.social

Every so often I get an email notification from some starred bug report about TC39 decorators, and I peek at what's going on, and it seems like the current situation is that it's fully standardized but all 3 browsers went "This is complicated and we don't feel like implementing it" 😞 […]

0 1 0 0
Video

Little gaps need a little caulk
#decorators
#caulk

0 0 0 0
function add(a: number, b: number) {
    return a + b;
}



type Arguments<T extends Function> = T extends (...args: infer U) => any ? U : never;

const proxyAdd = new Proxy(add, {
    apply: function (target, thisArg, argumentsList) {
        console.log('proxy called');
        return target.apply(thisArg, argumentsList);
    }
})

const addLogging = <T extends Function>(func: T) => {
    return function (...args: Arguments<T>) {
        console.log('decorator called');
        return func.apply(this, args);
    }
}

const addLoggingAdd = addLogging(add);

addLoggingAdd(1, 2);

proxyAdd(1, 2);

function add(a: number, b: number) { return a + b; } type Arguments<T extends Function> = T extends (...args: infer U) => any ? U : never; const proxyAdd = new Proxy(add, { apply: function (target, thisArg, argumentsList) { console.log('proxy called'); return target.apply(thisArg, argumentsList); } }) const addLogging = <T extends Function>(func: T) => { return function (...args: Arguments<T>) { console.log('decorator called'); return func.apply(this, args); } } const addLoggingAdd = addLogging(add); addLoggingAdd(1, 2); proxyAdd(1, 2);

In Javascript You can enhance functions in two powerful ways: Proxies let you intercept calls dynamically, while decorators pattern wrap functions for extra behavior like logging. Both offer flexibility—choose based on your needs! #JavaScript #TypeScript #Decorators #Proxies #WebDev

1 0 1 0
Preview
Understanding TypeScript Decorators TypeScript decorators provide a powerful way to add functionality to classes, methods, properties, and parameters at runtime. They are often used in frameworks like Angular f...

Understanding TypeScript Decorators #Typescript #Decorators #Metadata #Methods #Classes #Properties #Parameters #Logging #Validation #Readonly #Compiletime #Typescriptconfig #Injection #Workflow

0 0 0 0
Preview
TypeScript Metaprogramming Techniques Explained Metaprogramming is a powerful technique that allows programs to manipulate themselves or other programs. In TypeScript, metaprogramming refers to the ability to use types, ge...

TypeScript Metaprogramming Techniques Explained #Typescript #Metaprogramming #Generics #Decorators #Typescriptapi #Conditionaltypes #Mappedtypes #Templateliterals #Recursivetypes #Typeinference

1 0 0 0
Preview
Advanced TypeScript Patterns for Enterprise Applications Enterprise applications require robust and scalable solutions to manage complex requirements and evolving business needs. TypeScript offers advanced patterns and features tha...

Advanced TypeScript Patterns for Enterprise Applications #Typescript #Generics #Decorators #Typeguards #Interfaces #Types #Redux #React #Dependencyinjection #Modularity #Performance

2 0 0 0
Preview
How to Build Scalable Applications with TypeScript Building scalable applications is essential for handling growing user bases and expanding functionality. TypeScript is a powerful tool that helps improve scalability by intro...

How to Build Scalable Applications with TypeScript #Typescript #Scalable #Modular #Performance #Generics #Inference #Decorators #Functions #Interfaces #Classes #Types #Strict #Tooling

1 0 0 0
Preview
Deep Dive into TypeScript's Type Inference System TypeScript's type inference system is one of its most powerful features, allowing developers to write cleaner and more concise code without having to explicitly annotate type...

Deep Dive into TypeScript's Type Inference System #Typescript #Generics #Inference #React #Redux #Decorators #Utilitytypes #Interfaces #Functions #Typesafety #Classes #Modules #Promises

3 0 0 0
Preview
How to Create Custom TypeScript Decorators Decorators are a feature in TypeScript that allows for modifying classes, methods, properties, or parameters at runtime. They are special functions that provide meta-programm...

How to Create Custom TypeScript Decorators #Typescript #Decorators #Metaprogramming #Class #Method #Property #Parameter #Custom #Logging #Validation #Defaultvalue #Typescriptconfig #Metadata #Angular

2 0 0 0
Preview
How to Work with TypeScript Decorators in Angular TypeScript decorators are a special kind of declaration that can be attached to a class, method, accessor, property, or parameter. In Angular, decorators provide a way to add...

How to Work with TypeScript Decorators in Angular #Typescript #Decorators #Angular #Component #Input #Output #Injectable #Service #Custom #Metadata #Example #Typescriptdecorators #Classes

1 0 0 0
Preview
How to Use Decorators in TypeScript Decorators in TypeScript are a powerful feature that enables developers to add extra functionality to classes, methods, properties, and parameters. They provide a way to modi...

How to Use Decorators in TypeScript #Typescript #Decorators #Examples #Guide #Class #Method #Property #Parameter #Metadata #Functions #Compile #Advanced #Modify #Usage

1 0 0 0
Post image

💡 ¿Quieres modificar funciones sin tocarlas?

🔧 Usa decoradores en #Python:
✔️ Medir tiempos
✔️ Validar datos
✔️ Evitar repetir lógica

📖 Aprende cómo 👉 youtu.be/oloxPaRSGpg

🔖 #PythonTips #Decorators #JoseCodeTech #Automatización

0 0 0 0
Preview
Advanced Python Techniques for Real-World Applications Python is a versatile language that can be used for simple scripting as well as complex real-world applications. As you advance in your Python programming journey, mastering ...

Advanced Python Techniques for Real-World Applications #Python #Advanced #Techniques #Decorators #Generators #Context #List #Comprehensions #Data #Structures #Efficient #Scalable #Robust

0 0 0 0
Preview
How to Use Python Decorators to Enhance Functions Python decorators are a powerful and flexible way to modify or enhance functions and methods. Decorators provide a way to wrap a function with additional functionality, allow...

How to Use Python Decorators to Enhance Functions #Python #Decorators #Functions #Enhance #Syntax #Wrapper #Arguments #Logging #Performance #Methods #Classes #Custom #Execution

0 0 0 0
best decorator and interior designer in westminster london UK best decorator and interior designer in westminster london UK

home reflects your lifestyle
Transforming a house into a true home starts with thoughtful interior design. At ECOhome Plus, we believe every space should reflect the lifestyle, personality, #decorators #interior_design #london
ecohomeplus.co.uk/blogs/best-d...

0 0 0 0
Best decorators primrose hill london Best decorators primrose hill london

high end interior design
If you're looking for top-tier decorators in Primrose Hill, London, Aramic Renovation stands out as the go-to choice. With years of experience in high-end renovations and bespoke decorating, #decorators #london #interior_design
aramicrenovation.co.uk/blogs/best-d...

0 0 0 0
Preview
Local AWS API Gateway development with Python: Dissecting decorators Yes, I'm still poking around at the goblinfish.testing.pact package in the background. It's going slowly, since I've been dea...

While trudging through my day-to-day activities, I had an inspiration about how to implement local #API access for #AWS #APIGateway code using #Python #LambdaFunctions for back-end logic, by overriding #FastAPI and #Flask #decorators.

goblinfish-code.blogspot.com/2025/06/loca...

1 0 0 0
Post image

Scuttles are brilliant
#decorators

0 0 0 0
Video

#decorators
#painter
#protection

0 0 0 0
Post image

H.S.L
#decorators

0 0 0 0
Post image

Dogs love dust sheets ….
#dogs
#dustsheets
#decorators

1 0 0 0
Post image

Python Decorators (With Types & Examples) Python Decorators are a powerful feature that impro...

pwskills.com/blog/python-decorators-w...

#Python #Python #decorators #Python #language #python #programming

Event Attributes

1 1 0 0
Post image

Python Decorators (With Types & Examples) Python Decorators are a powerful feature that impro...

pwskills.com/blog/python-decorators-w...

#Python #Python #decorators #Python #language #python #programming

Event Attributes

1 1 0 0
Post image

Python Decorators (With Types & Examples) Python Decorators are a powerful feature that impro...

pwskills.com/blog/python-decorators-w...

#Python #Python #decorators #Python #language #python #programming

Event Attributes

0 0 0 0
Post image

Python Decorators (With Types & Examples) Python Decorators are a powerful feature that impro...

pwskills.com/blog/python-decorators-w...

#Python #Python #decorators #Python #language #python #programming

Event Attributes

0 0 0 0
Post image

Python Decorators (With Types & Examples) Python Decorators are a powerful feature that impro...

pwskills.com/blog/python-decorators-w...

#Python #Python #decorators #Python #language #python #programming

Event Attributes

1 0 0 0
Post image

Dark stain on the door frame…. Looks sharp
@sadolin.bsky.social
#decorators

0 0 0 0