Replies: 4 comments
-
This currently feels more like a marketing blurb than a full proposal, how would you suggest that this be implemented in C#? Are there any syntactic advantages to this being a language feature over a library (or part of corefx)? Do you have any code examples that show how this could help you write better code? I'm just having trouble personally understanding the value of this without more information. |
Beta Was this translation helpful? Give feedback.
-
This isn't a competition. C# isn't going to rush a feature in order to try to be first to market. That's an almost guaranteed way to make mistakes. |
Beta Was this translation helpful? Give feedback.
-
That is a reason to be very conservative.
Enterprise developers is not the crowd Microsoft is trying to please these days. |
Beta Was this translation helpful? Give feedback.
-
True. And ironic, given that the overwhelming majority of their revenue comes from enterprises. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Dear community, I would like to suggest introducing AOP to C# again. While this was attempted several times in the past, it does not seem to have caught the interest of the decision makers; and let's face it, it would be expansive both to produce and maintain. But perhaps this time we can muster a few compelling reasons:
Advanced samples are available here:
Granted it might not be obvious on the first glance how such a feature may be useful, but that is simply because most developers are not used of thinking the AOP way (and that simply because most programming languages don't implement it). Take a look at the provided examples and it should become clear just what is possible with AOP. AspectJ can be used as an implementation example and something to improve upon.
Having AOP directly in C# would certainly make .NET even more appealing for new enterprise applications as well as for migrating existing ones. While .NET is already moving where Java once stood, to replace Java entirely it will also need to have a (better) AOP.
Beta Was this translation helpful? Give feedback.
All reactions