active-logic / active-logic/uta

Support simple macros

Abierto
#6 0 comentarios 0 reacciones 0 asignados Ver en GitHub
\(^∀^)メ(^∀^)ノ
Lenguaje dominante
C#
Estrellas
3
Forks
1
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Simple macros are intended to workaround C# limitations regarding inheritance

- `structs` do not support inheritance. However the rationale behind this ("Structs are supposed to be small") does not hold. in AL what is seen is multiple structs end up with exactly the same source
- Lack of multiple inheritance. Often, delegation is better. However delegation may run counter to correct API design. A simple example of this is the SAK (Swiss army knife) dilemma, where a set of utility functions needs to be redefined over and over because multiple inheritance is not allowed.

There isn't a goal to provide complex macros here. If that's ever wanted consider integrating the C preprocessor.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.