17 ms·
Everything Easy is Hard Again (2018)
- muglug 6y agoPrevious discussion from 2018: https://news.ycombinator.com/item?id=16346039 https://news.ycombinator.com/item?id=16346039
- mikewarot 6y agoThe source for the page is as clear as I expected, which made me happy. I feel the same about programming for applications on PCs... things were simple, then they got complex with the arrival of windows, then simple again with VB6 and Delphi, and now they're a mess again. (Not to mention mobile)
- wcr3 6y agosmart to check the source; thanks for pointing that out.
- muglug 6y agoCustomer needs for most websites basically haven't changed in two decades. Outside of a few complex SPAs doing interesting things, structurally we're building the same things we were building back then (blogs, brochure sites etc) — it's just that the way we're building them has become (optionally) much more complex.
- jacobwilliamroy 6y agoIn my area it seems everybody wants some kind of web app or VPN. In the good old days things like file sharing and inventory management could be done on the LAN but with COVID everybody is scattered all over the place. My clients have this expectation that they'll be able to use any random smartphone to scan a QR-code in the Phillipines and have that magically publish inventory updates to accountants Texas. Everybody wants to bring their own phone or computer. Everyone wants all their data to be accessible through the web. It's chaos I tell you, and a security nightmare to boot. Personally I think of the web as a highway: great place for a billboard, not such a great place to be storing or mutating sensitive information.
- nicbou 6y agoIt's good to remind ourselves that all of this is optional. Most websites could be a simple WordPress do. Many brochure websites should be static. There are benefits to straying from that, but they come at a cost.
- pjmlp 6y agoWhich is why I keep happily doing .NET and Java Web based development with SSR as always, APIs now return REST, GraphQL, gRPC instead of XML-RPC/SOAP, or whatever makes the FE team happy. I know enough of Web FE development to jump in and fix a couple of bugs when needed, and on my own consulting gigs as side job, I only do native desktop development as kind of therapy.
- fpoling 6y ago20 years ago one could assume 1024x800 and it would mostly work. Then smart phones came with small vertical screens and touch input. Then tablets made it necessary to support screen rotation. Then retina displays required to support dpi-aware images. Then dark/light mode came and general color management...
- muglug 6y ago> 20 years ago one could assume 1024x800 and it would mostly work. IE 5 and 6 and Netscape Navigator 4 would all beg to differ. Having made simple websites two decades apart, CSS is much less hassle nowadays.
- papertokyo 6y agoFrank is right, of course. Staying up to date with the tooling, best practices, and user expectations of the web requires an unreasonable amount of attention if making websites is only a small part of your service offering. One reason I prefer frontend libraries like Vue and Svelte is they feel closer to the grain of the web (HTMLesque templates with JS and CSS sprinkled in), and provide a reasonable level of abstraction and magic. The learning curve and paradox of choice is also much easier to navigate than React especially for solo devs who aren't working on a huge app with a team.
- MereInterest 6y agoAnd this is exactly why any of my hobby projects that involve JS are done with plain JS, with as few libraries as possible. I might pull in specific libraries, but I don't want to pull in a giant framework that will be outdated the next time I decide to work on that particular project.
- rectang 6y agoAnother thing I find weird is how bloated static typical site generator tools are. The delivery medium of static HTML is timeless. But the odds that a static site generator with dozens of dependencies will still work N years from now? Grim.
- nanna 6y ago'Typically' meaning...? Jekyll? Gatsby?
- nitrogen 6y agoI have a couple of older static sites (one using Jekyll/Octopress, one using Middleman), and if I ever do a bundle update something is guaranteed to break. Not sure if that's the "bloat" the parent comment is talking about though.
- 6y ago
- hivacruz 6y ago> simply npm your webpack via grunt with vue babel or bower to react asdfjkl;lkdhgxdlciuhw Nice summary. While I understand that yarn was a good thing to integrate frontend dependencies management just like we do it for the backend, Webpack is still a mystery to me. Just trying to add a simple JS library to make it work is a headache sometimes (DataTable with Rails for example).
- BiteCode_dev 6y agoI fought with webpack for years, then ViteJS came out. It works out of the box, is uber fast, support Vue + React and does everything webpack did for me. I stopped thinking about my tooling and could go back to spend those CPU brain cycle on solving my clients problems. Peace of mind. Thanks Evan You.
- 5cott0 6y agoViteJS is nothing short of a revelation. Recently migrated all my webapps from webpack5 to vite and it took considerably less time and effort than migrating from webpack 4 to webpack5 did, just removing babeljs reduced the dependency footprint by orders of magnitude. I just had to change a few filename extensions and even though my apps all use a custom react-like, JSX, css-modules, postcss, tailwindcss, d3.js, etc it just worked, I'm still kind of in shock over it. I'm always the one saying "webpack isn't that bad, stop being lazy" but no longer having so many config files and a 1k line package.json polluting project root is a thing of beauty.
- jwilber 6y agoI encountered the same trauma after building a react site and told myself surely there must be something more simple. Check out parcel! Zero configuration required, just add a couple of commands to a package.json and you’re off.
- rossdavidh 6y agoI think one driver of this cycle is: 1) need for capability that old method doesn't meet, so new tool is made 2) dev working on both simpler and more complex sites, wants everything to use the same tools 3) even sites with simple needs now get done using tools powerful enough to satisfy needs of complex sites 4) experienced dev doesn't see a problem, because they are conversant with those more complex tools, and also don't often get assigned to do simple websites anyway, but anyone doing the (considerably more numerous) simpler websites now is getting their groceries by flying a SpaceX rocket from home to the grocery store. 5) now that websites can do more, and very occasionally do, someone thinks of something else they want a website to do, and the cycle repeats
- ruffianeo 6y agoI think you forgot one driver, which IMHO is a major one: Imagine you are just getting into the business and are confronted with complexities, which would let you come to a grinding halt for the next 6 months until you have at least a foggy idea of what is going on. (Angular, Elm, PHP, React, ...) And once you worked through your initial list of "need to know", 5 more have popped up, like a hydra where chopping off heads just results in... more heads staring at you. So, in this situation, it is quite reasonable to try and "get ahead of the curve" instead of lagging behind the ever changing world. You decide to write your own framework (based on your current and imperfect understanding), ignore what is already out there and pass the ball to anyone else. They have to look what you did now and read your stuff and scratch their heads, while you can be productive. And it feels good. You feel like a messiah. You can publish even a book, maybe and hold some enlightened talks. This is the result. New generations are literally forced into re-inventing the wheel to even stand a chance at getting something done. And its not only in web design/javascript/web-assembly/call-it-how-you-will. The same happened e.g. in the Microsoft ecosystem (desktop programming). MFC -> ATL -> VB6 -> .NET WinForms -> XAML -> Silverlight and back to XAML -> .NET core -> however it will go on (I detached at that point, having run 'too many laps'). And since someone mentioned Linux... what is the canonical way to write GUI apps in Linux these days? Tcl/Tk? xlib? xcb?, SDL2, wayland over X? Gtk, that huge google framework? QT? SDL2? Motif? Pure wayland? Also a huge mess and people "innovating" just to be ahead of the curve. Yes, there are always reasons, if you need them to be...
- smoldesu 6y agoThe delineation of this argument is what made me switch to Linux. On Windows, things that should have been getting easy were getting harder for me: software management was getting worse, updates were getting worse, and everything that should "just work", just wouldn't. My experience on MacOS was just as bad, with all of the 32-bit apps I used gone in the wind. Now the 64-bit apps are up on the chopping block, and I had to look for other options. The learning curve for Linux was larger than Windows or MacOS, but I only learned the truth. By cutting away abstraction, I can actually understand what my system is doing, and be a better citizen of my operating system. Linux is arranged masterfully, and makes the Windows filesystem look like a joke in comparison. It's also faster than any of the Macs I own, with the freedom to plug in a modern Nvidia GPU and play whatever games I want.
- eliasbagley 6y agoI would love to to use Linix as my daily driver, but keep needing to go back to Windows for Ableton and gaming.
- smoldesu 6y agoI switched to Bitwig, which has a native version for Linux. The workflow is very similar to Ableton Live, with a little bit of extra configuration. As for gaming, it's a case-by-case situation, but Valve Proton is good enough for 80% of the games I like.
- eliasbagley 6y agoYeah I've heard that Bitwig could be a good solution, and is made by the original developers of Ableton. But what about 3rd party plugins? As far as I understand, most of these won't work on Linux either.
- enriquto 6y agoYou are spot on. And now, try OpenBSD. It's the next step in removing useless abstractions.
- megameter 6y agoPhrases like "the content is what is important" come to mind. The whole project of graphic design has the same kind of abyssal qualities as other arts with a technical element - you can always go deeper, more specific. And in a competitive market it's really tempting to sell yourself on one-upping the techniques of others. With a computer in the mix, you can just add specification without end and it will soak everything up like a sponge. But each layer of that you add gets a little farther away from "creative medium" and a little more towards "bells and whistles production". The essence of it comes from the content, and this is true of everything on the Web too, despite all the interference on and around the platform. So it's more like a case of modern development being "you have to describe the medium you want to work within" because the base layers are this morass of vocabulary that isn't conceptually coherent.
- riskable 6y ago> "the content is what is important" The only problem there is that users have come to expect certain UI elements on any given web page and those things are far beyond "content". For example, let's say you want to allow comments on articles. Now you have opened an enormous can of worms by requiring logins, storing of passwords (hashes! with salts! using modern algorithms!), permissions management, password reset mechanisms, collection of emails (for password reset), and personal data. You can handle all that the old fashioned way and implement it yourself or you can look into the great wild of the Internet to see what solutions already exist. That's where the rabbit hole begins! Now you've got a back-end OAuth infrastructure supporting your website. You're using a login module that you were able to "easily" install via npm. You used an oauth2 module in your back end and everything seems to work fine except now your JS code is getting a little crazy with all the "time saving" npm stuff you're using so you start to look at "bundlers" like WebPack... Welcome to hell, my friend. This is modern "minimal" web development. Oh but perhaps you could use a static site generator instead! Surely someone has created the perfect Markdown/ReStructuredText tool for generating your perfect web page that has all the features you need! There happens to be one that's close. It does everything you need except that one little thing. So you reach into the npm bucket... Then you end up having to deal with bundlers again. It never ends!
- devchix 6y agoAt some point in my organization's press toward Ansible, I came to the realization that Ansible the product is yet another layer of abstraction that is there for its own sake, and of dubious value. I converted a simple script to patch stuff, something that is trivial to write and run, and the yum module behaves different enough from the command-line yum that I have to learn a different way to get and parse the output. AWS logs also behave the same way, impossible to take up and read, quickly, trivially. Why do people read logs? To find out what happened, and do so quickly. Someone will argue that logs are so verbose we need to make them machine-friendly vs. people-friendly, so we can make tools to process them. Somewhere in the past 5 years we've gone toward making things more tool-friendly that humans can no longer interact with them in meaningful way. Some time in the future when something else supplants Ansible, shell will still be there, and still works. Meanwhile, I crib from Ansible docs and StackOverflow just to get things to work the way it did, and the pay-off is ... what exactly? Edited to add: Years ago Solaris10 converted the rc boot scripts to what was systemd precursor, SMF. I drank the koolaid, yes! we can build dependencies now, we have service-level kernel events now! I can get rid of daemons and watchdog scripts now! The innards of SMF was indecipherable XML, dependencies grew, you could no longer find a good system view when you ask SMF, and you couldn't easily find and fix what's wrong with the service file. At the time, it was designed to be un-messed-around-with by keyboard-happy warrior greybeard sysadmins, judged to be a source of instability and inconsistency.
- commandlinefan 6y ago> another layer of abstraction that is there for its own sake, and of dubious value Wait until you see Spring Boot.
- honkycat 6y agoI agree ansible is bad, but it is NOT the state of the art. Honestly its kind-of old and dead at this point replaced by stuff like CDKs. Programming in YAML sucks. YAML based solutions will always come up short because you cannot develop proper abstractions so you end up with a big bowl of copy-pasta amd indecipherable work-arounds. IMO the modern web is all based around adding types to systems because we've realized the extra toil types require make large systems have fewer bugs and more maintainable.
- commandlinefan 6y agoCoupled with the expectation that those same things should take less time than they used to and be 100% predictable.
- ur-whale 6y agoI'm going to get downvoted into the the ground for this, but I think it has to be said: Front-end infrastructure and tools design unfortunately does not attract the cream of the CS graduate crop (and even less so Front-End design work). For some reason, cream of the crop CS graduates usually veer towards systems, compiler, DB, back-end infra, language design, back-end, ML, etc ... But not front-end. The net result: the front-end ecosystem looks like the first BASIC program written by a 10 year-old who just got his first computer: it's a mess, it's unprincipled, it's grown organically, it's driven by fashion and immediate business needs, it's an unmaintainable tarpit, and it's increasingly a nightmare to build with. I'm just ranting, I don't know what the solution is, but I gotta say: the WEB in 2021 is in a very sorry state. [EDIT]: and if I try to think of a root cause for this state of affairs, I believe a lot of the blame can be attributed to Javascript, a language which sort of gave the "slapped together quickly because we need something now, damned be the warts" tone for the entire ecosystem.
- jayd16 6y agoEh, I think it has more to do with the fact the front end is the most visible to the product people. You get a lot of poor technical decisions to bend to the whims of the product design. Backend is usually free to do as they see fit.
- Sevii 6y agoYep, I decided to focus on backend to avoid dealing with requests to move pixels around arbitrarily.
- reader_mode 6y agoFrontend has the problem of being stuck with JavaScript and DOM, even in the modern iterations it's a patchwork structure built on top of a cesspool - no wonder everything smells like shit. Agreed about the tooling, npm and node were basically hacks everyone kept building on - there is zero architecture behind most of it.
- crazygringo 6y agoRegardless of whether or not your observation about CS graduates is true, I don't think that has anything to do with it. The difference is that with the backend, you have choice over what technologies to use. There's competition between languages and ecosystems, so a better more elegant one can replace a worse crufty one. But with the frontend, there is no competition. You have to use HTML, CSS, and (roughly) JavaScript. If, when the web had started, it had been based on some kind of primitive bytecode for rendering, that HTML+CSS+JavaScript compiled to, then we could have had language competition and better technologies today. But that's not what happened. Front-end is stuck with an old, crufty tech stack that simply can't ever be replaced. Back-end doesn't suffer from that.
- mauvehaus 6y agoConfession: as a recovering programmer who made a career change to non-programming, it took at most 30 minutes to say "fuck it" and go with Squarespace. I've never been on the web side of things, but I knew enough HTML in the early aughts to put up a basic informational website. After digging in to some sites I admired, I decided that it was too much distraction from my actual work to roll my own. Granted some of this complexity comes from the legitimate need to support mobile gracefully, but damn are there layers upon layers upon yet more layers of stuff just to get some pictures to show up nicely with some text and look consistent across devices. Props to everyone who does this for reals and does a good job achieving that consistency. For my money, I'll hire it out.
- volkk 6y agowhat kind of work did you get into after programming out of curiosity? rare to see people go the other way
- inglor_cz 6y agoNot the OP, but I left professional programming to become a writer (in Czech, not in English; pardon my mistakes). It actually has something in common, you still write structured text for living, though your target audience are now people, not machines. Some readers commented that they find my style clear and understandable; maybe it is a carry-over from programming, where you cannot be ambiguous. But I find writing for people much more enjoyable than writing for computers. As a computer programmer, you mostly receive negative feedback: something stopped working and the users are often angry or frustrated. As a writer for people, you receive more than a few thank-you e-mails from your readers, which brighten your day.
- jdkoeck 6y agoHi, I'm really curious, what do you write exactly for a living? Do you write fiction books, non-fiction books, blog posts, technical documentation?
- 6y ago
- cosmodisk 6y agoI often feel a lot of things became more complex for the sake of it. You'd think by now it'd be just a press of a button and your software is deployed and the clients can start using it,but no, that'd be too easy. Instead,even getting a simple WordPress website up to speed requires endless list of plugins,some undocumented configurations and CSS overwrites in random places. And it just gets worse and worse. When you need to spend a few hours just to get the development environment somehow ready before first line of code is written, you know things aren't going the right direction
- jb3689 6y agoOn the other hand the one button experience is as far as it has ever been. I just pushed up a website on Amplify in a few clicks, and the only reason it isn’t less is that some people want options.
- 5cott0 6y agoNo, no it is not. It's somewhat amusing to see people complain about the supposedly increasing complexity of web development. Sorry-not-sorry it's not that bad or even that complex. In fact things are far easier and less complex then they were just a few years ago and improvements continue at a rapid pace (modern browser module support, vitejS, ESbuild). I don't even need to use babeljs anymore whereas just a few years ago it would have been required for cross browser support. Developers as a cohort love to feel themselves and ego trip about how smart they are until they hit something they don't understand immediately and suddenly it's too complex and they have to write 5k words bemoaning webpack configs as the worst thing ever. I think the problem is actually the opposite and things are way too easy now because, like anything in life, effectively simple web development requires self discipline and simplifying abstractions like React make it too easy to just throw shit at the wall and see if it resembles a working webapp and then I end up having to maintain a lot of seemingly working apps that are an absolute mess of tightly coupled spaghetti code with no clear architectural design whatsoever but product thinks it works because the side effects show up at the right time.
- winphone1974 6y agoBy what standard are you saying things are easier? Certainty not less complexity, abstraction, volume of code, number of moving pieces, raTe of change or configuration. If you don't understand how the foundational technologies work and don't care to learn then things may indeed seem easier. If you have 15+ years of experience and seek to understand today's technology at the same level as when you first learned, things are definitely harder.
- TheCoelacanth 6y agoIt's easier if you want to achieve the same things. Our expectations have just increased even faster than things became easier.
- 5cott0 6y agoIE7
- vbsteven 6y ago
- kgin 6y agoThe simple page you could make 20 years ago is the simple page you can make today. With a few minor tweaks, it will work as well as it did 20 years ago. If you want to make a complex web app today, that's easier than it was 20 years ago. The tools are infinitely better. If for some reason you decide to use the tools meant for complex web apps to make your simple page, you're going to feel like everything has gone horribly wrong. But why are you doing that?
- rossdavidh 6y agoAmen. If a static web page does what you need, one should not be unwilling to just make a static web page.
- amelius 6y agoOne tiny little extra requirement from the client could make you regret that. Clients don't care about what tools you use. They care more about flexibility.
- taeric 6y agoI don't know if I really agree. I want to. But flash was supported by much better tooling than what I see in most spots today. Dreamweaver, for all the hate we have it, seems laughable simple compared to common frameworks today.
- danShumway 6y agoYou can still use your old copy of Dreamweaver if you really want to. I think Adobe still sells new versions too. I wouldn't advise using website builders in general (Dreamweaver was always kind of sketch), and I certainly wouldn't advise using Adobe software in general (they're an awful company with overpriced products), but I can't imagine modern Dreamweaver has gotten particularly worse than it was before. You can't use Flash, that's fair. But my goodness, you wouldn't want to. The small amount of incidental complexity we've gained from forcing pizza shops to stop laying out their interface in Flash is worth it. And outside of the plugins that were absolutely the correct decision to remove, everything else you want to use is still available. What we're getting at is that with a few exceptions (HTTPS, Java plugins, Flash), virtually all of the old APIs that you used to use on the web are still supported and are the exact same to use, if not better. This is not the case everywhere with every language and platform. But the web has done a reasonably good job at being backwards compatible. You're worried about deploy processes, and you want to deploy a free site on Netlify? You don't need to learn Git, you can hand-code your site in static HTML or generate it using any program you want and just upload it as a zipped folder. Your Dreamweaver builds will still run today. Font faces? Still work, you don't need to worry about FOUT. You miss table layouts? Hackernews is using that crud right now. The complexity around build tools, processes, and frameworks is all optional. The browser doesn't care. If you're missing the old experience of building websites, then just do that. I maintain https://anewdigitalmanifesto.com https://anewdigitalmanifesto.com. It is hand-coded HTML that I wrote in a text editor. It has no Javascript, no build process, no minification, nothing. And it works fine; no one has ever complained about it to me. If you're adding complexity to your engineering process and it's making your job harder instead of easier, then take a step back and ask yourself why you're adding that complexity in the first place. Is it solving a problem? Or do you just feel like you need to do things "properly" based on the current development style? Because again, the browser doesn't care.
- geerlingguy 6y agoI have gone back to plain CSS files and dropping Sass and other preprocessing techniques just because the past decade of managing build chains and dependencies to marginally improve writing styles that change minimally between redesigns has soured me on more complex build processes. By the time you actually do a redesign that would take advantage of the fact you use mixins, css variables, etc., the whole design language changes, and meanwhile you'll have to change preprocessors anyways.
- jancsika 6y ago> For instance, last week I was reading a post about the benefits of not using stylesheets and instead having inline styles for everything. Back in the day, this probably meant one of a handful of things: * manually writing all the HTML and putting the inline styles there * some kind of PHP thingy where you would be essentially rolling your own CSS variables * some kind of Perl thingy where a verySmart dev is trying to maintain an entire CMS using only regexes Today, the user could be "having inline styles" in one of 10,000 frameworks-- Vue thingies, React thingies, or perhaps a build flag in a Javascript thingy that spits out a CSS thingy...
- vmception 6y agoEverything this author complains about has a purpose. They don't have to use compiled, minified and obfuscated css, vectorized graphics, and user-agent detected custom fonts but if you don't, then you are unoptimized for other realities websites in the past used system fonts, you can still do that. websites in the past used low quality raster images, or high quality raster images. those websites don't look good at higher resolutions. conditional logic to fix those sites is messy. you can still make sites like that.
- mk81 6y agoTLDR: there is not one right way to do things and IQ follows a normal distribution.
- franklyt 6y agoBuilding a non-trivial website in React with halfway decent design practices is 100000x easier than doing so in raw html/css/jQuery (for argument, the vanilla API back in the day was impossible to use).
- tiborsaas 6y agoI'm wondering what he could have learned in the same time it took him to write this article. I get it, it's harder to navigate the vast jungle of tools and technologies. I also remember 2001 when my only reference to HTML was the help files of Home Site 4.0. We have it much easier today.
- recursivedoubts 6y ago> simply npm your webpack via grunt with vue babel or bower to react asdfjkl;lkdhgxdlciuhw I am sorry to spam, but this is exactly the problem intercooler.js and now htmx were designed to solve: https://intercoolerjs.org/2016/10/05/how-it-feels-to-learn-intercooler-in-2016.html https://intercoolerjs.org/2016/10/05/how-it-feels-to-learn-i... 90+% of the websites being built (and 90%+ of 99% of the websites being built) could use a much simpler, traditional HTML-oriented REST-ful model at a fraction of the complexity of frameworks being used today.
- red_trumpet 6y agoI think the example of table / grid layout is a weak one. Table layouts were not bad because of what they produced, but because html tables are semantically different, and shouldn't be used for layouts. But they still solved the same problem that grid layouts solve.
- m463 6y ago> Things have gotten messy, haven’t they? I have to give him credit though, his web page has zero javascript.
- divan 6y agoWithout clicking the link and reading comments – let me guess: it's about JS/HTML/CSS stack, right?
- dmje 6y agoPotentially controversial view: it really doesn't matter how you do it and it probably never did. Dya think your audience knows if you're using tables or grid or flexbox or php or React or Flash or Perl or a huge image that looks like a web layout? Nope. If it works in a reasonable way, they're probably happy.
- bigwheeler 6y ago“I wonder if I have twenty years of experience making websites, or if it is really five years of experience, repeated four times.” This sums up how I feel about my entire career as eloquently as possible.
- elias94 6y agoWhat I found frustrating is how fast a front-end project is getting old. Taking a NPM+Framework project of 9 months old I often have a low change of install-run at the first time. Always there's an update, an incompatibility, or something that brakes the build process and I need a couple of hours to fix it again. Is not possible to work like this in the long run. Front-end projects are investments of time and money and I want them to be durable and maintainable for a long period. P.S. I started digging into clojurescript/webassembly for this reason
- danShumway 6y agoThere's a dirty secret that's fallen out of favor in the Node community, but that helps dramatically with this problem: it is usually a good idea to vendor dependencies for front-end projects (basically any project you're making that isn't being published to NPM). The trick with this is you have to avoid dependencies that compile C code or native binaries as part of their installation process, since those binaries might not be portable. I try when possible to avoid anything that's using node-gyp. But if you are vendoring dependencies and they're compatible with the system you're compiling on, then you will never need to worry about libraries breaking or changing underneath your nose. You will still need to worry about security vulnerabilities, but that's just the case with all software. At the very least, 10 years from now your project will still compile.
- WiseWeasel 6y agoBy “vendoring” dependencies, I’m guessing you are talking about pulling them out of node_modules (into a js/vendor dir), and checking them into your repo, repeating the process every time you want to update. I will make an offering to Cthulhu if it’ll ensure we won't be using webpack and node 10 years from now in order to build those old snapshots without considerable effort.
- filipo 6y agoNot a node dev myself but why not simply reference dependencies with fixed version? According to semver (that is probably what most node projects use anyway), you are free to use latest minor and patch revisions and leave the major fixed. Shouldn‘t this prevent most compatibility problems?
- gunshowmo 6y agoI definitely understand the frustration towards the growing ecosystem of web app technologies, but I think people really disregard the necessity of the complexity. There are certain things that basic HTML/CSS simply cannot do, or if it can, does so in a very hacky way. For basic websites, you can absolutely get away with more basic templating, but as soon as you enter the territory of clean looking UI components that are both visibly appealing and functional, you are basically required to implement the complexity somewhere the choice of framework then is just determining how you want to structure that complexity. When you try to make a performant web application with a lot of interconnected, moving parts, the reason for a lot of the "bloat" becomes very apparent.
- d3ntb3ev1l 6y agoAt what level does “clean looking ui” overtake unnecessary complexity
- gunshowmo 6y agoSometimes clean looking UI requires complexity. If I need to let a user sort a list of items, is it more UI/UX friendly to make them press a button multiple times until an item is in the right place, or is it better to let them click and drag the item to the right part of the list? The latter requires a lot more work but makes the experience a lot smoother.
- waynesonfire 6y agoYou have one other option, the most difficult of all, to eliminate the use case. Have you looked at a modern airplane? Have you followed from year to year the evolution of its lines? Have you ever thought, not only about the airplane but about whatever man builds, that all of man's industrial efforts, all his computations and calculations, all the nights spent over working draughts and blueprints, invariably culminate in the production of a thing whose sole and guiding principle is the ultimate principle of simplicity? It is as if there were a natural law which ordained that to achieve this end, to refine the curve of a piece of furniture, or a ship's keel, or the fuselage of an airplane, until gradually it partakes of the elementary purity of the curve of a human breast or shoulder, there must be the experimentation of several generations of craftsmen. In anything at all, perfection is finally attained not when there is no longer anything to add, but when there is no longer anything to take away, when a body has been stripped down to its nakedness. -Antoine de Saint Exupéry
- benp84 6y agoI wonder how much of the problem here is solo developers and big tech developers exchanging advice in the same places. As a solo dev I relate to this frustration with over-engineering but I can imagine its benefits for big teams.
- deleted 6y ago[deleted]
- digitist 6y agoSo much shilling for Squarespace on here since the S1
- irrational 6y ago> setting up the system and maintaining it seemed to be more effort for an experienced person on a small project than doing the work without it. I love articles like this that put into words what I am feeling but am not articulate enough to put into my own words.
- mmphosis 6y agoHTML without all the warts and boilerplate. No cascading style-sheet. No ribbon. No hamburger menu. No drop downs. No frames. No cruddy forms, no JavaScript, No modes, No show codes. Just live layout and editing with plain, bold, italics, links, underline, strikeout, and text formatting that I used to see built into pretty much every Application on the Mac. The "browser" needs to be a full fledged editor. It needs to provide sensible defaults and guides for layout of text, charts, graphics, animation, and interaction. We had all this before the web. The good parts of retro we want. The bad parts of the web, we can do without.
- desktopninja 6y agoSlow is smooth. Smooth is fast!
- cutler 6y agoFolks, just say NO! NO! to React, Vue, Angular or whatever is your SPA poison. NO! to Webbpack or whatever JS bundler. NO! to AWS, GCP and Azure. NO! to Docker. ABSOLUTELY NO! to Kubernetes. Does anyone using React or Angular remember what their use cases were when they were invented? Face ****ing Book and GMail, not your crappy little website which ran fine for years with only a splash of jQuery. Kubernetes was designed for massive fleets of servers, not your tiny little AWS instance. Just say NO! Even if your page occasionally has to do a full refresh - SO ****ing WHAT!? Are you really going to give-up all your family time for the marginal benefit of having your almost static website update pages without a refresh? If you really must there's now a version of Hotwire for pretty much every major web framework out there so you can still render server-side. Say YES! to raw ES6, Hotwire and judicious use of jQuery. With SPA's the motto is YAGNI unless you're Shopify.
- boraoztunc 6y ago“I had fifteen years of experience designing for web clients, she had one year, and yet some how, we were in the same situation: we enjoyed the work, but were utterly confused and overwhelmed by the rapidly increasing complexity of it all. What the hell happened? (That’s a rhetorical question, of course.)” Exactly how I feel these days.
- varispeed 6y agoThere used to be a great system called Rancher where you could self-host quite complex applications across multiple servers. It was just perfect and very easy to use. Unfortunately they decided to embrace Kubernetes and it became too complex and not longer useful. I wish they continued to develop the old version.
- seanpquig 6y agoAs someone who only does a frontend/full-stack project once a year or so, I do feel like some of this tooling mess is getting better. On previous projects I remember the frustration of futzing with Webpack and Redux. Now it seems like React has matured and simplified nicely and Next JS is a beautiful framework with a great balance of flexibility + power with some reliable guardrails to work within and boostrap a basic React project.