I work in a strartup-like environment and recently I've been having to do a lot of full stack web development recently...

I work in a strartup-like environment and recently I've been having to do a lot of full stack web development recently. All of the front end development is done in AngularJS. I have to say, Javascript is fucking terrible. Do people actually like using this language? Is there ANY other way to dynamically load content on a web page?

Other urls found in this thread:

hackernoon.com/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f
twitter.com/NSFWRedditImage

Yes. React, Elm, Vue..

Plenty of options.

>React, Elm, Vue
I'm talking about an alternative to javascript all together. The javascript frameworks are still javascript.

>So people actually like using this language?
No, no they do not.

t. Javascript dev

why has javascript become the dominant web-dev tool?

Because pajeets

That's not a real answer. Why has it been unanimously adopted? What are the advantages to the people with enough money to dictate what's used by the codemonkey underlings?

They just use whatever is popular or recommended.

Like it or not JavaScript is powerful and works across a wide range of browsers and devices.

If you have a real backend like Spring or ASP.NET there's a lot of options.

There are reasons. Node and the V8 engine are the first thing that come to mind. There are things node does better than other server side languages like non blocking concurrecy.

Also a web dev. Mind you I hate JS. But I'm writing more of it every day. Some Stockholm syndrome is setting in.

You might not like it but this is what peak performance looks like

Flash

scala.js

If you come from LISP, JS is great.

If you come from C or Java, JS is weird.

If you're so enlightened and better than everyone else using JavaScript use clojure

>What are the advantages to the people with enough money to dictate what's used by the codemonkey underlings?


Basically standards. More ubiquity = easier to find devs, lower prices for said devs since it's easier to learn.
Plus all the work that's been put into browsers to support JS. Node/V8.

It's not the perfect language but it's pretty ubiquitous and is better than having fragmentation between a few competing languages.


In the end what matters is what you make with it, not the language itself.

The *language* JavaScript is actually kind of beautiful. But, you mustn't hold it to the standards of other languages. It's not OO. It's not functional. It's its own unique language. Very expressive, very dynamic.

That said, 95% of JavaScript scripts are absolutely horrendous.

>Javascript is fucking terrible. Do people actually like using this language?

The universal truth I've learnt is that the more shit tier something is, the more trendy it becomes. I mean shit, people actually used MongoDB in production.

Look at how much Ruby/Python/et al projects now have people insisting they rewrite in Node.JS "because JavaScript".

This.

If you're coming form LISP, JS is pretty nice.
If you are a C or Java dev, JS looks weird.

When you start JS you have to "empty your cup" and learn the JS way of doing things. Many people try to use it in a C or Java way and fail.

But contemporary JS with Arrow functions and Promises is pretty neat.


NoSQL has it's place. If you don't understand when to use it instead of a RDBS, you are not a good programmer.

BTW the Node hype is already gone, Go is where the hipsters are at right now..

>I have to say, Javascript is fucking terrible

You don't know what fucking terrible is. Go look at some .jsp frontends sometime.

>MongoDB in production.
tell me about that... I still have to deal with that shit at work, because some genius picked it for relational data instead of using Postgre....

At least you don't have to deal with fucking proprietary shit like Oracle SQL and their special snowflake client packages and modules that need special snowflake compilation to work.

You can support NoSQL for certain use cases without supporting MongoDB.

Look up Go jobs in your area. You'd be lucky if there's one.

Hipsters on side projects are all over it but the most companies are still ramping up their "Node in production" strategy

>I mean shit, people actually used MongoDB in production.
Ubiquiti use it in their radio gear. Oh, the horror!

Startup owners are usually narcissists who have no clue about technology yet want to pretend they know something / better than the devs so they pick technologies that sound good to their feeble minds. It's sad really, the devs can never work with the right tools that they'd love to use

Most tech startup owners come from technology and developer backgrounds.

It is not their fault the average dev isn't smart enough to figure out how to use JS.

