Why do you let your developers use XAML?

Why do you let your developers use XAML?

Serious question.

If you employ or manage developers who use XAML to develop apps (with MAUI, WPF, WinUI, UWP, or anything else), those same developers will almost certainly tell you that:

XAML is verbose, complicated, and difficult to maintain. (And that's if they're being polite!)

The consequence of this is that the development and maintenance of that code is slower and, therefore, more expensive.


  • Why is that acceptable?


  • Have you asked those developers why they're using XAML?
  • Or, what alternatives they've considered?
  • Or, about ways to write/use XAML that address some of those issues?
  • Or, if there are tools available (or could easily be created) that would help?


Then, if they've not already thought about these questions, ask yourself what other decisions they have made that are impacting their productivity and that of the project/business.


Using C# probably isn't the alternative you seek (although sometimes suggested) because it's not going to address the fact you already have loads of XAML.

Do you really have the time, resources, and test coverage to rewrite existing code rather than work on new products, features, bug fixes, etc.?


There are solutions, and I talked about many of them recently in a conference presentation that I summarized in(1) this(2) series(3) of(4) posts(5).


If you have projects written with XAML that you wish were easier to maintain, let's talk.

If you're about to start writing a new app and are going to use XAML, let me point you towards success.

If you're considering hiring someone to help write XAML (& C#), mentor those who are, or review what they're writing, I currently have space in my calendar.

Michelangelo Franco

FREELANCE - Senior Mobile Consultant - Xamarin Certified Mobile Developer - Owner of ArianuovaStudio

22 小时前

If you are organized and write clean code every la gauge is easy to maintain. I use Xaml since xamarin forms was born and maintained numerous project and haven’t had any problems with them.

回复
Soumyadip Majumder

ASP .NET Core | MAUI | Ex-Data Science trainee at Celebal Technologies | Ex-Database Designer @Dataiku (Remote)

1 天前

XAML is best for developers for designing UI

Lewis Cianci

Writer/Subject Matter Expert

1 天前

XAML is the worst design time language I've ever used. I remember using a grid and an asterisk in some of the width statements for a flex box layout. Microsoft really dropped the ball and never improved on it and the UX problems in the store and Xbox app really drives it home

回复
Mike James

CEO at Avalonia UI. Formerly Microsoft and Xamarin.

1 天前

Our team rather like XAML but that probably won’t come as a surprise!

要查看或添加评论,请登录

Matt Lacey的更多文章

  • My #MAUI Day talk - part 5

    My #MAUI Day talk - part 5

    This is the final part in a series recapping my talk from MAUI Day (in London). This will probably only make sense if…

  • My #MAUI Day talk - part 4

    My #MAUI Day talk - part 4

    This is part 4 in a series recapping my talk from MAUI Day (in London). This will make much more sense if you read…

  • My #MAUI Day talk - part 3

    My #MAUI Day talk - part 3

    This is part 3 in a series recapping my talk from MAUI Day (in London). This will make much more sense if you read part…

  • My MAUI Day talk - part 2

    My MAUI Day talk - part 2

    Part one is here. (You should probably read that first.

  • My #MAUI Day talk - part 1

    My #MAUI Day talk - part 1

    This is a summary of part 1 of the talk I gave at #MAUIDay last week. XAML is the default option for defining UIs in…

    6 条评论
  • Improving accessibility in MAUI

    Improving accessibility in MAUI

    .NET #MAUI has an ever-improving set of tools to help build apps that are accessible to as many people as possible.

    5 条评论
  • Evaluating the use of Copilot to create unit tests for code

    Evaluating the use of Copilot to create unit tests for code

    There's an idea that is being repeated a lot that writing unit tests for code is now much easier as you can "just" have…

  • Why you need to make intuitive, six-dimensional apps

    Why you need to make intuitive, six-dimensional apps

    The following is an extract from the first chapter of ‘Intuitive UX: The Six Dimensions of Mobile User Experience’. The…