mdbs99 / james

James is a collection of object-oriented Pascal primitives for Lazarus and Delphi
MIT License
53 stars 20 forks source link

Remove suffixes .delphi and .fpc of units #80

Closed mdbs99 closed 6 years ago

mdbs99 commented 6 years ago

We used a good approach to separated the code that is not equal between Delphi and FPC/Lazarus: We've been using .delphi and .fpc suffixes in some units to implement the differences between those platforms. Unfortunatelly, this approach is not good if you have the minimum amount of programmers working on one project. That means that this approach takes more time than using IFDEF conditionals. However, I do not agree to use IFDEF anywhere. So, I'm proposing rewrite these units, merge them, and using IFDEF only in some cases at the implementation secction.

mdbs99 commented 6 years ago

We might use delphi and fpc as suffixes for usable unit by the users instead of just pseudo-units. It is just a little mind change.