It depends on what you're building and if you're trying to build a business, or just make a few bucks on the side. If you're trying to build a business, your decision to open source it should be in service of that goal. Is it a developer tool/library with a commercial offering that builds on top of it where open-sourcing it is your main marketing source? If so, then that can be a solid strategy. But if they are just regular tools you're building, then likely there are far better marketing strategies than using open-source.
And that is great to want to give back with open source. But if you're just starting out on your business, then that is a major distraction from the main task at hand.
And that is great to want to give back with open source. But if you're just starting out on your business, then that is a major distraction from the main task at hand.