I started testing with the react-test-library and ran into a lot of pain. Most of my pain came from the fact that I did not take the time to learn the library first. Thus I had no understanding of how it worked. I tried to make it work from existing examples and from a lotContinue reading “What I wish I knew when I started using react testing library”
C++ is known for separating classes into .h and .cpp files or header and source files respectively. A variety of reasons and motivations justify this approach. Among them are first and foremost the idea that C++ compilers need to know what to expect ahead of time in order to link properly. Another useful idea behindContinue reading “Separating C++ Templates Into h and cpp files”
I was helping someone tackle a problem that required the use of a calculated property. You may not always want or be able to populate your model directly from the database. Sometimes you may to need to aggregate some data and add that to your record. Maybe you can, but more of a hobbyist thanContinue reading “Calculated Attribute on Ruby Model”
I’ve not written a blog post for several months now. I’ve been busy doing other things but the main reason I’ve not written a blog post is because I’ve been trying to keep up with my team at work. My team is composed of some truly A rated developers. Being the least experienced, in termsContinue reading “Full Stack .Net Developer for 2 Years”
You may be thinking “Not another 10X Developer post… haven’t we had enough about this idea?”. This concept is pretty old and you are either on the side of “There are 10x Developers” or on the side of “The 10X developer is a myth”. There are so many arguments against the idea of a 10XContinue reading “The 10X Developer”
When you use generics ,your classes or functions behave like templates. We don’t call them templates in C#. In C++ we call them templates but in C# and Java we simply call them Generics but let’s face it, they are templates… in the true meaning of templates. I say that because they serve as templatesContinue reading “default(T) in C# and why Java does not have something similar”
Learning programming may or may not be easy. There are many factors that determine that. If you are having fun it may be easy. If you are learning at the right pace it may also be easy. If you have a decent IQ it could also be easy. But… the reality is that it’s hardContinue reading “Learning Programming is the Easy Part”
C# and Java have been competing in different ways. The competition was more of a Microsoft vs. Linux/Unix, but now that the .Net framework can fully run in Linux and MacOS it is a competition race on the same track with Java.