Do tell, what tool you YOU use for reactive data driven fronted scripting?

>isn't smart enough to figure out how to use JS

JavaScript apologist detected.

>he really thinks that
lmao
pure JS or jQuery

>jQuery

Direct DOM manipulation is disgusting.

javascript must really be an intellectual challenge to him for him to consider it something of intelligence haha

1GB tabs and 2s loading times are more disgusting though

Most people who rage on javascript do not appreciate its feature-set like the flexibility of a dynamic language, nor do they understand the usefulness of first class functions.

The real problem is that OO programmers just struggle with trying to do something outside of strict OOP.

nobody said anythin about javascript though, I love it and use it both on back-end and front-end

this is what im complaining about

hackernoon.com/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f

It's a fucking godsend because Pajeet's can't do it well so companies all over the place are scrambling to hire Americans as they switch to agile development. Everybody can't wait to deprecate and get rid of all the busted old Java backends.

>o dynamically load content on a web page?
I don't understand, you can easily do something like this with just html and php, even in javascript it wouldn't be that intensive

>There are things node does better than other server side languages like non blocking concurrecy.

Not even remotely true. Pretty much every single main-stream language has the same concurrency primitives as Node, plus others.

But how will brainlets get jobs without JS frameworks?

Go is shit.

>PHP
Now go ahead and try to implement real authentication schemes in PHP scripts.

>OP asks "how can I do X?"
>respond Y can do X
>HAHA Y CANT DO Z THOUGH
Calm your autism.

I'm just saying there's a reason nobody uses PHP for serious web frontends and there's a reason Javascript is so ubiquitous. Basic auth doesn't cut it anymore.

>hackernoon.com/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f

Oh no, a language is so popular and growing that new libraries are coming out on a weekly basis, the horror!

Javascript is the single fastest growing language on Github both by stars and repos. It is head and shoulders above its closest rival, Ruby. No one else comes close.

If you want, you can still do everything in Vanilla.js and eschew all the frameworks. You just have to miss out on being a hipster.

Java back-ends were always a mistake. I have never seen one that is ever any good. It almost made me hate the language, just going by how shitty and hacked-together some of the legacy .jsp apps can be.

As far as I'm aware there's no legal or technical basis for this claim. Provide evidence to support your asinine assertion.

The complaint wasn't about new libraries being there, the complaint was that dumb startup entrepeneurs wanting to feel like they know something too trying to impose shit tech on devs, i think you got so triggered by my comment that you failed to read the rest of it

You use the tools the company provides. By definition every technology choice is a 'imposing shit tech on devs'.


Your complaint is just straight up stupid. If the company wants a java backend you right a java backend, or quit. I have to do a lot of Python in my job, even though I would rather be writing in Clojure.

my original reply:
> the devs can never work with the right tools that they'd love to use
how does that exclude java or other tech?

im not surprised about the current state of dev when I look at your reading comprehension buddy

This is all bait. Noone who's actually used another language genuinely believes this.

>It almost made me hate the language, just going by how shitty and hacked-together some of the legacy .jsp apps can be.

Seems to me jsp is the only thing you've seen.

don't judge a language by it's framework

>pure JS or jQuery
Becomes a huge mess if you have lots of dynamic elements on a page.

Why would you want to replace the most important programming language in decades?

Old people, I swear.

/thread

I hate using it, whenever I can use ccs instead that's what I do

Types are like garlic and crosses to the average JavaScript Evangelist.

I'll use this thread to shill Elm.

Elm is a language that compiles to javascript for making dynamic websites with OCaml like syntax.

The workflow is similar to working with React.

..but you don't have to deal with runtime errors or shitty ass build tools like webpack or browserify. Elm comes with it's own build tools and the elm compiler makes sure your code doesn't have type errors.

...Also Elm generated pages are faster than React ones.

I've been using Elm for personal projects for the last 6 months and I'm very happy with the workflow.

c++ and web assembly

That would put too much load on the server and it would very slow.

use Typescript or elm