Closed emhane closed 3 months ago
Happy to make a start on this as I become more familiar with the codebase!
Happy to make a start on this as I become more familiar with the codebase!
probably makes sense to do this in parts if you're still keen @JP2308 since otherwise you may find yourself endlessly chasing main branch! maybe crate by crate?
Is there any update on this? If not I can take this one. I can do crate by crate, rather than chasing main branch.
I have found myself chasing the main a bit.
I am making my way though it but slowly given my inexperience. I understand if you'd like others to take this on given they can work faster.
how about writing here which crate your are currently on @JP2308 and @shakeib98 so you're not working on the same one?
Yeah that makes sense. @JP2308 , please mention crates or folders you are taking on, I'll take other then.
Sounds like a plan, I have completed the following crates:
Maybe @shakeib98 you start from the bottom and we meet somewhere in the middle?
Which crate is etl?
Also, I will take the following crates then
In total there are 25 crates at the moment, you can take the upper 12 I'll complete the rest 13.
This issue is stale because it has been open for 21 days with no activity.
Describe the feature
To improve maintainability, constant names need to be revised. Constants names need to be more descriptive and words in constant names need to follow a grammar: position (1) what is the constant ultimately? Is it a
DEFAULT
,MAX
,MIN
,AVERAGE
,MEDIAN
,TEST
,SOFT_LIMIT
etc.? position (2) may come a word from (1), like we could have aDEFAULT_MAX_...
, otherwise (3) position (3) what's the unit? Is itBYTES
,COUNT
,LENGTH
,RETRIES
(retries is a specialised form of count), etc. position(4) what is the thing that we are measuring? For exampleGET_POOLED_TRANSACTIONS_REQUEST
,GET_POOLED_TRANSACTIONS_REQUEST_BODY
, etc. If that thing refers to specific type, please include the whole type's name. position (5) optionally we may need to describe (4) based on the context it's found in, e.g.INBOUND
,OUTBOUND
,AS_PENDING
,POST_IMPORT
, etc.An example is
DEFAULT_MAX_COUNT_HASHES_IN_GET_POOLED_TRANSACTIONS_REQUEST
. Skipping the preposition is fine too if it remains unambiguous what the constant value holdsDEFAULT_MAX_COUNT_HASHES_GET_POOLED_TRANSACTIONS_REQUEST
.That the constant name is long, is not a problem. If it isn't descriptive enough, it may result in some tedious bugs caused by misinterpretation of the constant from interpreting it based on the context it's found in, as compensation for the lack of descriptiveness in the name.
Additional context
No response