Re: [hackers] [slstatus] battery_perc: Port to OpenBSD. || Aaron Marcher

From: Quentin Rameau <>
Date: Tue, 20 Mar 2018 09:48:52 +0100

> Hello,
> > If you're going to do this for every module for every OS you're
> > planning on supporting, this is a bad start imho.
> Well, i will only support Linux and OpenBSD - and almost half of the
> modules is POSIX-compliant anyway.
> > What would you think about rather separating objects to their OS
> > directory and chose which to build/link at make time?
> Will adding an additional separation layer or even directory
> structure with duplicate code actually improve the readbility of the
> program? Performance-wise it is the same.


Now, if you only have a couple of those, maybe it's not worthwhile
indeed. Just keep this in mind if/when you reach a point where there
are too much of those.
Received on Tue Mar 20 2018 - 09:48:52 CET

This archive was generated by hypermail 2.3.0 : Tue Mar 20 2018 - 10:00:26 CET