Simpler method naming?
See original GitHub issueAs of 0.13.1, there are a number of methods in Retry
(and elsewhere) that are straightforward unambiguous overloads, such as the various execute
and decorate
methods. Since there is no risk of collision among these methods, I suggest that the API would be simpler to navigate if these were simply overloaded with the same name: execute(Supplier)
, execute(Runnable)
, and so on.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Coding like Shakespeare: Practical Function Naming ...
Code like a poet! The article describes practical function naming conventions to increase the code readability. Useful clean code tips and ...
Read more >Meaningful concise method naming guidelines
The simple answer is to forget about naming convention and style as if it were some separate thing to be determined separately, and...
Read more >Naming Methods - Apple Developer
Provides naming guidelines for Cocoa API and design advice to framework developers.
Read more >How to Better Name Your Functions and Variables - Medium
When naming a function, variable or class, you should keep the following things in mind: Choose a word with meaning (provide some context) ......
Read more >What's a good name for a method that gets or creates an object?
1. Find Synonyms · 2. Use Adverbs as Suffix · 3. Use Adverbs as Prefix · 4. Use words that describe what you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@RobWin @chrylis please don’t mix
execute(Supplier<T> supplier)
andexecute(Callable<T> callable)
, it will causeAmbiguous method call
compiler error in user code with lambda expression.Aah thx. Now I remember why it didn’t work in the first place.