Categories
Linear Maths in C++

Software Engineering

When you only have a hammer everything looks like a nail. We need the right tools for the job. In some contexts this is referred to as a tool-chain. For my Windows laptop, I’m using Visual Studio Community Edition 2017. To look after my code I have a local Git repository. VS has a nice integration with Git, explain by Benjamin Perkin’s blog.

I also created Unit Tests. There’s loads of stuff on YouTube about Test Driven Development. I generally try to write the tests first. Kent Beck almost invented TDD. His book Test Driven Development by Example is a great read. He is quite pragmatic. When you don’t know, take small steps. When you’re more certain, you can take big steps.

Now I have to be honest and admit it’s gone wrong. Before I described Complex Numbers. I was feeling really confident so I wrote code and tests for a templated matrix. The Unit Test is not instantiating the template when it builds the test DLL. I haven’t set up Git Hub properly, hence I’m doing it locally first before it goes on the interweb.

It’s the second week of Corona Virus emergency. Life is up-ended. I’m lacking a UML design tool, maybe Star UML (cloud storage). IBM offers Rhapsody (not used it). I have used Microsoft Visio. It looks like a cloud-based freebie or a cash investment in the future.

Leave a Reply

Your email address will not be published. Required fields are marked *