Open-Systems-Pharmacology / developer-docs

https://dev.open-systems-pharmacology.org
0 stars 2 forks source link

Dos And Don'ts: Suggestions for better APIs #24

Open msevestre opened 2 years ago

msevestre commented 2 years ago

A few suggestions to write better/easier to maintain API. @abdelr @Yuri05 @georgeDaskalakis, please enhance/discuss as you see fit Obviously, these are suggestions. There are cases, where it makes sense to not follow these principles but it should be discussed in PR

DOs

DON'Ts

PavelBal commented 2 years ago

Topic for coding standards?

msevestre commented 2 years ago

Yes absolutely... once we agree on the content.

rwmcintosh commented 10 months ago

I think we can add all these points. It's what we are already doing every day.

PavelBal commented 10 months ago

@georgeDaskalakis Is there a place for such information in the developers documentation?

georgeDaskalakis commented 10 months ago

@PavelBal if everyone agrees I could add this to the C# coding standards. I feel they belong there - otherwise we could add a page with a title something like suggestions for programmers.

rwmcintosh commented 10 months ago

This is more or less "conventions" the same as the others in that document. Maybe a bit more "best practices" but we also have others that seem a bit more "best practices".

If I wanted to understand what my code should look like before submitting a PR, I'd like it all in one document.

PavelBal commented 10 months ago

So it's a yes`?

Yuri05 commented 10 months ago

@PavelBal if everyone agrees I could add this to the C# coding standards. I feel they belong there - otherwise we could add a page with a title something like suggestions for programmers.

agree (coding standards)

georgeDaskalakis commented 10 months ago

Ok, I will create a PR on this and we can discuss there any disagreements- additions regarding the content. ( As Michael noted)