Make code more modular in nature #17

Closed
opened 2026-01-29 15:00:44 +00:00 by claunia · 3 comments
Owner

Originally created by @shivam-tripathi on GitHub (Oct 16, 2017).

Presently, each algorithm implementation requires implementation of each underlying data structure from scratch. This is a hassle, as more than often the implementations of underlying data structures increases the code size unnecessarily.
For example, while implementing graph algorithms if we have to reimplement graph ADT again it will meaningless. Instead it would be good idea to implement a header file alongside, which could be used as includes later in other algorithms.
This issue aims to provide such modular nature in the present existing files.

Originally created by @shivam-tripathi on GitHub (Oct 16, 2017). Presently, each algorithm implementation requires implementation of each underlying data structure from scratch. This is a hassle, as more than often the implementations of underlying data structures increases the code size unnecessarily. For example, while implementing graph algorithms if we have to reimplement graph ADT again it will meaningless. Instead it would be good idea to implement a header file alongside, which could be used as includes later in other algorithms. This issue aims to provide such modular nature in the present existing files.
Author
Owner

@kenshimota commented on GitHub (Dec 19, 2017):

valla no sabia eso gracias por el dato brou

@kenshimota commented on GitHub (Dec 19, 2017): valla no sabia eso gracias por el dato brou
Author
Owner

@kenshimota commented on GitHub (Dec 19, 2017):

:) :) :D

@kenshimota commented on GitHub (Dec 19, 2017): :) :) :D
Author
Owner

@christianbender commented on GitHub (Dec 23, 2017):

@shivam-tripathi

Thanks for your suggestions. We can split the data structures into header (interface section) and c-file (implementation section). But that take time. You can contribute.

@christianbender commented on GitHub (Dec 23, 2017): @shivam-tripathi Thanks for your suggestions. We can split the data structures into header (interface section) and c-file (implementation section). But that take time. You can contribute.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#17