Hacker News new | ask | show | jobs
by choeger 1670 days ago
Which step in that process could not be automated? What's so fucking difficult on either writing a Cross-Platform UI or using a Cross-Platform framework?

<rant>

Is it not instead the case that today's hipster developers simply want to ignore that platforms exist beside their fancy McBooks? Is it not the case that today's developers prefer a bizarre interpreted untyped language simply because that's what they learned for building websites and they don't want to put up the effort to understand what a type system is? Is it not true that the same developers pull in dependencies reflexivly and never consider long-term maintenance, let alone such weird concepts like supply chain security? And finally did not some hip leaders invent the microservice architecture to cater to these idiots? Because it's nowadays simpler to have a huge, inefficient, pile of services that hides all complexity in the communication between these services than to have one well-designed, efficient system?

</rant>

Sorry for the rant, but sometimes I feel like the industry is actually regressing because many developers are simply lazy morons that hide behind buzzwords.

4 comments

Please suggest a cross platform framework that doesn't come with accessibility issues, that also allows you to create as rich ui's like what you can do in a browser, and without various licenses that restrict what you can do with your code? Something that supports Android, iOS, Linux, Windows and MacOS.
I feel that it's cheating here to include android and ios in this list, since so much stuff that is developed either:

  * is only for those two (and sometimes only one of those) platforms

  * the preferred "version" on those platforms in an app, rather than web-based 
It's clear from the scope of the mobile app market that there's a huge marketplace for a kind of application that essentially never existed on desktops. It seems a little bold to insist that the same x-platform toolkit must service mobile and desktop contexts, when so much is different between them, in particular display size and interaction style. Even more so when the evidence seems to be that not even the web has really managed to do this.
And yet HTML+CSS+JS which is so hated for making applications handles the use case of working across mobile and desktop almost perfectly. Maybe it's not just because we don't want to learn real programming like the grandparent post insinuated and instead a perfectly viable solution to the problem at hand.
If it is handled so perfectly by web tech, why do mobile apps exist?
Easier to track you.
You are probably looking for Qt.
Doesn't fit the part about licenses that restrict what you can do with your code:

"Qt for Application Development is dual-licensed under commercial and open source licenses. The commercial Qt license gives you the full rights to create and distribute software on your own terms without any open source license obligations." https://www.qt.io/licensing/

One of the "open source" licenses that it is under is LGPL, you can do whatever you want with your code. (Although this does not mean that you should, please avoid publishing closed source software)
It's not a bad suggestion, but it still doesn't satisfy the requirement. You can't put it all in a single executable if that is what you want
You can, as long as you give the user the ability to replace the library. Such as by providing .o files.
> What's so fucking difficult on either writing a Cross-Platform UI or using a Cross-Platform framework?

It's been a long time since I used a cross-platform framework so maybe things have gotten better but what used to happen was that I'd run across something in them that didn't work right and then I'd have to do one of:

1. Just not use that in my application,

2. Implement that thing outside the framework which required me to (1) know how to do that thing natively and (2) figure out how to make my implementation work with the rest of the app that was using the framework, or

3. Figure out how to fix the bug in the framework which required me to (1) dive into the framework's internals and (2) probably required me to know how to do the thing natively.

Framework internals are complicated. This complexity is expected--when you are writing a native application you only need the complexity that is inherent in doing whatever it is that application is doing whereas a framework has to be flexible and general enough to serve the needs of a wide variety of applications.

If the framework is going to make me dive into its internals to get it to work there is a good chance that the total effort of making my app run on two or three platforms via the framework will be more than writing separate native apps for those platforms.

Many developers in the industry have simply realized that the flexibility of html/css/js is simply unmatched by any other technology out there. Nothing else out there has been subjected to such extreme levels of scrutiny the web has. Nothing. Afaik, even the Dragon capsules use it for the UI layer.

But since you're such a boi genius, make something that can match and get ahead of it and i'm sure everyone will jump on your boat. Until then, your opinion will remain objectively useless.

Pyramids were also built with a lot of effort. But in the end it was a pile of stones. Architecture was created when labor and material saving technology like the arch was invented. We are in the pyramid phase with the web.
I understand what you are trying to say but you could not have picked a worst example in your analogy. I mean an arch in the end will also be a pile of stones. On top of that we have no idea how the pyramids were made, their precise dimensions and alignment would be extremely hard to replicate using modern technology.

I say we are the arch phase of the web, we understand the arch and it has served us well and it does save a little bit on materials. What we want to do is create bigger and better engineered structures like the pyramids.

Well since you know what phase we're in, and that we're in a phase even, then surely you must know what and when the revolution is. So cut the chatter and get us there. Why waste time?
Buzzwords like type system?