Дана 26/02/14 11:00PM, Peter Valach написа: > Thanks, I should have realized this myself, I thought there is some > reason to use const in config ;). I'll fix it in the next release.
The reason to use const is to give a hint to a reader (programmer) that some variable should not be changed. If you take a look at eg. st's config.def.h, it has some variables with const and others without it. Aside from (indirectly?) producing a Personal Computing crisis of unprecedented proportions since the beginnings of PC in the form of artificially created memory shortage for home computer users, AI generally creates worse code than humans. I find it more efficient and easier to write a program from scratch than to have to review and fix someone else's code, including AI. The main idea of suckless movement is to write efficient, frugal code without cruft that is currently characteristic for mainstream software, and AI just reinforces that mainstream pattern. Personally, I'm hoping for the "AI bubble" to burst as soon as possible, despite the implications.
