A (not so) small library for terminal based game development
1–10 of 23 posts
Re: A (not so) small library for terminal based game development
#2Cool project!
Re: A (not so) small library for terminal based game development
#3If you don't want people to use the internals, why not make them `__private`? Cool project!
Re: A (not so) small library for terminal based game development
#4If you don't want people to use the internals, why not make them `__private`? Cool project!
> There is little protections against messing up with the internal. This is on purpose, I want the kids to learn to use the API not mess up with the internals of every single class.
Re: A (not so) small library for terminal based game development
#5Earlier quoted context omitted.
> There is little protections against messing up with the internal. This is on purpose, I want the kids to learn to use the API not mess up with the internals of every single class.
I don’t understand the reasoning; you’d add protections if you wanted them to learn to use the APIs. You’d remove them if you wanted them to mess with the internals of each class.
Re: A (not so) small library for terminal based game development
#6Earlier quoted context omitted.
I don’t understand the reasoning; you’d add protections if you wanted them to learn to use the APIs. You’d remove them if you wanted them to mess with the internals of each class.
They want people to learn not to mess things up. You learn not to mess up by trying things out and messing up.
Re: A (not so) small library for terminal based game development
#7If you don't want people to use the internals, why not make them `__private`? Cool project!
> There is little protections against messing up with the internal. This is on purpose, I want the kids to learn to use the API not mess up with the internals of every single class.
Re: A (not so) small library for terminal based game development
#8Re: A (not so) small library for terminal based game development
#9Re: A (not so) small library for terminal based game development
#10Earlier quoted context omitted.
> There is little protections against messing up with the internal. This is on purpose, I want the kids to learn to use the API not mess up with the internals of every single class.
"I left this shotgun here, kids need to learn that shooting yourself in the foot really hurts."