Python Forum
A Simple PyQt5 Class
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A Simple PyQt5 Class
#14
Really you did not read what I just posted? I mean actually NO that article does not cure the troubles because the real trouble with using super() is you are adding additional complexity, additional issues, and additional bugs that you would not have if you had instead used the explicit method of referencing the object as it was meant to be referenced. Heck even the first example your toted author gives is a gain nothing example so it ends up being a lose-lose scenario. This whole lets make it more complex than it needs to be is what makes it a bad coding practice. Further your so beloved author does not even use the case that is getting so abused within any of their examples and perhaps this is because they too recognize the inherent issue for using it for what its so being abused for.

So to your advice I would then reply that it is not expert advice in anyway, shape, of form. Basically anytime you increase complexity for absolutely no reason you are by no means an expert just another wanna-be trying to make themselves look important. Kind of like someone using big words they have no real idea what they mean but neither does their audience so it makes them seem impressive but no one understands a thing they said including them self.

K.I.S.S. < That is the motto every programmer should adopt -- Keep It Simple and Smart otherwise you M.I.C.C. (pronounced Miss) < Make It Complex and Crappy

So basically: You Kiss It or You Miss It -- it is your choice, Still I guess you all keep me gainfully employed because I am often and frequently called in to fix the messes the MICCers create


Messages In This Thread
A Simple PyQt5 Class - by zoro - Feb-21-2020, 08:03 PM
RE: A Simple PyQt5 Class - by zoro - Feb-22-2020, 07:40 AM
RE: A Simple PyQt5 Class - by Axel_Erfurt - Feb-22-2020, 03:44 PM
RE: A Simple PyQt5 Class - by zoro - Feb-23-2020, 11:13 AM
RE: A Simple PyQt5 Class - by Axel_Erfurt - Feb-23-2020, 02:53 PM
RE: A Simple PyQt5 Class - by Denni - Feb-24-2020, 03:03 PM
RE: A Simple PyQt5 Class - by snippsat - Feb-28-2020, 01:07 PM
RE: A Simple PyQt5 Class - by Denni - Feb-28-2020, 04:25 PM
RE: A Simple PyQt5 Class - by snippsat - Feb-28-2020, 05:33 PM
RE: A Simple PyQt5 Class - by Denni - Feb-28-2020, 05:43 PM
RE: A Simple PyQt5 Class - by Gribouillis - Feb-28-2020, 05:56 PM
RE: A Simple PyQt5 Class - by Denni - Feb-28-2020, 09:23 PM
RE: A Simple PyQt5 Class - by Gribouillis - Feb-28-2020, 10:13 PM
RE: A Simple PyQt5 Class - by Denni - Feb-28-2020, 10:47 PM
RE: A Simple PyQt5 Class - by snippsat - Feb-28-2020, 11:42 PM
RE: A Simple PyQt5 Class - by micseydel - Mar-02-2020, 07:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  help needed running a simple function in pyqt5 diodes 27 9,258 Jan-24-2023, 12:19 PM
Last Post: GetOnData
  Huge code problems (buttons(PyQt5),PyQt5 Threads, Windows etc) ZenWoR 0 2,963 Apr-06-2019, 11:15 PM
Last Post: ZenWoR

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020