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”
Author Archives: Beginning Programmer
Separating C++ Templates Into h and cpp files
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”
Full Beginner JavaScript Course
This past summer I decided to give back to the developer community by offering a free course on JavaScript. The students participated in an 8-week course. Until now this course was only available to the students in the course. Today I have opened the course to everyone https://codemorsels.wordpress.com/javascript-course/ I hope you enjoy the course andContinue reading “Full Beginner JavaScript Course”
Calculated Attribute on Ruby Model
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”
Full Stack .Net Developer for 2 Years
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”
The 10X Developer
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”
default(T) in C# and why Java does not have something similar
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 is the Easy Part
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”
JavaScript Truthiness
JavaScript Terms – Part 2
Introducing Truthy and Falsy. This concept is not unique to JavaScript . However JavaScript has a unique way of handling it..
C# vs. Java
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.