contributte / console

:boom: Best minimal console (symfony/console) to Nette Framework (@nette)
https://contributte.org/packages/contributte/console.html
MIT License
91 stars 32 forks source link

Get rid of foo in sake of newbies #64

Closed dakur closed 2 years ago

dakur commented 2 years ago

I needed to explain how commands work, but docs were not much helpful.

Couldn't be there rather some artificial Article or UserModel injected, some article:add or users:add command registered and instead of "Some magic" some code demonstrated?

I remember well how much I struggled with these foo stuff many years ago when I was trying to understand what are interfaces for. I actually didn't understand it then until years later someone showed me real world interface.

Reference: https://www.google.com/search?q=why+not+to+use+foo

f3l1x commented 2 years ago

Sure, why not. Will you prepare PR?

dakur commented 2 years ago

I think I can.

dakur commented 2 years ago

@f3l1x I've tried in #65

f3l1x commented 2 years ago

Merged, thank you.