Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
If it only has to work on windows, why would you rewrite it in python? What's the point?
If it has to work on anything that doesn't have powershell by default, why would you write it in powershell in the first place?
Rewriting a program in a different language is a very hard and boring task, so nobody should do it unless the original doesn't work in its target environment. -
PyVic1306yExactly @Lor-inc Exactly!
This has to work in Windows only, but he wants it in Python because other people don't know powershell that well. And that is also a bullcrap argument because they don't have to do anythig with the scripts!!!!! -
@PyVic He has a point in that using languages that only you know delegates all future tasks with the program to you, which decreases the overall speed and agility of the team. But if it's a small and specialized program this shouldn't be a big enough problem to make you rewrite the whole thing.
-
@gruff it does run, but it isn't made for that, and has an entire different set of commands. For multiplatform programs, it's best to use a language that was meant for that. Python is a good example, but eg c++ has good compatibility too.
-
Welcome to DevRant!
If you need a good GUI framework I'd recommend AppJar. Simple, powerful and easy to learn. -
PyVic1306y@Klanowicz It is for the team. Actually, the reason why I'm so angry is because I wrote this just for me. My manager saw me using and wanted me to share it with the team. Then he wanted the GUI. Then some extra features. Now, port it to Python!
-
PyVic1306y@PrivateGER Thanks! This was more of an RPA thing than just GUI. Thanks for the advice though!
-
@PyVic I know how you feel, I make automated things for myself all the time and then people see them and want me to share. When I make things for myself they are 99% CLI and no gui since I'm not a designer and I don't care how things look. I have no issue with sharing the script and explaining it, but when someone starts asking for a gui I get a little bothered too.
-
@PyVic I always say "if I have to do it once, I'll have to do it again. And if I have to do it again, it should be automated."
-
granola7396yPowerShell FTW!
Maybe the boss doesn't think the rest of the team are capable of learning new language.
(And PowerShell is relatively easy to learn.)
There are places where the developer can choose the language he want to build his project with. -
dr-ant13576y@PyVic don't worry about managers. I find that that takes away the joy. You wrote that script for you. That's good enough. You walked the extra mile. He isn't paying you to write that script in python and has no right to demand anything. Besides if you want people to use it, it's irrelevant what language people know. The script is there to help them not to make them work on changing it. If they want to customize then it's a good opportunity to learn a new thing.
Created a whole program from scratch in Powershell, while learning it on the fly. Developed GUI and got some friends to beta test it. Fixed bugs and finally the manager saw. After using it for not even a whole minute, he says "Looks fine, just make it in Python and we'll see".
FML
Fuck Python
Fuck this shit stupid world
rant