If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Announcement
Collapse
No announcement yet.
Following Criticism By Linus Torvalds, GenPD Subsystem Renamed To "pmdomain"
I'm with you there. I really wish we'd get out of the legacy naming conventions. While it made sense due to the technological limitations of their times, it makes no sense to stick to those kinds of names when those limitations no longer exist.
Yeah, it's a policy I've insisted on for new code at work — abbreviations, acronyms and initialisms are forbidden in source code, aside from a small list that are basically either industry terms or so well established as to be unavoidable. With modern tooling, there are few disadvantages in using longer names, and they're very much outweighed by the benefits of having greater consistency, and less ambiguity over the same TLA used with different meanings in different parts of the code.
So Generation Police Department to Post Meridiem Domain. They totally cleared that up for me.
No, just because it was open source doesn't make it Generally Public Domain and just because it affects the power system doesn't make it the Phase Modulation Domain, but because it's designated as a PM domain it only works for the last half of the day.
Plenty of things in open source aren’t immediately obvious to an unfamiliar user, especially in a project as complex as the Linux kernel.
For example: what the heck is “SLUB”? That could just as easily stand for “Statically Linked Universal Binary”.
Nah, "pmdomain" does indeed almost immediately expand to "power management" + domain in the computer hardware space. "GenPD" could mean anything. It's way too generic. Context matters.
Linus is 10000 percents right here. Good straightforward names are very important. They help everyone understand what a system does and bring consistency.
hear that kde people ? (they would have called it Konektor, KvoltMaster, or PowerKable or whatever bs name they come up with...)
pmdomain doesn't look/sound too much better either.
We are not in the MS-DOS 8.3 filenames era, why do we still have abbreviations people need to memorize for no reasons?
There are 255 ASCII characters to express whatever there is!
And I will also never understand why directories in the kernel source tree cannot have anything but alphabet characters and digits. What about all the additional symbols that we can use? At the very least the underscore, dash and dot. Using others may lead to issues though.
Where else is the Prime Minister supposed to go? It's his Domain after all.
I'm with you there. I really wish we'd get out of the legacy naming conventions. While it made sense due to the technological limitations of their times, it makes no sense to stick to those kinds of names when those limitations no longer exist.
pmdomain doesn't look/sound too much better either.
We are not in the MS-DOS 8.3 filenames era, why do we still have abbreviations people need to memorize for no reasons?
There are 255 ASCII characters to express whatever there is!
And I will also never understand why directories in the kernel source tree cannot have anything but alphabet characters and digits. What about all the additional symbols that we can use? At the very least the underscore, dash and dot. Using others may lead to issues though.
Good, pmdomain sounds obvious to me, we've had pm for power management for a while, like in PMIC.
Not to me, but I've never once used PM as a substitute for Power Management. Acronyms are only obvious once you've started working with them. That's what my pre-coffee joke was trying to point out.
Personally, I feel like acronyms are holdovers from the old 8.3 filename days and due to Linux users with setups that can't handle blank spaces in file names and I wish that they'd just name stuff its actual name. Generic Power Management Domain. That's obvious. How that became GenPD instead of GPMD is ????
Leave a comment: