DEV Community

Discussion on: One code liner in Python 🐍

Collapse
 
michaelcurrin profile image
Michael Currin • Edited

What is code does?

Rather "What does this code do?"

This is also poor English.

Here's a typical code in Python

More like a "piece of code" or "snippet of code".

Because "code" describes a collective, not an individual. We wouldn't say "here is a water", "here is a spaghetti", "here is an information". But rather, "here is a cup/drop of water", "a piece/strand of a spaghetti" or "a piece of information".

Similarly, one shouldn't say "I wrote some codes", but "I wrote some code".

Collapse
 
willnode profile image
Wildan Mubarok

Thank you so much! English is my second language. I'll keep improving my writing skill.