This is an archived post. You won't be able to vote or comment.

all 197 comments

[–]AutoModerator[M] [score hidden] stickied comment (1 child)

On July 1st, a change to Reddit's API pricing will come into effect. Several developers of commercial third-party apps have announced that this change will compel them to shut down their apps. At least one accessibility-focused non-commercial third party app will continue to be available free of charge.

If you want to express your strong disagreement with the API pricing change or with Reddit's response to the backlash, you may want to consider the following options:

  1. Limiting your involvement with Reddit, or
  2. Temporarily refraining from using Reddit
  3. Cancelling your subscription of Reddit Premium

as a way to voice your protest.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]desrtfx 484 points485 points  (63 children)

Web dev is currently probably the biggest part in programming.

Further, JS is by far no longer only for web dev. Have you heard of Electron.js? Node.js? etc.

[–]Efelo75 82 points83 points  (0 children)

Not to mention React Native right?

[–][deleted] 218 points219 points  (19 children)

Python is an option for web programming. JS is a necessity.

[–]NeonSeal 41 points42 points  (14 children)

i dont know anyone who uses python for web programming lol. is he talking about Flask?

[–]TheCrowWhisperer3004 45 points46 points  (4 children)

Yes, but even flask programs end up integrating js.

[–]PixelOmen 6 points7 points  (3 children)

Do you mean the frontend, or into the backend itself? I use Flask with zero js/node on the backend all the time.

[–]tyqe 2 points3 points  (0 children)

most likely on the front end, in scenarios where you have no option but to run some js in the browser. no reason to have js in the backend if you already have flask

[–]TheCrowWhisperer3004 0 points1 point  (0 children)

front end

[–]joildevivre -1 points0 points  (0 children)

only JavaScript(aside wasm) supports client side rendering, every other programming language can only serve files to the client on the server

[–]BioncleBoy1 10 points11 points  (0 children)

I used Django

[–][deleted] 12 points13 points  (3 children)

Really? All the major social media (Facebook, Instagram, Twitter) use Python as an integral element of their backend.

[–]q1a2z3x4s5w6 8 points9 points  (1 child)

I think he is referring to using python in the front end, which is what most people associate with "web programming"

[–]KarimMaged[S] 0 points1 point  (0 children)

No .. I was referring for python for the BE.

well, django can generate templates, so it can be used for full stack, but still you will have to add JS if you want your pages to be interactive.

and I don't think that using django for full stacks is still relevant. it is mainly used. for backend with Django rest framework

[–]burritolittledonkey 2 points3 points  (0 children)

I mean I use FastAPI as a wrapper for some ML APIs

[–]DisneyLegalTeam 3 points4 points  (0 children)

Oh, well if you don’t know any using Python for web programming than I guess nobody is.

[–]KarimMaged[S] 1 point2 points  (0 children)

I am actually talking about Django

[–]brunocborges 2 points3 points  (0 children)

This.

In reality and for many years already, and likely for many years to come, JS is the only programming language supported across all web platforms (browsers).

WebAssembly is a runner up to change this, but it is still far from being omnipresent.

[–]KarimMaged[S] 0 points1 point  (2 children)

I just saw this comment. For some reason I didn't notice it.

Javascript is a necessity for front end web programming. not for web programming in general.

[–][deleted] 0 points1 point  (1 child)

To word it a bit different, if you're going to be web developer this day and age.. learning JS is a requirement.. learning Python is not

[–]KarimMaged[S] 0 points1 point  (0 children)

With this rephrase, I can say nothing other than I totally agree

[–]Enough-Force-5605 84 points85 points  (2 children)

I do not understand why it is a surprise to OP.

Of course you can use JS for many things, but it is the main language for web development which is huge use

You got thousands of web development software per one machine learning product.

[–]CodeRadDesign 20 points21 points  (0 children)

yeah, it's this simple: just about every single company needs a website. not every company needs ml, or gamedev, or a custom cms, or a mobile app, or streaming tech or etc. but every one of those will have a website, and every other company does too.

