It’s best to learn Computer Science, not just how to Program

  1. You will save time
  2. Your projects will save money
  3. Your collaborations will be more effective

1. You will save time

Many people who program in Javascript don’t know the following:

// This
for (let i = 0; i < n; i++) { ... }
// Runs slower than this
for (let i = n; --i >=0;) { ... }
move register, 0
L1:
compare register, n
jump-if-greater-or-equal L2
-- ...
increment register
jump L1
L2:
move register, n
L1:
decrement-and-jump-if-negative register, L2
...
jump L1
L2:
  • If you use the first loop, it takes an average of 2 milliseconds to run
  • If you use the second loop, it takes an average to 1 millisecond to run

2. Your projects will save money

Did you know that, on average, 20% of customers generate 80% of the revenue for a business?

3. Your collaborations will be more effective

I felt a little too related to the following comic as I was doing the research for this final point:

Conclusion

I’m no Tony Robins. I do not have the key to success in life (yet).

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jean Lescure

Jean Lescure

Fullstack development, content creation, audiovisual production — The whole enchilada (͡° ͜ʖ ͡°)