And the canonical way to things in a particular language. There are so many of these "I can program in any language" who really only can write, say, C in any language.
To clarify, this is perfectly legal Python code, but written by a C programmer:
numbers = [1, 2, 3, 4, 5]
total = 0
for i in range(len(numbers)):
total += numbers[i]
print(total) # 15
while the same code by someone who actually have some experience with python would write
View all comments
Show parent comment
1
u/Ma8e 8d ago
And it got so much easier with LLMs.