Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for pfabriâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #291928 |
Post edited: Added is missing link |
— | 4 months ago |
Edit | Post #291928 | Initial revision | — | 5 months ago |
Answer | — |
A: Use cases for raising a 'NotImplementedError' in Python One of the usecases I have found very useful is to do a `raise NotImplementedError()` inside the child method of an `@abstractmethod`-decorated base class method. Yes, it's a mouthful but what it really means is graceful simplicity. Example Imagine writing a control script for a family of ele... (more) |
— | 5 months ago |
Edit | Post #291927 | Initial revision | — | 5 months ago |
Question | — |
Use cases for raising a 'NotImplementedError' in Python What are some legitimate use cases for raising a `NotImplementedError` exception in Python? How can it help express a code author's intentions to aid code maintenance and/or further development of code? (more) |
— | 5 months ago |