Hello World = TODO: Not To Do.Foo.Bar
Hello fellow framework and web junkies, my name is Derek, I am indeed a framework junkie. One click through GitHub, I see a new framework and I am blubbering all over my keyboard hoping I’ve finally found the magic bullet that will slay the demon that is currently my Gulpfile.
I am a traditionalist, I get that age old tradition persist through time and I quite enjoy it some times. However, as of late I am noticing a terrible trend cropping up in new upstart projects or even tutorials that introduce the project. First suspect up for kicking.
This is a long time staple in the programming world. A very good sanity check to make sure things are running. That being said, I’m not a silly boy. When I think of web development. I try to keep things simple. I could easily drop an opening and closing <h1> tag with Hello World. Or I could PHP echo it on to the screen. If I’m feeling a little jazzy, I can make a variable, then echo the variable. Not too many lines of code required to make this happen.
When I get to a tutorial on ReactJS, AngularJS or Angular 2.0 spending the first hour of the course building a Gulpfile that could very well be mission control for a NASA project, please don’t make me Hello World at this point. Remember, I know how to <h1> in a basic HTML file. I’ve come to this tutorial to learn what I already know to be a complicated framework. Let’s not oversimplify the framework by congratulating me on my first React application at Hello World. If I’m going to use your framework, it better do far more than just complicate an already simply implemented task. In fact, I don’t use Hello World anymore. My current sanity check message is: ‘Good Job Derek, You didn’t blow up the browser!’
Foo, Bar, Baz, Fuq
You might get a good chuckle at this, when I first started back into web development a year ago after a ten year hiatus, I actually had to Google whether Foo, Bar, Baz became part of the programming environment because it is so heavily overused in examples.
I’m Canadian, more specifically East Coast Canadian. We love a good bar, when I see the word bar, I’m not thinking programming anymore. There are many pints of beer calling me away from the computer that I am cursing at because Laravel just threw an exception error at me.
Therefore, nothing turns me off of a framework or tutorial faster than the Foo, Bar, Baz, Fuq placeholders. As a human being that builds web sites using relational databases, I truly embrace a relationship between an idea and the code that may bring it to life. I don’t see a relationship with these foo bar placeholder examples. In fact, it usually winds up complicating the whole premise of the framework or language concept than necessary because you are forcing me to stretch my imagination with something I am already not familiar with.
My recommendation, use concepts that developers can relate to such as Person, Cars, Social Engagement, Customers, Money. Make it real to us.
Todo lists are one of the easier examples to demonstrate a CRUD operation. However, it’s overdone. I go to Apple App Store and there are a few too many Todo apps vying for my attention. Now I understand why. Recently, I almost walked away from Angular 2.0 altogether as I watched tutorial examples that did a whole lot of foo bar with Todo lists in ES5, ES6, TypeScript and hints of ES7 on the horizon and couldn’t find the connection that would sell me on Angular 2.0 and I am too pissed off with what will ultimately be the fate of Angular 1.
It wasn’t until I found John Lindquist’s Speed Run example. In his 30 minute tutorial, he redeemed Angular’s new direction. He used an actual e-commerce concept. Guess what? As a web developer, I instantly connected and now more than willing to stick with Angular 2.0 as it unfolds thanks to John’s brilliant example. I just needed to see a real use case concept as I’m sure most developers want.
With so many tools, idea’s and concepts floating in the web development community, I applaud anyone who takes the time out of their day to demonstrate a project. I truly love open source developers from the bottom of my Gulpfile. Without you, the web would be boring. With so many coding hours dedicated to a project, I highly recommend spending some time on your marketing as to why I want to abandon current tools to use yours. Start getting creative with examples and blow our socks off.
Time to run, gotta get coding. I just had a brilliant idea. A Bar Crawl Todo List. For every foo or bar seen online, one must add a pub / bar to the crawl todo list. Then, tick each bar off one by one until Hello World looks a little more like Ohell Wrold and maybe a little blurrier too. A salute to frustrated drunken developers all over the world. Cheers!