Replies: 2 comments 2 replies
-
I would strike out the F90 option. Both |
Beta Was this translation helpful? Give feedback.
2 replies
-
@njansson |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
(Based on the discussion in PR #720 )
Neko uses various ways of initialising objects, as shown below. Before the code grows too big, it would probably be a good idea to agree on a common format and make changes throughout fo
r the next-next release (v0.6)
The various formats are shown below
Overhead costs of type bound procedures aside, my biggest issue with enforcing all derived types to have
init()
methods is the somewhat reduced readability of the code's intent. Both the f90 and interface indicate what kind of typemyapa
is when calling the initialisation method. Any other thoughts?Beta Was this translation helpful? Give feedback.
All reactions