Julia Programming Language
Avoiding rewriting accessor methods for new composite types with similar fields
General Usage
hendri54
April 22, 2021, 1:01pm
2
Lazy.jl
has a
@forward
macro that simplifies this:
3 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Field overloading to flatten struct composition?
General Usage
1
511
February 26, 2018
Is it ok to write interfaces that require field access on subtypes?
New to Julia
question
,
type
,
design
,
inheritance
6
521
May 8, 2023
Subtyping vs adding a function to a struct's fields
General Usage
question
22
577
May 12, 2023
Is accessing the fields of a struct a good julia-style?
General Usage
5
7138
April 29, 2019
Composition and inheritance: the Julian way
General Usage
inheritance
,
structtypes
133
40316
May 14, 2024