[DiscordArchive] where would be good place in core to put custom code(file) so that its accessible in whole core and
[DiscordArchive] where would be good place in core to put custom code(file) so that its accessible in whole core and
Archived author: Rymercyble • Posted: 2024-01-17T16:04:13.147000+00:00
Original source
where would be good place in core to put custom code(file) so that its accessible in whole core and modules ?
Archived author: Natrist • Posted: 2024-01-17T16:13:30.983000+00:00
Original source
In its own folder, with a CMake switch?
Archived author: Natrist • Posted: 2024-01-17T16:13:49.603000+00:00
Original source
Unpopular opinino here but I think anything custom shouldn't be part of the core code.
Archived author: Natrist • Posted: 2024-01-17T16:13:57.521000+00:00
Original source
opinino = opinion
Archived author: Rymercyble • Posted: 2024-01-17T16:17:19.529000+00:00
Original source
should i add it to module and include module file in core instead ?
Archived author: Rymercyble • Posted: 2024-01-17T16:17:23.882000+00:00
Original source
https://tenor.com/view/dog-smile-shyboos...f-24233810
Archived author: Natrist • Posted: 2024-01-17T16:24:16.679000+00:00
Original source
I don't remember who proposed using a dynamic library for modules but I think that's probably one of the better ways to implement custom functionality.
Archived author: Rymercyble • Posted: 2024-01-17T16:24:22.977000+00:00
Original source
thinking about it i could add it as dependency...not that it makes much sense but it would work
Archived author: Rymercyble • Posted: 2024-01-17T16:26:37.716000+00:00
Original source
im not against it but it would still be module limited to using hooks which is useless in case where u are changing how core works
Archived author: Rymercyble • Posted: 2024-01-17T16:27:29.593000+00:00
Original source
on other hand if it would be reworked from hooks to implementation swap that would be something