Look! This code is so much more readable when we force it all onto one line!
... said nobody ever.
This is a misconception that I think is almost like a phase that many programmers go through when they're learning aboiut refactoring. Being able to do something in fewer lines of code seems to give the illusion that the code is more efficient.
Not only is this not often the case, but the readability is greatly impacted when your lines of code get wider. The more you have to scroll left to right, the more taxing it is to read through code.
And no, a wider monitor does not help.
Check out the full video:
• CSharp Switch Statements - How To Con...
----
📨 Sign up for my FREE email newsletter:
https://subscribe.devleader.ca
🗣️ Share with your network!
#code #coding #programming #codinglife
Смотрите видео Look! This code is so much more readable when we force it all onto one line! онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Dev Leader 26 Август 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 50 раз и оно понравилось 1 людям.