12 Program Challenge – #1 Done! Time for Roslyn!

At the beginning, of October I’ve started challenge: „12 programs in 12 months.”
Since the month comes to an end, I want to share my results for the first month.

The program:

Current version

As you can see, I have no sense of taste – it is ugly to look at.
But it works!

Few things has changed since mock.

The MVP functionality is there –
You can generate a simple login page.
You can add inheritance and activate method changing.

What is not there – an option to select different templates – The basics for it are there, but I haven’t enabled it on UI.

Lesson learned

It was a challenging task trying to learn WPF and doing it straight on the net core was hard – a lot of information available was little too outdated.

Also after it started working moving code to resemble MVVM cost me a lot of time. I wasn’t able to figure out how to do unit testing in the most part – I have tests for the generator, but I wasn’t able to do it.

And I made a few mistakes:

  • I had invested not enough time into designing how the application will work before I started codding. 
    • I should spend more time planing information flow in the application.
  • At some point, I couldn’t see the forest for the trees. I lost a little track of good development practices.
    • This was partly planed and accepted. My goal is to create applications fast that can check to validate my ideas.

There is more, but this two are the ones I wasn’t to address in my next month.

You can try the app for your self! It is available on Github. Just take note, since I am not using any certification your browser and system will think it is a shady app. You will have to allow it to lunch on your computer.

Next Challenge The Chain Analyzer

So you probably heard about Roslyn Analyzers.

This is a nice neat way of working on your code quality.
IF any of you read my post from the beginning of the blog, dealing with code smells is my thing. And not so long ago I did an Article on Method Chaining.

If you put two and two together – my plan for this month is to create an Analyzer that looks at test code, especially at Method Chaining.

Honestly, at this point, I can’t say what it will do cause I don’t even know what the possibilities of Roslyn Analyzer are –
That is why my minimum goal is, To count the length of the chain.

The plan for the first week is to learn what you can do in Roslyn and write some architecture.

Dodaj komentarz