3 ms·
I feel like Python is starting to get a lot of the same bad rep because non-techies can learn it. It's actually a great language if you want to build stuff real
by dheera 4y ago
I feel like Python is starting to get a lot of the same bad rep because non-techies can learn it. It's actually a great language if you want to build stuff really fast. Not everything needs to crunch a billion operations per second and even if you want that, there are several good libraries for that.
- albertzeyer 4y agoYep. Python has potential to support some environment like Visual Basic. But there is no such project, as far as I know. All GUI frameworks are more complex, and there is no nice drag & drop GUI editor build into an easy Python IDE. At least I don't know it. Maybe if you use PyCharm, select some framework, find the right PyCharm plugins for it, you would have sth similar, but still much more difficult to use, and also there is no prebuilt and ready to be used package for such thing.
- jimnotgym 4y agoI have lost count of the number of 'I miss VB6/Flash/Delphi, they were so much more productive' threads on hn! Yet in this community of all the people who could make it happen, we can't make it happen! What are we missing? Time? Money? Co-ordination?
- albertzeyer 4y agoFor Delphi, there is Lazarus, which is absolutely great. However, it's somehow really niche? Maybe because Object Pascal is somewhat outdated now?
- jimnotgym 4y agoI don't really know Delphi/Lazurus well enough... but I suppose it is similar to the following... for VB there is Winforms and .NET, which as someone above pointed out is 'much more powerful', but somehow not what people want!
- int_19h 4y agoThe problem is that the approach itself is kinda flawed. The moment you have to support high-DPI or translate the app to a different language (with text labels of different size), that whole trick of just WYSIWYG dragging and dropping widgets in a visual designer breaks down.
- fomine3 4y agoHiDPI isn't a problem but variable (dynamic) size is.
- int_19h 4y agoThe problem is that on some platforms, text doesn't quite scale linearly as you increase the point size. Techniques like subpixel antialiasing with pixel-snapping produce shapes that are more readable on low-res screens, but it also causes distortion to letter shapes, and with multiple letters, depending on the exact text and its location, it can add up to amounts significant enough to cause overflow.
- fomine3 4y agoIt's a problem on older GUI platform with HiDPI support, but new WYSIWYG GUI platform should be able to implement it correctly.
- int_19h 4y agoIt's a problem on any platform that wants more readable text on low resolution. The only platform I know of that chose precise text layout over contrast regardless of the resolution is macOS. On Windows, ClearType still behaves as I described above. On Linux, it depends FreeType settings, which you don't know in advance, so you have to assume that it will happen.
- dheera 4y ago> translate the app The way translation is implemented today is horrifying. Likewise for high-DPI. Why are they still using some linear scaling of icons instead of a super-resolution GAN and some caching? Why can't an OS translate a single-language app on the fly using state-of-the-art translation neural nets and using visual attention to capture context? It's almost 2023 ffs, and people are still using some gettext nonsense?
- zubairq 4y agoI'm in the process of making something like VB6 (yazz.com), but which is using Javascript instead of Basic for scripting. I would say that if you look at retool, bubble and many other low code tools then you will see that they are doing the same