ahmed-al-balochi / LibreGaming

Python Program that downloads gaming required packages based on your Linux Distribution.
GNU General Public License v3.0
193 stars 12 forks source link

Why python? #9

Closed EsmailELBoBDev2 closed 3 years ago

EsmailELBoBDev2 commented 3 years ago

Hey Ahmed, as a start i want to say thank you for your great work :) Second, I really was wondring, why python? i mean most of your calls are inside terminal anyways so why python in first place, why not just bash script? if you allow me (aka want) i can play around and try to make a bash script (i'm learning it and it would be a good challange) so do you want bash script along side your python script or just python?

و عارف الأنجليزى بتاعى مش حلو اوى 😅

ahmed-al-balochi commented 3 years ago

Hi, Thank you for your questions, let start by saying that there is no harm in cloning the project and rewrite it in bash and then publish it on your Github page. After all that is what open source allows. However, I want keep this project written in Python. As to why using Python? Well I wanted a new challenge. You see I already have experience in shell scripting, C++, and Java. But not Python. And Python has a lot of great libraries that makes programming in it easy and straightforward. I hope this answers your questions. Thanks again. الانجليزي حقك تمام😊

EsmailELBoBDev2 commented 3 years ago

Okay good news and bad news. I just finished my rewrite of it using bash (that works in Arch linux for now) and if you want a PR (so user can use both options) -- also i tried to implement broodie's feedback

ahmed-al-balochi commented 3 years ago

You can create your own project or clone this one and rewrite it on your own repo. But I won't accept any pull request that does't fit this repo. Thank you

AussieEevee commented 3 years ago

I was about to ask this myself. I was wondering because python adds some extra system requirements thats not usually installed by default

ahmed-al-balochi commented 3 years ago

Well this program already uses protonup which is a python program. So even if I didn't program LibreGaming in python you will still need some of those system requirements you mentioned. Also, its very easy to package python programs into pip. I hope this answers you question.