by WayneDB · 13y ago · 0 comments
I don't care what you say - I will find a market that I can develop native apps for or I will quit being a developer. That is how much I think HTML/CSS/JS suck for front-end development.
The only thing the web's got going for it is the zero-deployment. Everything else about the web (for apps) is stone-age compared to native platforms.
"I can’t help feeling that we might be better just starting over with a totally new spec."
Agree, 100%. I don't want to use a document platform as an application platform. HTML is fine for documents. Let's have something new for apps please. I don't want to type "5 divs" to have a simple 3-column grid layout. I want to type "grid columns=3".
Genuine question here. We're working in this space and we want to know more about what you feel is lacking. We have our ideas on how things can be improved, but we want to hear specifics from developers like yourself.
1. Abstractions that make sense, that are not built up from hacks, but are core to the platform itself. That is my number one peeve about the web. Like I said in my original post, I want to specify "grid columns=3" instead of "div div div div div".
2. Control. When I build a native app, I have several orders of magnitude more control over the resulting product. Compare to the web and being at the mercy of browser manufacturers. I can access memory, files, TCP, UDP, ICMP. I don't have to break my program up into front-end + server if I don't want to. I don't have to use shims to get rounded corners or drop shadows. I can make a program that runs in your "tray" and receives push notifications without having to setup some complicated server-sided hackery to faux-push to the browser. I can make the computer do whatever my user wants, but not only that - I can do it with ease because I'm in control.
3. Choice of programming language. With native, I have a number of viable choices. (I don't care that anybody else thinks Javascript is great. Relatively, it's not...and besides...I want a choice. I want control! I am a solid Js programmer (was doing it 15 years ago and I haven't let it stagnate - I recently ported Node.js core module system to a completely different, non-v8 engine.)
4. Modularity (an important instance of "Abstractions that make sense"). Most native environments allow the developer to easily modularize commonly used artifacts (code, UI components, images, etc) without sacrificing performance. Compare to the web where it's a real PITA to make anything modular CSS, HTML or Javascript without resorting to using other tools that "transpile" down to CSS, HTML or Javascript - at which point I'm not using the web platform anymore, I'm using something else.
Due to the different behavior of browsers for handling "native" HTML elements (select lists, radio buttons, etc), I think it's a good thing advanced and opinionated constructs like grids are not built in.
HyperTEXT MARKUP Language
HTML is for documents. Some sort of sick, twisted ideology has proclaimed it the all-useful programming language, but I repeat -- HTML is not an all-purpose programming language, the proof is in the name.
I want to deal with arrays, strings, pointers, and variables. I want to get down there with the hardware and control it myself. I want to optimize memory myself.
I want to do the dirty work because I want control over the computer I'm programming for.
Trying to replace C/C++/ObjC/Java/Python with HTML is like trying to replace LaTeX with plain text formatting. It's just way too limited for ~90% of the uses of programmers.
Don't get me wrong, HTML is awesome for documents and has come a long way, but it is no application development platform.
Not when you have <h1> and <body> tags scattered throughout instead of
#include <iostream>
#include <string>
int main()
{
using namespace std;
cout << "Do you honestly think HTML5 is a replacement for C++?\n";
String x;
cin >> x;
cin.ignore();
if ( x = "Yes" )
{
cout << "You probably work for Google. Get out of here!\n";
}
else if ( x = "No" )
{
cout << "It's nice to see that we're on the same page here; HTML is a document editing language first and a programming language 50032th.\n";
}
return 0;
}I think a lot of people conversationally use the term HTML to mean the same thing.