Toni Aittoniemi on Nostr: When coding, I like to write with extra spaces around function arguments and ...
When coding, I like to write with extra spaces around function arguments and math/logical operators:
Integer.Parse( args[2 + (i * 2)] );
.. because it's more readable, and we all have 4k monitors now & don't need to save horizontal space anymore, unlike in the 90's.
But thanks to industrial-grade autocomplete trained on the internet and not understanding context, the next line of code comes out as:
Integer.Parse(args[2+(i*2)+1]);
.. 🤨
#generativeAI #coding
Integer.Parse( args[2 + (i * 2)] );
.. because it's more readable, and we all have 4k monitors now & don't need to save horizontal space anymore, unlike in the 90's.
But thanks to industrial-grade autocomplete trained on the internet and not understanding context, the next line of code comes out as:
Integer.Parse(args[2+(i*2)+1]);
.. 🤨
#generativeAI #coding