Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
asgs114985yI'm so adjusted to horizontally bigger monitors that I can now look at neither smaller laptop screens nor the vertical monitors
Code quality doesn't dictate the kind of screens we need -
If your functions are short, and you still need a vertical screen, then your functions are too far apart.
-
I use vertical screen to stack console, and multiple files, all in natural reading order (top to bottom)
-
-
@myss It needs to have at least some logic in it to be a successful comeback. Why would horizontal screen indicate a spaghetti code?
-
@ScriptCoded So you're only looking at adjacent functions? If you need to look at different parts of your code you'll have to scroll some anyway...
-
myss45305y@NickyBones idk, maybe for the same reason why vertical screen would indicate lengthy functions? 🙃
-
I hate it when code is spread over gazillions of super small functions because it's hard to get an idea what exactly is being done. Functions up to a 100 lines are totally fine.
-
@NickyBones But if you've got a 100, or, even 150 lliner class and that can fit on your screen? Wouldn't that be nice?
-
@myss No, this has a perfectly logical explanation - when people write or debug a function, they like to see it whole in front of them without having to scroll. When functions are too lengthy, one trick is to rotate the screen vertically so you can see more lines simultaneously...pretty basic.
-
@Fast-Nop If those functions make sense and have proper names there should not be a problem. On my 21 screen I can see easily 80 lines, so for up-to-100 lines functions there is no reason for vertical arrangement.
I'm talking about novel-length functions and classes that people write because they are lazy. When you work on ultra low power, few Kb memory devices, these monster functions (who usually have gazillion local variables) can actually choke your stack. -
Are vertical monitors still a thing? I thought they were the realm of "look at me I'm cool and different" devs who went back to a normal setup when the attention stopped... a few years ago now.
-
Anyone else who codes by directly imposing magnetic flux on the hard disk, causing it to write 0s and 1s?
Related Rants
If you need a vertical screen, your functions are too long.
rant
code
coding standards
screen