There has been a small movement to employ property-based testing in test suites, which is very dangerous.
Recently, I’ve had the pleasure of working with date and time in a side project written in Go.
Go is unique from a lot of object-oriented languages in that it doesn’t have classes. Instead, Go has two awesome features that make its model of polymorphism way more powerful than classical inheritance: interfaces and struct embedding.
At the last place I worked, I was told not to test private methods since it was an “implementation detail”. Some of these methods involved complex math or tons of branching.
You don’t always have React to create a new feature on a website. Recently, I used Underscore and jQuery within a Rails application to create a dynamic page.
I never intended to go into software during high school. I thought I was going to be a doctor, yet on the side, I managed to amass a good amount of experience in all sorts of technologies. While learning all of these things, I never really tried. How is this possible?
Markdown is a really awesome format for text and prose. It’s really easy to manage in any text editor, and it’s quick to write. It has a lot of features, including bolding, italicizing, lists, quotes, embedded code, and more. It’s so easy to write that it’s the “language” of choice for many major websites such as StackOverflow and Reddit, it being much easier to implement and looking nicer than a WYSIWYG text editor. I’m even writing this blog post using Markdown. However, you can’t really send someone a Markdown document. It’s meant to be processed into a more readable format, most usually HTML.
simple_form is a really great gem for generating bootstrap forms. However, you have todo a little extra to get it working with Bootstrap’s form-horizontal class. TheREADME doesn’t mention this, but it’s built in. Just write your form declaration like this: