The level of detail needed to write decent code is astonishing. It’s like going down Alice’s rabbit hole, while carrying a truck load of details about your trip, within the confines of your skull.
Can you finish what you started?
The process isn’t just, “request report from Amazon”. It’s a lot more like, “I need to request the FBA report from Amazon for a particular user”. Which involves the following steps (don’t worry even my wife’s eyes glass over when I start talking about this):
1. Sign up for developer account on Amazon (How does one do that? Run to Google)
2. Get developer ID from Amazon
3. Provide ID to test user so they can authenticate my developer ID
4. Capture auth token and seller ID from test user (Oh no, I need a front end)
5. Install Rails gem to help connect with Amazon MWS API (Yea we skipped over the whole Gem talk, needless to say it has NOTHING to do with precious stones)
6. Create MWS client (this only took about 8 hours of research, experimentation and pain)
7. Authenticate thru Amazon MWS (hallelujah!! the neighbors heard the scream from that celebration)
8. Request FBA report
9. Wait (Sleep in Rails parlance )
10. Retrieve report request ID (Did I just use an API? I think I did!)
11. Use report request ID to check status of report
12. If the report isn’t ready, wait and try again
13. Download report once ready
14. Parse report into array of hashes so as to understand what the f*ck is in it
15. Step through array to put data elements into database (oh sh*t I need a database.. Google please)
16. Whew, done!! I’m so excited!
Yep 15 steps, for one quarter of the data I need. Honestly, looking over the steps, I’ve combined quite a few. This is step one in a process where it’s really unclear just how many steps there are going to be.
In the back of my head I’m starting to hear a nagging, questioning voice. “Is your code any good?” “Is this the right way to do it?” “Can you finish what you started?”
The difference between my code and the trees in my backyard, is that my code is being created in a complete vacuum. I have absolutely no idea if it’s any good, if all the pieces are going to work together, and if anyone is going to want to use the app when I’m done. The questions and doubts become too loud for the moment, I push myself away from my desk and with the help of my 3 kids and under the shade of those Hickory trees, I join them on the trampoline to bounce those worries out of my head. It works.
Have you ever seen a super sleek, high-end car with a pile of garbage in place of the engine? No? That’s what a website with great product photos and bad copy is like.
There are lots of ways to get more customers to your store – paid ads, media coverage, etc. But there’s one super simple method you can implement today: search engine optimization
You can have the most beautiful web design, amazing photos and the perfect business name, but if your products are shit, your business will be shit.