I made the same desktop app in C++, C# and Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.พ. 2025

ความคิดเห็น • 21

  • @sledgex9
    @sledgex9 3 หลายเดือนก่อน +11

    Let's be real. This isn't Python vs C++ vs C#. It is Qt(python) vs WPF vs wxWidgets(C++). Three different UI libraries with vastly different documentation quality and tooling.

  • @31337flamer
    @31337flamer 3 หลายเดือนก่อน +10

    Everything easy and working with C# as expected xD

    • @PecaCS
      @PecaCS  3 หลายเดือนก่อน +3

      I really liked C#

    • @tyrandan2
      @tyrandan2 3 หลายเดือนก่อน +2

      I am a full time C#/.NET dev, it's honestly my favorite language to write applications in. I like python for small one-off things, but if I need to make a full desktop application, I'm going to go with C#/WPF. It just works.

    • @chedisLoL
      @chedisLoL 3 หลายเดือนก่อน

      @@tyrandan2 honestly. I have tried 5-6 languages in a enterprise. I will always go back home to Powershell and c#.

  • @disekjoumoer
    @disekjoumoer 3 หลายเดือนก่อน +1

    I'd like to add that you don't have to use a table for events in wxwidgets. It can be done quite easily and powerfully dynamically.

  • @sledgex9
    @sledgex9 3 หลายเดือนก่อน +1

    02:39 it seems you have used "grid layout" in your root element (QWidget) and child widgets aren't part of the new slots/space created by the grid in the expanded space. It is very probable that your "grid" has empty slots created by the drag-n-drop of widgets while designing. And those empty slots interfere with the expanded space. You should recreate the root layout (root element -> break layout).

  • @mehrshadzand7942
    @mehrshadzand7942 3 หลายเดือนก่อน +2

    glad i learned C# , didn't know Developing Desktop Application on other languages were such a pain in ass (i only knew about horrors of Java)

  • @matheusdemarcolopes
    @matheusdemarcolopes 3 หลายเดือนก่อน +1

    great video

  • @VaibhavJain-k1g
    @VaibhavJain-k1g 3 หลายเดือนก่อน

    I was also trying to build a GUI app last week with C++, and my god it took me a whole day and I couldn't even figure out a proper setup with CMake. I ended up using Python and it only took a couple hours after that.

    • @nevemlaci
      @nevemlaci 3 หลายเดือนก่อน

      sounds like a skill issue (/s c++ dependency management sucks)

  • @sledgex9
    @sledgex9 3 หลายเดือนก่อน +1

    Seriously, you used Qt with python and not C++? And then with C++ you went with wxWidgets? It should have been the other way around. C++ with Qt and Python with wxPython. Qt really shines with C++ (from a developer experience POV).

  • @chedisLoL
    @chedisLoL 3 หลายเดือนก่อน +1

    c# is honestly the best language to learn ESPECIALLY in a windows main environment. .Net is literally the most powerful shell ever. Its cross platform, and naturally integrates with terminal and powershell.

  • @szymon-i1n
    @szymon-i1n 3 หลายเดือนก่อน

    Why not use kivi for python?

    • @PecaCS
      @PecaCS  3 หลายเดือนก่อน +1

      I had to pick just one. If you want I can make a video just for python and all the options. Kivy and what else do you want to see covered?

    • @gxost_off
      @gxost_off 3 หลายเดือนก่อน +2

      @@PecaCS Tkinter please, especially CustomTkinter

  • @abc321meins
    @abc321meins 3 หลายเดือนก่อน +1

    Angry python fanboys incoming. Python is a really good language for beginners, but if you need to get sh1t done use the right tool for the job.

  • @guruware8612
    @guruware8612 3 หลายเดือนก่อน +1

    This happens when you have no experience using Qt, once you get used to it, such an app for c++ is done in ~10 minutes top, including a coffee break.
    No offence, its just a matter of time - as with anything.
    Nobody learned C# or Phyton in a day either.