And my code should be complex. As someone who recently didn’t understand a line of code, and now can code like an 8 year old, I feel like it is my duty to make my own code so complex that it becomes something I can barely understand. My code should contain lots of x’s and y’s, and when I run out of those I should get creative with xx, yy, and for good measure I throw in some z’s.
The more code I write, and the more x’s and y’s I insert, the more complex the code gets. Ahh yes, I think to myself, I’m doing GOOD!
But as the days turn into weeks, and I spend more and more time paging back and forth trying to find where I put everything I start to see the cracks in my well thought out plan. There are many times where I think, “How do people do this? I can’t find a f*cking thing in here.” And after the 15th x, xx, yy and z’s I realize those make no sense at all. This x over here means one thing, but that x over there – does that mean the same or something different? Hell if I know.
The more code I write, and the more x’s and y’s I insert the more complex the code gets. Ahh yes, I think to myself, I’m doing GOOD!
And to compound the code diarrhea I’ve created, my app starts to not work. When I’m able to find the offending code and fix it, things work. However, that miracle happens less and less frequently until I decide that I may need help, my suffering needs to come to an end. I’m not giving up, I just have to read a book.
I try a couple selections, and some of them are as dry and scratchy as unlined wool pants on an 8 year old’s legs in church. I just can’t take it. But then by sheer luck, and tons of Googling I stumble on “Eloquent Ruby”. It’s a well written book and sheds some much needed light on the subject. Some of the first lessons I learn:
Lesson 1: I’ve done everything perfectly backwards.
Lesson 2: Less code is better
Lesson 3: Simplicity is critical
Lesson 4: Say what you mean, ambiguity is a killer with code
Have I just wasted the last 5 months? F me, I really hope not.
Introduction In the fast-paced world of e-commerce, one thing is certain: efficient and reliable shipping can make or break your online store. As a Shopify store merchant, you're likely familiar with the importance of a seamless shipping process. This is where Amazon...
Our Virtual Bundle feature assists you in quickly mapping your physical FBA SKUs to your Amazon virtual bundle SKUs. Now, you may be asking, what does that mean?
If your vision for your ecommerce business involves getting bought up, you’re in luck. As we covered in a recent post, groups of ecommerce investors known as “Amazon aggregators” are acquiring profitable ecommerce operations and scaling them into digital superstores.
Starting January 1, 2023, stores on the Shopify Starter and Basic plans will no longer be able to request access to the Carrier Service API (Carrier Calculated Shipping).
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