[ER] Don't suggest private methods on cfcs
See original GitHub issueIs it possible to differentiate between public and private methods on a cfc?
I’ve (only just now) setup a services directory in the cfc_folders
feature and I have a bunch of private methods in them that I like to start with underscores unfortunately that makes them appear at the top.
If hiding isn’t a good option, putting them below public methods might be better?
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Are private methods a code smell? - Carlos Schults
The first argument presented states that private methods violate the Single Responsibility Principle. Private helper methods indicate classes ...
Read more >Resharper - don't mark private methods explicitly as private
I want resharper to not put the private access modifier on fields by default - they're already private, I don't need additional modifier....
Read more >The purpose of private methods and when to use them
Private methods indicate that the class is doing too many things (Single Responsibility Principle violation); Private methods have too many ...
Read more >Permit an implementing class to ignore private methods of the ...
I suggest that when a class implements another class the implementing class be allowed to ignore the private fields and methods (both static...
Read more >How to test private methods - CFUnit - SourceForge
In ColdFusion a CFC's methods can be marked as private (or package), which means no other CFC can access that method (or that...
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
@elpete: That is my plan (I want them suggested where they are callable). I definitely don’t want to remove private methods from the component completions altogether.
haha well, if it’s to spaces I’m all for it 😃