Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Ok, so i'm asking if I can remove the type hinting completely? Commented Oct 5, 2015 at 12:37
  • In my opinion you can have a StringConverter and interface and a FileConverter interface, each defining the same convert() method. But they will probably be usable in different places. Commented Oct 5, 2015 at 20:20
  • 1
    The type hinting is just a bonus if you want to use it. It shouldn't affect the overall design, in my opinion. Commented Oct 5, 2015 at 20:20