Live data from Hacker News

All Programming Is Web Programming (2009)

blog.codinghorror.com

11–20 of 69 posts

Re: All Programming Is Web Programming (2009)

#11

It's interesting. 12 years have passed, and I still prefer a native (not Electron) desktop app to its web equivalent for practically any task, from writing code to working with spreadsheets to PCB design. Even for such a basic task like word processing I prefer to use a local program rather than a web app.

yeah - unfortunately, it gets harder to find native apps every year...

Re: All Programming Is Web Programming (2009)

#12
I never get why CRUD work is looked down upon by many on this site amongst others. Most applications are a variation on CRUD. A well done CRUD app should be pretty simple, but simplicity is not something that our industry encourages, the interview process often selects for the ability to produce complexity. As a result most CRUD apps (certainly the ones I have inherited) are an over engineered mess.

Re: All Programming Is Web Programming (2009)

#13
post #12

I never get why CRUD work is looked down upon by many on this site amongst others. Most applications are a variation on CRUD. A well done CRUD app should be pretty simple, but simplicity is not something that our industry encourages, the interview process often selects for the ability to produce complexity. As a result most CRUD apps (certainly the ones I have inherited) are an over engineered mess.

It's because people get bored. With CRUD apps, the challenge is (should be) in the domain, wrangling that into a comprehensible shape. The various layers and code should be boring - input, validation, API, business logic, persistence. It's the kinda thing that can already be built using visual programming tools, drag and drop interfaces or a single config file churning out a fully functional CRUD API with all bells and whistles.

But that's boring. I'm a software developer, I want to write code. If my code is too easy, if it's just what it's supposed to do, where's the challenge? I know, let's use a difficult language! I know, I'll take this chunk, this is now mine, I call it a microservice and it's my baby. An overview of the whole architecture? Pfft that's boring. Netflix does it like this, look they have over a hundred microservices, clearly they must be doing something right, right?

Re: All Programming Is Web Programming (2009)

#14
Wow this is a super hostile sentiment, either web or gtfo.

A much less hostile statement that is easier to defend would be "All Programming is Network Programming" - could do an interesting syntax comparison based on what kind of network is in question, but I guess people do that all the time with "monads in other programming languages (than haskell)" kind of posts.

Re: All Programming Is Web Programming (2009)

#15
post #8

Huh, if the C guys were laughed at by the assemblies, the pythonistas by the C guys, I can't wait until the day that something emerges that Starbucks-chugging hipster 'React code-artisans' will be able to laugh at. "Oh, you think you could adequately program a neural interface using Scratch? How quaint "

Low/no code fits.

Re: All Programming Is Web Programming (2009)

#16
post #9

Earlier quoted context omitted.

What's wrong with JS syntax? Seems pretty modern and adequate for what it needs to do

Maybe what it needed to do, but not what people do with it now. There are entirely “enterprise” systems coded in that thing. It’s an human problem, original JS syntax was fine imho.

Personally, I think that the original JS syntax is absolutely horrendous and is in no small part responsible for the bad reputation JS is still shaking off. Modern JS in comparison is an absolute dream.

Re: All Programming Is Web Programming (2009)

#17
The advantage of web applications is that you do not have to install and update them, that they are inherently sandboxed, and that they are not operating system depended. And even those are not universally good things - server down or no internet connection, no application, feature removed in new version, good luck trying to run an old version, and operating system dependencies give way to browser dependencies. And you have turned even the simplest application into a distribute one unless you put in the effort to make it work offline from the browser cache.

Everything else is worse because you are forced to use this single technology stack that the browser offers you. And people are trying to break free of those limitations, WebAssembly, WebUSB, or doing their own rendering into a canvas instead of having a DOM. One size fits all was, is, and will never be true. Are there certain applications that benefit from being web applications? Sure. But is this a panacea? Certainly not.

At some point you browser will just turn into another operating system running on top of your operating system. The success of the current situation is, I think, mostly due to the fact that the web browser was a universally adopted least common denominator for running arbitrary code. You could get all the benefits of web applications without the browser, you could have platform independent binaries, you could download them on demand, you could sandbox them. But you probably would have a hard time to invent those standards and get them universally adopted by all platforms and operating systems.

Re: All Programming Is Web Programming (2009)

#18
post #8

Huh, if the C guys were laughed at by the assemblies, the pythonistas by the C guys, I can't wait until the day that something emerges that Starbucks-chugging hipster 'React code-artisans' will be able to laugh at. "Oh, you think you could adequately program a neural interface using Scratch? How quaint "

Framework fanboys have been comparing writing JavaScript without their stupid framework to writing assembly since jQuery was a thing.

https://news.ycombinator.com/item?id=27486041

https://news.ycombinator.com/item?id=27450431

It doesn’t matter because such comparisons are bullshit posturing by people who are insecurely qualifying their ignorance of how their beloved tools work.

Re: All Programming Is Web Programming (2009)

#19

It's interesting. 12 years have passed, and I still prefer a native (not Electron) desktop app to its web equivalent for practically any task, from writing code to working with spreadsheets to PCB design. Even for such a basic task like word processing I prefer to use a local program rather than a web app.

Every Electron App teaches us a story, often stuff like "time to market" and "we cannot provide stable APIs" and "we don't pay your RAM" and "it is okay that it's slow and laggy".

Re: All Programming Is Web Programming (2009)

#20
post #12

I never get why CRUD work is looked down upon by many on this site amongst others. Most applications are a variation on CRUD. A well done CRUD app should be pretty simple, but simplicity is not something that our industry encourages, the interview process often selects for the ability to produce complexity. As a result most CRUD apps (certainly the ones I have inherited) are an over engineered mess.

It's because people get bored. With CRUD apps, the challenge is (should be) in the domain, wrangling that into a comprehensible shape. The various layers and code should be boring - input, validation, API, business logic, persistence. It's the kinda thing that can already be built using visual programming tools, drag and drop interfaces or a single config file churning out a fully functional CRUD API with all bells a…

I am trying to work out if you are being ironic in your reply or not.

I am a software engineer. My job is to solve problems, not to "write code". It just happens that most of the solutions will involve code. The less code that can be written to solve a problem the better. More code is a liability not an asset.

Post reply on HN