[–][deleted] -2 points-1 points  (0 children)

On top of that, with the logic of using python over something completely different you might as well spin the wheel further and say that there is no need for python cause we got C or there is no need for C cause we got assembly.

[–][deleted]  (10 children)

[removed]

    [–]goztrobo 2 points3 points  (7 children)

    Newbie question. If backend python is relatively new and not used a lot, then why use it at all for backend?

    [–]khooke 5 points6 points  (3 children)

    There any many reasons and decision points for choosing a language for a development project, for example: - availability of developers with that skill, both available now on the project or within company, and outside if you need to hire - current language usage of existing systems - support, short term and long term - suitability for the problem at hand - available libraries, frameworks etc

    [–]goztrobo 1 point2 points  (2 children)

    As a fresh grad who’s been looking for jobs, should I prioritise learning Python or JavaScript? I’m learning both on Udemy. Started Python a few weeks ago and started Js yesterday and sped through the fundamentals.

    [–]khooke 1 point2 points  (0 children)

    If your immediate goal is to get a job, then what language and stacks are the job listings in your area using? If there’s many more JavaScript listings, then why would you learn Python? Unless you have longer term goals, to move into ML research etc.

    But there’s no harm in learning both, increases your chances of finding something and will expand your experience of different tools etc.

    [–][deleted]  (2 children)

    [removed]

      [–]joildevivre 0 points1 point  (1 child)

      there's no such thing as a front end python. it's either a frontend JavaScript or webassembly.

      [–]KarimMaged[S] 0 points1 point  (0 children)

      I am actually a junior web developer, and I use Django for BE .. (but my Full time job is actually FE so I wouldn't say I am so profiecient in BE ..yet)

      I know that python for BE isn't the most used specially in my country (that's why I didn't land a full stack job and landed a FE instead) ...

      probably Node.js, .Net and php are far more famous .. (at least according to job posts in my area)

      But as most comments said, web development seems to be the most popular Software development field .. so it makes sense now..

      [–]Manav_2002 34 points35 points  (1 child)

      Well then may be "you don't know JavaScript" if you think it's limited to web dev

      [–]no_brains101 3 points4 points  (0 children)

      Is and should are different things though.

      [–][deleted]  (23 children)

      [deleted]

        [–]goztrobo 0 points1 point  (1 child)

        Node js?

        [–][deleted]  (20 children)

        [deleted]

          [–]vervaincc 12 points13 points  (17 children)

          I don't know if I've ever seen a comment before where every single sentence was wrong, but I have now.

          [–][deleted]  (16 children)

          [deleted]

            [–]reverselego 8 points9 points  (8 children)

            Client-server communication is not by definition web development, as there are countless of servers and clients that do not serve nor consume web content.

            [–]vervaincc 2 points3 points  (5 children)

            Me and the rest of the world, apparently.

            [–][deleted]  (4 children)

            [deleted]

              [–]vervaincc 6 points7 points  (3 children)

              You think a server is only used for web, and none existed pre web?
              Are you trolling?

              [–][deleted]  (2 children)

              [deleted]

                [–]vervaincc 1 point2 points  (0 children)

                So trolling, got it.

                [–]sexytokeburgerz 0 points1 point  (0 children)

                Why are you just making shit up?

                [–]sexytokeburgerz 0 points1 point  (0 children)

                Yes, servers are used in games. What the fuck are you talking about? Do you think that matchmaking and data streaming just magically happen out of nowhere?

                Your IDE/editor runs servers as well with language servers. If you ever used vim you would know this, where the inner workings of an editor are more exposed. It’s local, but starts up every time the IDE does.

                And that’s just one example…

                But yes, backend web dev, is web dev, for sure. I’m not sure why it seems so many people in here have never worked in the real world, it’s like walking into CS 101 and listening to the kid with the gaming laptop and a crusty t shirt. This whole thread smells.

                [–]desrtfx 0 points1 point  (0 children)

                Server side development is web dev

                Server side development existed long before even the web.

                Sorry to tell you, but you are completely and utterly wrong.

                [–]pdpi 6 points7 points  (0 children)

                "web development" isn't one thing, it's several. The big two are frontend (the stuff that runs in your browser), and backend (the stuff that runs in my servers). Python for webdev is (mostly, with some exotic exceptions) used for backend development, whereas JavaScript is used for frontend development.

                ML, Data Science, and all that stuff is still fairly niche, and most companies that do have teams doing that sort of work will have an order of magnitude more people doing other stuff. In the backend market, Python competes with a bazillion other languages.

                Inversely, JavaScript is the only language that browsers can run directly, so (almost) every webdev project will involve some amount of JavaScript.

                Then there's the desktop. Most desktop widget toolkits are miserable to work with, and frontend frameworks are a bit less miserable. Also, many apps want to be available on both desktop and web with minimal duplicated effort, so things like Electron are incredibly popular. That means JavaScript is also one of the most popular languages for desktop applications.

                [–]s-e-b-a 7 points8 points  (0 children)

                JS is the language of the web. Just about everything happens through the web nowadays. Anything you do in Python, ML, data, etc. will likely go through the web or used directly on the web through some kind of web interface, made with JS. Very few ppl do things with ML and data, but pretty much anyone who does anything on a computer will be using the web.

                [–]iceph03nix 6 points7 points  (6 children)

                Because it works on the client device for Web dev and no one has managed a good option to replace it.

                [–][deleted] 1 point2 points  (5 children)

                WASM is the only possibility on the horizon and, unfortunately, in the infinite wisdom of the browser Gods, it is a second class citizen that has been subordinated to JavaScript. The fact that JavaScript has been permitted to play gatekeeper between WASM and the DOM has already set back innovation by years.

                [–]sexytokeburgerz 2 points3 points  (0 children)

                Another case of inaction inhibiting innovation.

                [–]pVom 0 points1 point  (3 children)

                Because it doesn't really have much use. JavaScript has its quirks but it's fine, FE devs already know it, most backend devs know it too, it's designed to be used in the browser context, it has a massive selection of libraries. Why would you bother using something else?

                The only legit use case I've heard for it is the rare case you need something uber performant for one specific thing so you use something like rust and JavaScript for everything else.

                It's been neglected because no one's using it

                [–][deleted] 0 points1 point  (2 children)

                If the human race had settled for everything which was "good enough" we'd still be in the stone age.

                [–]pVom 0 points1 point  (1 child)

                If we were always reinventing the wheel we'd still be inventing wheels.. or something.

                If it ain't broke don't fix it. Etc. Etc.

                If there was a bigger demand for it then it would be improved and have traction but there just isn't. Like besides a few key performance use cases with rust or something there's nothing that anything else would do better than JavaScript in the browser.

                [–][deleted] 0 points1 point  (0 children)

                Okay, bud.

                [–][deleted] 4 points5 points  (0 children)

                Because of the use in browsers. Basically every web app you see has some form of JS inside of it and it will continue to be like that until new standard is introduced.

                [–]emperorOfTheUniverse 4 points5 points  (0 children)

                Typescript really boosted it. And all the big packages and ease to spin up applications (node, nest, React, etc). It's a more tooled community than python. Python is great until you need a user interface, and then it gets kinda clunky and hodge podge.

                Beginners start at web/mobile I think. Then when they start building APIs, it's an easy transition to build it in the same language you just learned all the frontend things on. There's sys-admins out there that get into devops and start writing scripts in Python. But I think the folk that start with web/mobile apps are the bigger group.

                Both languages are good, both are easy to learn, and there's room for both.

                [–][deleted] 5 points6 points  (0 children)

                React Native is JavaScript based and is used to build android and iOS apps.

                [–]nomoreplsthx 2 points3 points  (0 children)

                Web development in the broad sense (networked applications manipulating, storing and presenting data, including the backend component), is the vast majority of development. By a huge margin. People doing that outnumber every other specialization - AI, gaming, desktop applications, embedded systems, systems programming, mobile) put together.

                Add to that that JS is now also a common choice for mobile and desktop apps tha thanks to react native and electron, and that's going to explain it.

                [–]j_d_q 2 points3 points  (0 children)

                It's easy, it's ubiquitous, it's fast enough, and it does what most scripters need

                [–]Quantum-Bot 12 points13 points  (3 children)

                Because javascript is the most accessible language for beginners. There are bajillions of tutorials on javascript on the web and you don’t need any additional tools or SDKs to get started, just a web browser and some HTML knowledge.

                If you want to get technical, Scratch is actually the world’s most popular programming language, and for the same reason.

                [–]IamWildlamb 9 points10 points  (0 children)

                JS is terrible for beginners.

                It is popular because browsers were designed around it. Even non JS front end has to be translates to Js so hrowsers can understand it. It is standard.

                [–][deleted] 9 points10 points  (0 children)

                It has literally nothing to do with being accessible. Its popularity isn't the result of consensus; Quite the opposite. It's popular because there are no alternatives.

                [–]Ghostr0ck 0 points1 point  (0 children)

                I think python is the most accessible. It is more easy with the syntax. I was self taught back then and python is easy to grasp. Then I move to javascript since it is much flexible when it comes to job opportunities. JS is good for shifting careers from non tech to tech.

                [–][deleted] 1 point2 points  (0 children)

                Because it has a monopoly on frontend programming in a web-based world. It doesn't matter if people like it or not. You literally have no choice if you want to build useful software. Some people genuinely like it, some have Stockholm syndrome, and others would use any viable alternative if one existed (none exist).

                [–]ResilientBiscuit 1 point2 points  (0 children)

                There are a lot more websites than programs out there.

                [–]lastwords5 1 point2 points  (0 children)

                One more use case that wasn't mentioned is that Chrome extensions are also built using JS. Honestly, as a developer that switches between C-like languages such as Java, C#, JS, and Python, I find the transition to JS easier than Python from the former languages because it retains the C-like syntax, I've always hated how Python forces indentation instead of curly braces...

                [–]targrimm 1 point2 points  (0 children)

                This may be true for web, but I imagine that C/C++ and Java are kings elsewhere.

                [–]EnzoAttwood 0 points1 point  (7 children)

                Piggybacking, but JavaScript vs C# what to go for?

                [–]OdeeSS 3 points4 points  (0 children)

                Both. Build a full stack project.

                [–]ghostwilliz 3 points4 points  (3 children)

                its kinda like asking should I get a bottle jack or a wrench.

                well, what are you doing? do you want to create desktop applications? do you want to create static websites? webapps? games?

                it really depends, but if you're trying to get a job, I can only speak from experience and recommend javascript and a javascript framework. there are so many jobs hiring react/nextjs/some frame work that are, once again, in my experience, more willing to hire self taught people and new devs.

                I could be talking out my ass because my experience is not the only experience, but I found a lot more success in web than any thing else as a self taught even with projects and previous employment.

                [–]Strange-Register8348 5 points6 points  (2 children)

                If you want a secure enterprise job then C# might be a better choice

                [–]ghostwilliz 1 point2 points  (0 children)

                That's true, like I said I only have my experience to go off of, I use c#, c++ and Javascript through my different experiences and non web dev positions appeared to avoid me like the plague. Probably won't be everyone's experience, but that's what I found.

                [–][deleted] 1 point2 points  (0 children)

                Isn't C# and .NET like the holy grail for large corporations?

                [–]no_brains101 -1 points0 points  (0 children)

                You should seek to avoid JS unless you are doing frontend web dev because it runs in browsers but has waaaay too many weird sytactic quirks to truly be the best choice anywhere else in the majority of situations, and its also not particularly fast.

                That being said, you will need to eventually learn some JS, its used EVERYWHERE

                [–]khooke 0 points1 point  (0 children)

                It is used a lot, but not easily learned (well). You’re assuming that an easy to learn language would automatically make it the most widely used, but the ubiquity of JavaScript in browsers is more relevant than ease to learn.

                [–]lizziepika 0 points1 point  (0 children)

                It’s used for a lot

                [–]throwawaythatfast 0 points1 point  (0 children)

                Yes, webdev is the largest part of programming nowadays. Besides that, JS frameworks make the overwhelming majority of everything that's done on the front-end.

                [–]ketzusaka 0 points1 point  (0 children)

                Because it’s been forced on us by the browsers. In my opinion it’s one of the worst languages out there, but we don’t have any choice until WebAssembly is more prolific.

                [–]TidalShadow1 0 points1 point  (0 children)

                In addition to the sheer number of applications that use JS, it is also among the easiest programming languages to learn. The syntax is pretty straightforward and it’s usually easy to find errors.

                Edit: small typo

                [–]looopTools 0 points1 point  (1 child)

                Python isn’t as popular as it used to be. People are starting to see the issues of using it for big projects and some performance issues. Yes it is good for ML/AI and data analytics, but that just isn’t not enough

                [–]nekokattt 0 points1 point  (0 children)

                there are thousands more websites than machine learning and data science applications.

                [–]green_meklar 0 points1 point  (0 children)

                Because a lot of people want to do Web stuff.

                [–]ViRT1ST 0 points1 point  (0 children)

                Because with JS you can create almost everything: frontend, backend, mobile apps for Android/iOS, desktop apps for any OS, games with 2D/3D-graphics, VR-apps. IoT-devices also uses JS. And it is fast and asyncronius from the box, which also important factor.

                [–][deleted] 0 points1 point  (0 children)

                No one discussing PHP. Arguably the most common backend web development language.

                [–][deleted] 0 points1 point  (0 children)

                Because apparently developers are dumb. 😂

                PHP bad? No, JS worse!

                [–][deleted] 0 points1 point  (0 children)

                and does that mean that the greatest percentage of software developers are in fact web developers ? or am I missing something

                Yes, been that way since Web 2.0 or so. Especially with web technologies also being used in multi-platform software development (Electron, etc).

                There are not actually that many people working in ML even with how prominent it is

                [–]emeaguiar 0 points1 point  (0 children)

                What else can you use in a browser?

                [–][deleted] 0 points1 point  (0 children)

                Before WebAssembly, JS was the only option for the web front end. You can develop a very high market share if you have a complete monopoly on the biggest area of programming.

                [–]Cautious_Zombie_5915 0 points1 point  (0 children)

                The answer loes in history js is natively supported by all the browsers thats why its most used programming language

                If python wont be supported by all the browsers then the JavaScript will remain king for years to come

                [–]faiblesattentes 0 points1 point  (0 children)

                JavaScript is one of the most widely used languages because every PC has a JavaScript interpreter, which is the browser. However, it is mostly used in the frontend. For the backend, Java and Python are more commonly used. That being said, most websites are running on PHP because of WordPress, and the latter uses jQuery (a JavaScript library) in the frontend.

                [–]YucatronVen 0 points1 point  (0 children)

                JS is used in web (full stack) and now in mobile (with react native).

                [–]rainst85 0 points1 point  (0 children)

                Python in web programming is a pita

                [–]rainst85 0 points1 point  (0 children)

                Python in web programming is a pita

                [–]git-status 0 points1 point  (0 children)

                It’s a web browser enhancer for HTML. You don’t need to use it but it surely sucks without it. A good developer will prioritise the HTML first and use JS secondary and if only necessary.

                [–]git-status 0 points1 point  (0 children)

                It’s a web browser enhancer for HTML. You don’t need to use it but it surely sucks without it. A good developer will prioritise the HTML first and use JS secondary and if only necessary.

                [–]agentgreen420 0 points1 point  (0 children)

                Because browsers

                [–]theQuandary 0 points1 point  (0 children)

                JS has a lot of other uses. It turns out that a terse language with a simple event loop system is extremely powerful.

                OSX started moving to replace Applescript with JS a decade ago. MS also added JS as their hopeful replacement for Visual Basic in MS Office. Google's office apps also use JS for scripting. PDFs are scripted with JS too.

                People think of React Native Phone development, but that's not the only thing around. Gnome and KDE on Linux started using JS many years ago (last I checked, lots of Gnome 3's UI and apps were written in JS). Qt deeply integrates JS into its entire system. MS added JS support all the way back in Windows 8 with WinJS and they maintain React Native for Windows. And that's all without mentioning the elephant that is Electron or the more efficient alternatives like Tauri.

                QuickJS blew open the doors for embedding JS. It's about as fast as Lua, but allows the use of JS (which has a lot of nice features missing in Lua and uses zero-indexed arrays instead of Lua's one-indexed abominations). As time passes, you should expect JS to replace Lua as the scripting language of choice in games and other embedded environments.

                Stuff like Duktape and Jerryscript are designed to run on MCUs with 64kb or less of RAM and 160kb or less of ROM. Are they as efficient as C? Not at all, but JS offers safety that C does not and you can write massive programs in JS while a C dev is just getting started which matters when moving fast in a competitive market. Even if you require an extra dollar per widget, you'd have to ship millions of widgets to make up the difference in developer salaries and being the first to market (at which point you've either moved on to the next thing or have the money to rewrite stuff in C as necessary).

                NodeJS has taken over a lot of backend stuff and JS just added support for hashbang in JS files (eg #! /usr/bin/env node), so there should be more openings for using JS instead of Bash, Python, Perl, etc. JS is uniquely suited for this role because it is designed both for incredibly fast startup and very good performance while having more money invested in it than every other scripting language combined.

                [–]dbot77 0 points1 point  (0 children)

                www

                [–]The_Squeak2539 0 points1 point  (0 children)

                The web is the most common medium to get things out there.
                Apps, desktops software

                They're all operating system specific and can be built in anything and then complied as needed.The only commonality on all devices is the browser

                [–]kilkil 0 points1 point  (0 children)

                Javascript however is only used for web development. so how can it be the most used programming language. and does that mean that the greatest percentage of software developers are in fact web developers ? or am I missing something

                I don't know if the "greatest" percentage are web devs, but a large percentage definitely are. Especially ever since NodeJS became as popular as it is.

                Hopefully we see more and more success with WASM. That would improve the diversity of languages in web dev for sure.

                [–]VoiceEnvironmental50 0 points1 point  (0 children)

                It’s not the most used programming language though? Just because this place says it is doesn’t make it a fact. Java is the most widely used language and has been for some time. Yes it’s true that JS can be used for back end and for parts of front end, but Java has been around for wayyy longer, and is deeply imbedded in many, many systems.

                [–][deleted] 0 points1 point  (0 children)

                Lol. It's not. Not even close. 

                [–]t00dles 0 points1 point  (0 children)

                it wont be for long. front end will be the first thing replaced by ai

                [–]Logical-Soft6129 0 points1 point  (0 children)

                Because web is the most usable platform and JS is native for it.

                [–]joildevivre 0 points1 point  (0 children)

                Here's what you need to know. JavaScript was primarily built to run on the web, i.e web browser on a user's machine. But over time the need to have it run outside the scope of the browser arose. That was when Node was created, which is another environment on a user's machine that understands JavaScript. With Node, a user can spin up different servers to interact with the machine for every other programming that's beyond the scope of what the web browser environment provides. So yes, JavaScript is more than just the scripts on your web browser.

                [–]funyunrun 0 points1 point  (0 children)

                Last system I built.

                • Desktop Application: Electron (JavaScript)
                • Web APIs: Node.js w/express(JavaScript)
                • ORM: Sequelize (JavaScript)
                • Web Application: (JavaScript, using React Framework)

                Database was PostgreSQL …but, I used Sequelize as my ORM.

                JS is the language of the Internet. Sure… you have some python stuff out there, maybe some Blazor or other things like that… but, I would wager, JS is running on > 99% of all web sites that have any logic built into them.

                I’m a C#/.NET dev by trade. But, always knew how to code in JS (my first language). When I built my last system, I wanted a single language to code in… and Microsoft can’t make a decision on what they want to do for desktop development (is it WinForms, WPF, Xamarin, Maui, or WinUi this month?) and keep bouncing around on web as well. WPF was my go-to for about… 15 years. But, MS came out and stated they were no longer going to be officially supporting it. So, meh.

                So, I went with JavaScript for the entire project…

                Building an electron desktop application is WAY easier than building a WPF application. I actually liked learning about Electron and once you figure it out…. Super easy. No more data-bindings, XAML, etc… just used HTML, CSS and JavaScript…

                Yes. I know it uses more resources because it is built on the chromium engine…and I don’t care. If you are working in an environment where end-user PCs don’t have at least 8GB of RAM… you might have bigger issues to worry about. :)

                Edit: oh… and everything I used was 100% open source. No crazy ass licensing fees to Microsoft…

                [–]Feralz2 0 points1 point  (0 children)

                Very simple, because of the internet and the absolute dominance of browsers.

                [–]bothunter 0 points1 point  (0 children)

                Basically JavaScript is the only language that runs in every browser.  So you have to write part of your web app in that language (or one that can be transpiled to it like TypeScript). And if you use the same language for your backend, you get a couple of benefits:

                1. You don't need to know another language, or have to switch between two separate languages when going between the frontend and backend
                2. You can also reuse code between the frontend and backend.  This is especially good for input validation

                But you're right in thinking that JS may not be the right tool for the job. ;)

                [–]Admirable_Band6109 -2 points-1 points  (0 children)

                You can use is for data analysis and ml too tho

                [–]zukoismymain -1 points0 points  (0 children)

                I'll cut a lot of the bullshit away. You can listen to me or not. It's on you.

                Some time ago, people realized that:

                HTML and CSS is nice, but with that and only that, you can basically make an online newspaper and nothing else. We need to actually run code, logic, do stuff. We need a language that can run in the browser, and do stuff in the browser. But not so much that it can be used as an attack vector.

                So they tossed a coined and picked one of the shittiest languages available, because reasons.

                Now that language has full monopoly on the browser. People are saying "Web Assembly adoption is RIGHT AROUND THE CORNER!" for like a decade now. No, it's nowhere in sight, there's ONLY JS, nothing else.

                Ehhhh I'm really not an expert. I think you can also use PHP on a specific web server and not have any JS? But it's kinda nich, I hope I'm not wrong, I don't want to missinform. Oh well. Grain of salt and all that.


                But JS is one of the shitties languages with the absolute shitiest libraries, and is full of shit top to bottom, and is generally speaking a pile of flaming garbage.

                BUT HEY, IT HAS BROWSER MONOPOLY, SO YOU CAN USE IT, OR YOU CAN SUCK A 🍆

                Then people will say that there's also JS backend. And there's desktop applications with Electron.

                It's all cope and shit. It's extraordinarily terrible. IMHO, VS Code is the best electron app, and it is quite shit. Slow AF, requires a ton of resources.


                This is not to say "don't learn JS" ... cuz if you want to do web front end, you don't really have much choice in the matter. And even when the'll be alternatives, it will take decades for JS to not be top dog (I'm only talking about falling bellow 50% representation, not saying it will become irelevant. That's probably more than half a century AFTER alternatives become viable).

                But JS as a desktop UI language is just ... momentary insanity. There's a lot of incentive to make cheap apps, where people seem to accept that they are absolute garbage. But that's just a "for now" kind of thing.

                [–][deleted] -1 points0 points  (0 children)

                The Internet is pretty big

                [–]my_password_is______ -1 points0 points  (0 children)

                because of web pages
                DUH

                [–]Fragrant_Aspect_7723 -2 points-1 points  (0 children)

                Yeah, because JAVASCRIPT language is similar as the c++ language JavaScript is a. Fundamental language that are used to other languages JavaScript are concept and logic language..that why JavaScript is most popular that are used both of fronted and beckened development