4 ms·
Then may I respectfully submit you or your employer should buy an appropriate monitor or you chould use two. I'm not asking for 300 character lines. A 25% incr
by KirinDave 7y ago
Then may I respectfully submit you or your employer should buy an appropriate monitor or you chould use two.
I'm not asking for 300 character lines. A 25% increase would be a rational and sufficient nod to the fact that monitors are bigger.
- joshuamorton 7y agoI work at the same place you do. I code often enough from my macbook, using likely the same tools that you use, and they're truly painful with >80 character lines. I don't understand how Go and Java devs survive. I also don't think an 80 character line limit is a bad thing: small well defined functions that do only one thing are good. Long lines often encourage people to want to nest code deeply (which is terrible!) or to write complex one-liners, and that + list comprehensions is a dangerous pairing.
- KirinDave 7y agoThe only tool that gets remotely irritable about it is the one we use for diff reviewing, afaict? > I also don't think an 80 character line limit is a bad thing: small well defined functions that do only one thing are good. Long lines often encourage people to want to nest code deeply (which is terrible!) or to write complex one-liners, and that + list comprehensions is a dangerous pairing. Python already starts you out at a nest of 2-4 characters, so we don't even get the full 80. But honestly I don't think a 100 character line is going to doom us all to hyper-nested expressions.
- cs02rm0 7y agoJava dev here. I would try and defend a 120 character limit but I have a 34" 5k widescreen monitor so I probably don't have a leg to stand on. I'm writing a mix of Java and python at the moment. Python for lambdas behind an API gateway and Java on some containers for stuff that's more complex but evolves more slowly. It's neither python or Java where I'm really spending my time though. It's CloudFormation, Ansible, Jenkins and stitching the whole system together for CD that's killing me. I feel like programming languages are the easy bit these days.
- mypalmike 7y ago> I feel like programming languages are the easy bit these days. Agreed. The mainstream garbage-collected languages are all basically the same in the grand scheme of things. The work that takes most of my time (and growing) lately is packaging, testing, deployment, etc.