Live data from Hacker News

JavaScript is Good, Actually

ashfurrow.com

91–100 of 369 posts

Re: JavaScript is Good, Actually

#91
post #38

Earlier quoted context omitted.

Does "world-class software developer" even mean anything other than a big ego?

Given his github profile, I think we can give him credibility that he is pretty good. https://github.com/ashfurrow

Did you ever notice that real world-class software developers don't even have to say that they are ? :)

Re: JavaScript is Good, Actually

#92
TL;DR: JS is great if you like it and know it well!

I'd say that holds for pretty much any language. The blog starts with an example to show how clear and concise etc the syntax is. I, personally, find the syntax unclear, verbose and I have no clue what that code does at a glance.

But I guess that is actually the crux of it: if you enjoy Js and are productive with it, great! Just don't ask me to work on your code, I'd make a mess :)

Re: JavaScript is Good, Actually

#93
post #35

This is a lot of lines for not saying much. I was expecting much more from a "world-class software developer"(see About section) :) Saying that the community is more advanced in the JavaScript ecosystem than it is in the iOS world is a nonsense to me. Don't we have more JS developers than iOS developers ? Moreover, saying that JS syntax is really good with tools like TypeScript is another nonsense. You can also write…

That's interesting because I also picked up on that: "I am a world-class software developer living in New York’s East Village"

and I just thought, hmm, here's this guy with ~5 years of ~professional dev(mainly with iOS) and he self qualifies himself as world class.

Looking at his bio, I see he's worked for 3 companies doing quite ordinary things.

I would love to know what gave him the confidence/ignorance to describe himself as such.

Re: JavaScript is Good, Actually

#94
post #71
post #39

Semantics and configurability is what what makes a language great. JS doesn’t have function environments, i.e. every unlexical lookup goes to global/window and that cannot be redirected. It doesn’t have green threads (at least). There are generators, but one cannot just yield without marking all the functions generators too (async/await in modern terms). Stack traces are lost when generators throw(). JS has no good i…

What are great languages in your opinion?

If we’re talking about “dynamic CRUD over socket abstracted to death”-style tasks, and not considering minor preferences like syntax, then python, lua, most of lisp/schemes, perl. All of these allow enough meta-anything to do:

  ./file.src:
  func api_foo()
    for x in objs
      x.a = fetch(x.b)
    ui.btnok.enabled = yes
    commit()
And have foo exported as api, and when called, all clients/servers, databases synced, validations passed, schemas updated, triggers and reactions done, errors handled, developer errors reported.

Re: JavaScript is Good, Actually

#95
JavaScript has continuously evolved and probably at a faster pace than many other languages. I'd interested to see whether those who used ES5 and didn't have a good experience, would enjoy using ES7 with async/await.

The JavaScript ecosystem is large and this question can be broken down into:

- Is JavaScript good on the browser for the front-end work?

- Is JavaScript good on the server?

Also for those interested, I create a Poll HN: favorite web server language and front-end submission over here:

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

Re: JavaScript is Good, Actually

#96
post #38

Earlier quoted context omitted.

Does "world-class software developer" even mean anything other than a big ego?

Given his github profile, I think we can give him credibility that he is pretty good. https://github.com/ashfurrow

Well, I just looked through some of his commits on some of the repos. Not pretty good. Productive maybe but definitely not good. Commit messages are quite lacking he's hard coding user display strings.

Without spending more time or having some domain knowledge of his problem, I can't really comment on the architecture setup/choices.

Re: JavaScript is Good, Actually

#97
post #91

Earlier quoted context omitted.

Given his github profile, I think we can give him credibility that he is pretty good. https://github.com/ashfurrow

Did you ever notice that real world-class software developers don't even have to say that they are ? :)

Not really if you work as a contractor or freelancer. In those cases you have to shout to the world that you are world class developer. Recruiters or Managers love terms like world-class, ninja, rockstar etc. Its unfortunate state of our industry.

Re: JavaScript is Good, Actually

#98

Earlier quoted context omitted.

There are a lot of valid criticisms against JavaScript. This is a fact. It's not a great language (clearly demonstrated by the discussion about it being good or not) but it's not terrible. I doubt anyone calls JS terrible on its own merits. There is a lot of hate against the runtime (edit: I mean the browser, not JS VMs or interpreters). The runtime enforces JS and the runtime itself is enforced everywhere. There is…

> It's not a great language (clearly demonstrated by the discussion about it being good or not) but it's not terrible I'm wondering what would be an example of a great language? Because we know that there are only two kinds of languages: the ones people complain about and the ones nobody uses

I like to think of Haskell as a great language. It still has its warts (e.g. last [0,1/3..2] > 2), but if you wan't wart free, there's probably nothing beyond lambda calculus.

Being the closest thing to lambda calculus with enough syntactic sugar on top to make it practical is a large part of what makes Haskell great.

Re: JavaScript is Good, Actually

#99
post #25
post #11

Earlier quoted context omitted.

Yeah, arguing that language features that have caused untold pain, constant confusion, and an shameful level of strictness aren't an issue because third-party linters and typed DSLs give you warnings is... weak. Any language can address any issue in that manner. The very fact 3rd party tooling is required to address language design issues is a pretty harsh criticism of that languages design in and of itself. Javascri…

> Yeah, arguing that language features that have caused untold pain, constant confusion, and an shameful level of strictness aren't an issue because third-party linters and typed DSLs give you warnings is... weak. The point the author is making is that the haters love to point at these quirks and claim that they cause "untold pain"; yet in actual practice I've only been bitten by == maybe twice in 15 years.

No, the point the author is making is that a painful, well-known, common irritant which bites people in the ass on the regular (source: https://stackoverflow.com/questions/359494/which-equals-oper...), is avoidable with secondary tooling. Issues that even bite people with 15 years experience in the language...

This argument applies equally well to using PHP for most anything. Not impressive.

Re: JavaScript is Good, Actually

#100
post #80
post #36

Earlier quoted context omitted.

I'm slightly puzzled. Array = [[1,2,3],[4,5,6]] seems valid json and I'm not sure what's inefficient or where the keys come in?

I was thinking of arrays of objects, where the keys are repeated for each object in the array.

I'm still a bit confused how this is a problem. Can you elaborate?

Is there any serialisation standard that specifically addresses this? I know YAML and TOML doesn't at least (correct me if I"m wrong)

Post reply on HN