Is it important to learn classes, oop etc before learning discord.py to develop bots | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is it important to learn classes, oop etc before learning discord.py to develop bots

I currently know the fundamentals of python, and I was thinking whether or not to start developing a discord bot.

28th Apr 2021, 12:07 PM
Abhishek Kashyap
Abhishek Kashyap - avatar
1 Answer
0
You can if you want, OOP is more of a structure to the code. functional programming can do the same as OOP just with more or less code depending on the situation. functional: create all functions and then feed them to a bot's main loop. oop: create a bot object, with methods and attributes so the bot functions
28th Apr 2021, 12:56 PM
Slick
Slick - avatar