[mono-android] [MonoTouch] sharing code between mono touch and mono for android
jamie at binaryfinery.com
Tue Feb 28 08:56:25 UTC 2012
On Tue, Feb 28, 2012 at 12:50 AM, Miljenko Cvjetko <
mcvjetko at holisticware.net> wrote:
> Why would partial classes be problem?
> It is just splitting code into multiple files
Its no different than having #if/#endif, which you agreed was bad in your
earlier email. But instead of the compiler hitting an #if and ignoring
what's next, the compiler is never given the file in the first place. Its
no different. "I can't do what I want with the compiler, so I'll do it with
a preprocessor or makefile". Basically you're building three classes that
have the same name but are different. Its a hack.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Monodroid