There should be one-- and preferebly only one --obvious way to do it. What are the things you now do in a different way. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

There should be one-- and preferebly only one --obvious way to do it. What are the things you now do in a different way.

As one grows as programmer, you start to code differently. See the attached code on how I progressed with something as simple as creating a list of odd numbers. https://code.sololearn.com/cqJUKgH6zn1D/?ref=app What are the things you now do differently to when you started programming?

24th Dec 2017, 5:46 AM
Louis
Louis - avatar
1 Answer
+ 2
Ruby and Pythons principles are very different, I've never seen a Python code with more than one way to do something, In Python there should be one way to do something as opposed to Ruby...
24th Dec 2017, 6:06 AM
MrCoder
MrCoder - avatar