Questions Concepts
GitHub icon

Dynamic Properties

Dynamic Properties - language feature

< >
Example from JavaScript, TypeScript:
class Person {} const person = new Person() person.age = 50
Example from Python, Cython:
class Person (object): def __init__(self, name): self.name = name person = Person("John") person.age = 50

Languages with Dynamic Properties include JavaScript, Python, TypeScript, Cython

Languages without Dynamic Properties include C3, Speedie

This question asks: Does all properties have to be declared or does the language support dynamic properties?

HTML of this page generated by Features.ts

View source

- Build the next great programming language Search Add Language Features Creators Resources About Blog Acknowledgements Queries Stats Sponsor Traffic Traffic Today Day 305 feedback@pldb.com Logout