Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SingleProject] it's a pain, not a feature ? #2

Open
lytico opened this issue Apr 21, 2021 · 0 comments
Open

[SingleProject] it's a pain, not a feature ? #2

lytico opened this issue Apr 21, 2021 · 0 comments
Labels
question Further information is requested

Comments

@lytico
Copy link
Owner

lytico commented Apr 21, 2021

SingleProject

gather arguments why it's a pain to develop with

gather arguments why it leads to a lot of anti-patterns (it's an anti-pattern, not a feature)

Cons

doesn't compile without all workloads available

platform-specific code is scattered all over the code base

impossible to introduce a new platform without touching the whole code base

build-system is scattered with platform-specific msbuild-variables and other hard to maintain artifacts;
a new generation of franken-style build system is evolving

all platforms have to be implemented, even if they are not needed

parallel usage of platforms is impossible

Pros

dotnet/Microsoft.Maui.Graphics#70 (comment)

Part of the reason for putting everything in one project like this is that it will reduce the number of resulting assemblies, and allows us to avoid using shared projects where there is shared code between two platforms (Mac and iOS).

Antipatterns

build-sorcery instead of object-oriented inheritance

with anti-object-oriented overuse of partial classes and static extensions
the implementations became hard to maintain and widely dependent on each over

seems that the architecture avoids by any means the usage of generic classes / interfaces

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant