clj-kondo

adham 2024-11-06T09:52:28.809299Z

I turned on every optional linter (except the mandatory docstrings) and I got to deal with this now, this is mainly line length of 80 ๐Ÿ˜†

๐Ÿงน 3
Mateusz Mazurczak 2024-11-07T08:45:04.211249Z

For the line width (and other automatic formating like) I recommend https://github.com/kkinnear/zprint which also has "community" standard formatting There is no need to do all of it manually ๐Ÿ˜‰

2024-11-06T10:53:03.557729Z

Well you can change the 80 limit

2024-11-06T10:53:12.184379Z

That doesn't really make sense imho

2024-11-06T10:53:22.069159Z

I normally set it to 120

adham 2024-11-06T11:14:21.741229Z

1. I like to follow the style guide 2. I like to split my Emacs into two buffers and have everything in each buffer with some whitespace margin

adham 2024-11-06T11:15:05.143709Z

Why do you think it does not make sense? I see it as an indicator of my own poor naming habits, also it pushes me towards threading

2024-11-06T11:17:29.280349Z

I also split and still have plenty of space, around on your screen/resolution/font size

2024-11-06T11:18:36.711619Z

80 is an historical number from the time of real terminals, I've never seen anyone enforcing 80 in clojure projects

2024-11-06T11:18:56.932999Z

Easy to go over that even with good naming and structure

adham 2024-11-06T11:23:38.387349Z

120 does not work for my configuration of font, screen size and window placement I do understand it is historical but I find reading passages under 90 chars wide easier for me and my eyes "I've never seen anyone enforcing 80 in Clojure projects" I assume this means the 100 and 120 limits are more common, right?

2024-11-06T11:30:59.644319Z

Well tbf normally is just not enforced at all

2024-11-06T11:31:25.543749Z

And well if you like it that way it's great , but I think if you work in a team you might struggle to convince everyone else

Harold 2024-11-06T16:44:54.371259Z

> 80 is an historical number from the time of real terminals terminals -> punch cards. ๐Ÿ™‚

๐Ÿ‘ด 1
2024-11-06T16:51:08.516479Z

Ah yes of course even older

๐Ÿ™‚ 1