Slashdot Mirror


'State of JavaScript 2018' Survey Announced (stateofjs.com)

"The JavaScript world could use a bit of classification," reads this year's announcement at StateofJS.com: In 2017 this survey helped us do just that, by collecting data from over 20,000 developers to identify current and upcoming trends. This year, we're asking for your help once more to find out which libraries developers want to learn next, which have the best satisfaction ratings, and much more.
The survey launched in 2016 "mostly to scratch my own itch," its founder explained in a Medium essay. "I wanted to know what libraries were worth learning, and which ones were on the way out." Last year's survey discovered that React was the dominant framework, though the second most-popular framework was "none," with 9,493 JavaScript developers saying they didn't use one. Vue had increased in popularity while Angular lost steam, and developers collectively rating their overall happiness with front-end tools at 3.8 (on a scale up to five).

And more than 28% of the survey's respondent's said they'd used TypeScript, Microsoft's typed superset of JavaScript, and that they'd use it again.

70 comments

  1. Same as 2017 by Anonymous Coward · · Score: 1

    It still sucks.

    1. Re:Same as 2017 by Anonymous Coward · · Score: 0

      So put a poster on the wall and hook a mouse/keyboard usb right into the drywall until it punches in and stays.

      Congratulations, you now have the internet without javascript, enjoy!

      The rest of us will just get on with our lives

    2. Re: Same as 2017 by Anonymous Coward · · Score: 0

      Favorite language of pirates everywhere.

    3. Re:Same as 2017 by Anonymous Coward · · Score: 0

      Java is coffee, it needs no script
      destroy all javascript !!!!!
      also dynamic web pages are just horrific, just look at facebook and youtube.

      Your comment violated the "postercomment" compression filter. Try less whitespace and/or less repetition.

    4. Re:Same as 2017 by Anonymous Coward · · Score: 0

      So, we shouldn't try to get rid of something that sucks to make the internet better?

    5. Re: Same as 2017 by Anonymous Coward · · Score: 0

      Just because you are unskilled with a tool, does not mean said tool sucks. Most peopl le who think JS sucks barely know the difference between JS and JQuery.

    6. Re: Same as 2017 by Anonymous Coward · · Score: 0

      ??? Then how come almost almost all JS code I see is worse than Perl.

      JavaScript is the true write once, can't read language of this generation.

    7. Re:Same as 2017 by snapsnap · · Score: 1

      This. Having to do this:


      function test() { ...
      }

      if(typeof(window) !== "undefined") {
              window.test = test;
      }

      sometimes window isn't defined so you have to test for it. The weird !== with two equals shouldn't be needed. Finally, a function should just work. You shouldn't have to do the window.test thing.

    8. Re:Same as 2017 by Anonymous Coward · · Score: 0

      It's a security problem to allow functions to be defined without explicitly making them available.

    9. Re:Same as 2017 by Anonymous Coward · · Score: 0

      The weird !== with two equals shouldn't be needed.

      It isn't. You tested against a string literal.

  2. State of Brainfuck survey. by Anonymous Coward · · Score: 0

    Result: Brainfuck can still produce more useful code than javascript "web apps" and don't need a 500mb browser to run it.

  3. State of Javascript from the user's point of view by Rosco+P.+Coltrane · · Score: 4, Insightful

    - 80% are ads, web trackers and other malware
    - 10% are useless eye candy that waste time and CPU
    - 5% are misguided attempts to turn web browsers into terminals and bypassing HTML as much as possible, that usually result in unusable interfaces that don't behave properly and waste CPU
    - 5% are actually useful on the pages they're used on

    Javascript isn't the problem, it's the developers who foist it on us because they're incompetent, greedy or nefarious. Still, I can't count the number of hours I waste every week trying to find out in Noscript or uBlock the minimal number of scripts I have to allow to access a web page. Fuck Javascript.

    --
    "A door is what a dog is perpetually on the wrong side of" - Ogden Nash
  4. The state is... by Desler · · Score: 1

    It’s easily summed up in two words:

    Shit sux.

    1. Re:The state is... by Anonymous Coward · · Score: 0

      It’s easily summed up in two words:

      Shit sux.

      And why it sux:
      https://www.youtube.com/watch?v=s2VG53RIJ50
      (keep listening)

  5. Re:State of Javascript from the user's point of vi by Anonymous Coward · · Score: 0

    Actually Javascript is the problrm. It’s got most of the worst traits of C’s implictness (you did want that string converted to a bool right?) while none of the positives.

  6. Re: State of Javascript from the user's point of v by Anonymous Coward · · Score: 0

    No string should ever be converted into a bool or an int or a float. Who comes up with this shit? Shitty shitty shit shit

  7. Re:State of Javascript from the user's point of vi by Anonymous Coward · · Score: 0

    Sure, pretend the name of the logic language is the problem and not the advertisers.

    because we all know everyone would mutate into completely different people if we called it .net or c# right?

    Do people need to wipe your bum and help you eat? you sound like a retard

  8. Things get better by AlanObject · · Score: 2

    I have known some Javascript ever since it was invented and spent decades avoiding it as much as possible. I can't remember who it was but they wrote that "Javascript is the most feared language" in computer science.

    Now that I am doing client-side web apps it is unavoidable. Except, of course, for Microsoft wonderful effort into Typescript. It takes away none of Javascript's "strengths" (such as they are) but it makes it possible to get serious assistance from your IDE. You end up not as constrained as Java but you feel less like you are tossed into a chaotic lake of famished crocodiles, horny hippos and drunk rednecks in speedboats firing guns everywhere.

    Thanks to Typescript I don't feel like I am writing Javascript any more than I feel like I am writing in assembly language when I code in C. Only an occasional trip to w3schools or stackoverflow is all that is needed to cover the quirky things I didn't know.

    That said, I always wonder why anyone can be in doubt about why Javascript is so ascendant. There can be no reason other than it had access to the pervasive API of the browser environment. In other words the DOM and the browser-provided objects. That, and the fact that the build environment and the runtime environment were one and the same, helping countless legions of amateurs to get "into" web programming.

    With all its flaws Javascript fell into a mucky pond and evolved into an ecosystem were a lot of people could make a living from using it. That's what made it successful. It has little or nothing to do with the merits (or demerits) of the language itself.

    Imagine if Google had created node.js first, and all browsers were using some other language like Python. Nobody but a quirky minority would pay any attention to Javascript whatever. Now pretty much all of us have to pay attention.

    1. Re: Things get better by ttfkam · · Score: 1

      "Imagine if Google had created node.js first, and all browsers were using some other language like Python."

      LOL! That's some interesting time travel you've got there! Chrome forked from WebKit (forked from KHTML) in what? Late 2000s? Google didn't even make Node.js! But let's say they did, for the sake of argument. That still leaves over 10 years of JS in the browser. (Hello, Netscape 2.0 Gold Beta!)

      Python would have been a non-starter because Sun wanted Netscape to make a scripting language that superficially looked like Java.

      And if it hadn't been JS, it would have been Microsoft's VBScript? You old enough to remember that? That was the other likely option at the time. Believe me when I say JS was the far superior option and no other realistic options were on the table.

      That said, ES2017 is quite nice. Quite pythonic actually. Also, unlike Python, JavaScript written in 1995 still works today. Don't get me wrong, I like Python too, but it was never gonna happen. Best to let it go and move on.

      --

      - I don't need to go outside, my CRT tan'll do me just fine.
    2. Re: Things get better by AlanObject · · Score: 1

      but it was never gonna happen. Best to let it go and move on.

      You seem to have completely missed the point. I have nothing here to "let go" of to move on.

      All I was doing is pointing out that if Javascript (as it was not ES2017) did not have the browser environment ecosystem it was hatched in it never would have achieved much prominence.

    3. Re: Things get better by ttfkam · · Score: 1

      And if C hasn't been invented alongside Unix, it would never have taken off either. Every popular language has a killer app, no exceptions. Conversely no language ever became popular without a killer app.

      That JavaScript would never have become popular without its killer app is merely asserting a tautology.

      --

      - I don't need to go outside, my CRT tan'll do me just fine.
    4. Re: Things get better by AlanObject · · Score: 1

      That JavaScript would never have become popular without its killer app is merely asserting a tautology.

      Maybe so, but you will notice that every time a survey like this is done and Javascript ranks so high you get dozens of posts about confounding it is how anyone ever uses Javascript because how awful Javascript is. So the trivial assertion you are pointing out is missed by many.

    5. Re: Things get better by Anonymous Coward · · Score: 0

      Sorry, are you saying Unix was a "killer app"? (never mind that it's not an app)

      I learned C on a DOS PC in the early '90s, when it was becoming hugely popular thanks to the inexpensive Turbo C, and the more-expensive-but-feature-laden MS C.

      Even the Mac was moving to C from Pascal in those days. This had nothing to do with Unix (almost no one had it on the desktop) and everything to do with C being simple, efficient and powerful. Programmers who had used it under Unix wanted to keep using it on other systems, and compilers proliferated.

  9. Re:State of Javascript from the user's point of vi by Anonymous Coward · · Score: 0

    The name is meaningless. The language itself is shit on a stick.

  10. None at all by DontBeAMoran · · Score: 1

    Last year's survey discovered that React was the dominant framework, though the second most-popular framework was "none," with 9,493 JavaScript developers saying they didn't use one.

    http://vanilla-js.com/

    Look at the speed comparisons. And the other big bonus is not having to download multiple hundred kilobytes (if not megabytes) of framework code.

    --
    #DeleteFacebook
    1. Re: None at all by Anonymous Coward · · Score: 0

      Love it!

    2. Re:None at all by Anonymous Coward · · Score: 0

      I took this year's survey and in the comment box I said the same thing. I've been using JavaScript for over 20 years and I have never used a framework, nor do I see that changing. I don't want any additional dependencies.

  11. Re:State of Javascript from the user's point of vi by Anonymous Coward · · Score: 0

    the language doesn't even matter, nor does the name.

    Jesus are you just as stupid as the parent poster? Like do you all drink fucking gallons of lead paint each day?

    It wouldn't matter what language you put it in, advertisers will be advertisers

  12. Re:State of Javascript from the user's point of vi by Anonymous Coward · · Score: 0

    Looks like we got a Trump voter in our midsts.

    "I love the poorly uneducated."

  13. I loathe JavaScript by jd · · Score: 1

    But Microsoft's attempt to embrace, extend and extinguish makes me want to defend it. Just not enough to do so.

    Tcl was once a rival to JavaScript. There was a plugin for Netscape when it was at peak fame and JavaScript was still relatively unknown that allowed you to run client-side Tcl scripts in web pages. It would have been a lot better, in some respects, but Tcl isn't a terribly stable language and the plugin got no traction.

    Still, you'd have far better code today.

    JavaScript does serve some purpose, although HTML5 now includes tags for some of the functions.

    Part of why it did succeed was that it Just Worked(tm), unlike applets.

    If early applets had been secure, as fast as JavaScript and able to push HTML to the browser page, this conversation would not be happening. Sun screwed up badly with applets. Too much bad press and too many performance issues.

    JavaScript isn't that much better. It's still slow and it's still dogged by security problems. But they're at an acceptable level for many. It's tolerable defective.

    Still, there's nothing out there that can compete. Since the Tcl attempt, I've seen no serious effort to embed other scripting languages in browsers. You'd need Mozilla, Google and Safari to agree on one to get any traction now and they don't agree on the time of day.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    1. Re: I loathe JavaScript by ttfkam · · Score: 1

      "â¦still slowâ¦"

      [citation needed]

      --

      - I don't need to go outside, my CRT tan'll do me just fine.
    2. Re: I loathe JavaScript by ttfkam · · Score: 2

      Wow! 2018 and Slashdot still can't handle simple Unicode like ellipses. No combining characters, just a simple two-byte UTF-8 sequence.

      Too bad it was written in Perl and not JavaScript. :-D

      (Yes, I know Perl supports Unicode now. Yes, I know server-side JavaScript only existed as Netscape's proprietary LiveScript at the time. But it's been 20 years. Talk about living in the past. Can I even do a Euro character? Are they still on ISO-8859-1 or have at least updated to ISO-8859-15?)

      --

      - I don't need to go outside, my CRT tan'll do me just fine.
    3. Re:I loathe JavaScript by Anonymous Coward · · Score: 0

      There was the google Dart language, which was to be implemented in Chrome.
      I believe everyone bitched about Google wanting to be the new IE 6 and that went nowhere. They did a Dart to javascript transpiler.
      It is ..drumrolls.. an object-oriented curly braces language with features from other paradigms!

      WebAssembly seems to be a more serious attempt albeit I had forgotten it exists as well.

    4. Re: I loathe JavaScript by Tough+Love · · Score: 1

      Are you seriously suggesting "upgrading" a Perl serverside codebase to Javascript? Seriously? Perhaps you have not heard of Go, Python or Java.

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    5. Re: I loathe JavaScript by Anonymous Coward · · Score: 0

      Why not rust? It's safe.

    6. Re: I loathe JavaScript by Tough+Love · · Score: 1

      Why not? I haven't done anything significant in it myself but Rust appears to be a more than decent server side platform.

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    7. Re: I loathe JavaScript by ttfkam · · Score: 2

      Technically I was just mocking Slashdot's inability to handle standard multibyte character encodings like UTF-8. Typically I would not recommend rewriting a working codebase simply to switch languages.

      But since you brought it up, yes, I think in 2018 it would make more sense to write a web site in JavaScript than Perl. Go would be my choice for something where I would be looking at C but want internet-capable services.

      Python is a (slightly) more elegant language, but the V8 engine eats the various Python VMs' lunches at this point in all relevant metrics: speed, memory usage, available libraries, and developer pool. (Python handily beats JS for machine learning and finance though due to available libraries.)

      For something like Slashdot, I think Java is unnecessary. There isn't a whole lot of business logic needed in the middleware, and this is where Java shines.

      Node is more than sufficient to handle the likes of Slashdot, though honestly algorithm trumps language every day of the week and twice on payday.

      And yes, I have coded all of them at one time or another in a professional capacity.

      But back to my original point: it's 2018 and therefore laughable that any website lacks end-to-end Unicode support.

      --

      - I don't need to go outside, my CRT tan'll do me just fine.
    8. Re: I loathe JavaScript by ttfkam · · Score: 1

      Apples and oranges. Dart was intended to be simply a "cleaner JavaScript" in the same vein as TypeScript. Too little too late though. JavaScript was sufficient. And I say sufficient because it's obviously used extensively. PHP is more extreme example of ugly but obviously usable since empirically it is widely used.

      WebAssembly on the other hand is a compilation target, not something you would code yourself by hand. Rust-to-WebAssembly is an impressive combination IMHO that I hope to see a lot more of.

      --

      - I don't need to go outside, my CRT tan'll do me just fine.
  14. Re:State of Javascript from the user's point of vi by Anonymous Coward · · Score: 0

    You forgot cryptomining and Spectre/Meltdown.

  15. Re: State of Javascript from the user's point of by jd · · Score: 2

    In C, there's a basis. It's near machine level and machines don't see data types. Types in C are a sugar to make life easier.

    JavaScript is not machine level. It has no excuse. Same goes for Python.

    Once you go past the very low level, you should have strongly typed languages because type means something then. It's a real thing that's independent of the machine.

    It would be interesting to see an Adascript or an Eiffelscript.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  16. JavaScritp is still JavaShit by UnknownSoldier · · Score: 1

    Wake me up when we can stop doing dumb hacks like this to detect what version of the language the browser has implemented. I guess providing a const window.JSVER took too much effort.

    <script type="text/javascript"> var jsver = 1.0;</script>
    <script language="Javascript1.1"> jsver = 1.1;</script>
    <script language="Javascript1.2"> jsver = 1.2;</script>
    <script language="Javascript1.3"> jsver = 1.3;</script>
    <script language="Javascript1.4"> jsver = 1.4;</script>
    <script language="Javascript1.5"> jsver = 1.5;</script>
    <script language="Javascript1.6"> jsver = 1.6;</script>
    <script language="Javascript1.7"> jsver = 1.7;</script>
    <script language="Javascript1.8"> jsver = 1.8;</script>
    <script language="Javascript1.9"> jsver = 1.9;</script>

    "use strict"; is a necessary kludge. Is there a way to turn it OFF after being turned on???

    When are Int64 and UInt64 going to be standardized and supported?

    When is BigInt going to be standardized?

    Can we deprecate that shitty double equals comparison and keep triple comparison?

    9999999999999999 === 10000000000000000
    true
    *facepalm*

    1. Re: JavaScritp is still JavaShit by ttfkam · · Score: 2

      Why would you turn strict mode off mid-way through a file or function?

      Fun fact: "use strict" was derived from Perl, the language Slashdot is written in.

      Fun fact #2: JavaScript is also used on the server side where script tag hacks are unnecessary.

      Fun fact #3: The vast majority of folks don't specify version anymore. No point really with current browser usage. Perhaps your knowledge of JavaScript is out of date?

      --

      - I don't need to go outside, my CRT tan'll do me just fine.
    2. Re: JavaScritp is still JavaShit by ttfkam · · Score: 1

      Fun fact #4:

      if (foo == null) // double equals

      is still useful. Covers null, undefined, and empty string. The Google JS programming style guide actually forbids triple equal comparisons with null.

      But feel free to continue on your rant, especially since BigInt already landed in V8 and is available in the newest builds of Node. You seem to be on a roll.

      --

      - I don't need to go outside, my CRT tan'll do me just fine.
    3. Re: JavaScritp is still JavaShit by Tough+Love · · Score: 1

      Got nothing to say about the Javascript integer disaster?

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    4. Re: JavaScritp is still JavaShit by Anonymous Coward · · Score: 0

      Your fun facts refute nothing he says LOL.

      Are you talking just to hear yourself talk?

    5. Re: JavaScritp is still JavaShit by Anonymous Coward · · Score: 0

      Is node JavaScript? It isn't? It's just written in JavaScript?

      You keep making yourself look more and more like a true idiot.

    6. Re:JavaScritp is still JavaShit by Anonymous Coward · · Score: 0

      Another bad triple character operator example I've seen in a lot of JavaScript scripts:

      if(typeof(window) !== "undefined")

      Why does undefined need to be a string? Why isn't a keyword? Why can't we just use !=? Why can't we just ask if window is undefined instead of calling the function typeof()? Finally, why is window sometimes undefined?

    7. Re: JavaScritp is still JavaShit by BlackPignouf · · Score: 1

      There's no integer in Javascript, only doubles.
      No integer => no integer disaster ;).

    8. Re: JavaScritp is still JavaShit by Tough+Love · · Score: 1

      I suppose that you have no idea why it is bad to use floats in place of integers. Only ever programmed in Javascript?

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    9. Re: JavaScritp is still JavaShit by Undead+Waffle · · Score: 0

      I haven't touched JavaScript in about 10 years so I'm not going to comment on that, but "use strict" is quite possibly the worst idea in Perl. I don't know why JavaScript would copy it.

    10. Re: JavaScritp is still JavaShit by Undead+Waffle · · Score: 1

      Clarification: It shouldn't exist because the language should just behave that way by default.

    11. Re: JavaScritp is still JavaShit by BlackPignouf · · Score: 1

      I suppose that you have no idea how to use a sarcasm detector. ;)
      I don't want to touch this turd of a programming language with a ten foot pole.

    12. Re: JavaScritp is still JavaShit by Tough+Love · · Score: 1

      Yah, sorry about that. You see, there are actually people who believe that having no integers makes the language better.

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    13. Re: JavaScritp is still JavaShit by ttfkam · · Score: 1

      BigInt is the name of the *spec* that handles large numbers, of which so far V8 has implemented, so therefore available in newer builds of Chrome and Node.

      There is no reason to believe Firefox and Edge will not follow suit shortly.

      --

      - I don't need to go outside, my CRT tan'll do me just fine.
    14. Re: JavaScritp is still JavaShit by ttfkam · · Score: 1

      And since you've invited us to the Slashdot pedant party, Node is written in C and C++. It *executes* JavaScript. Node is not "written" in JavaScript though most of its core modules contain JavaScript. Sockets: C. Process management: C. HTTP: mostly JavaScript, but completely dependent upon Buffer, which is a C interface to memory. Crypto: C.

      Careful picking a technical fight about Node with a code contributor to Node. ;-)

      --

      - I don't need to go outside, my CRT tan'll do me just fine.
    15. Re: JavaScritp is still JavaShit by ttfkam · · Score: 1

      It *is* a keyword. They however are calling typeof(...), which by contract *always* returns a string.

      --

      - I don't need to go outside, my CRT tan'll do me just fine.
    16. Re: JavaScritp is still JavaShit by ttfkam · · Score: 1

      It's amazing what you can accomplish when "constrained" to 2^53 (Number.MAX_SAFE_INTEGER). Sometimes a language is "good enough." Can't tell you how often I've wondered if something would work in Node and all I have to do is open of the dev console in Chrome to try it.

      Perfect is the enemy of good.

      --

      - I don't need to go outside, my CRT tan'll do me just fine.
    17. Re: JavaScritp is still JavaShit by ttfkam · · Score: 1

      Mantissa doesn't lose information until 2^53, ie., a fairly large number. If you need to do 64-bit bitwise operations, absolutely, JavaScript is not the tool you want to use. Instead use a different language with different trade offs. :-)

      --

      - I don't need to go outside, my CRT tan'll do me just fine.
    18. Re: JavaScritp is still JavaShit by ttfkam · · Score: 1

      Coulda, shoulda, woulda. Most languages don't start out polished. You either break backward compatibility (and break literally millions of web sites) or you put in something like "use strict".

      Languages that break compatibility get used as often as Lua, forever stuck at 5.1 with luajit or slow with 5.3.

      Or you run into great gnashing of teeth and fracturing the community like Python's 2.7->3.0 transition.

      Can't you just give credit where credit is due that web pages authored in 1995 still work? Phone apps written in 2013 can't even make that boast!

      --

      - I don't need to go outside, my CRT tan'll do me just fine.
    19. Re: JavaScritp is still JavaShit by Tough+Love · · Score: 1

      It's amazing what you can accomplish when "constrained" to 2^53...

      So true, for one thing you can ship code with more bugs in it, essentially a full time employment pact for Javascript hacks. You can also slow down computers with a bunch of extra code necessary to check boundary conditions, selling more of them. Sweet.

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    20. Re: JavaScritp is still JavaShit by ttfkam · · Score: 1

      Oh stop. When you spec out a project, you see where values would never exceed 256, so you use a byte, 16-bits for less than 65536, 32-bits for less than 4 billion, half these for signed values, etc. We all do this every day and twice on Sunday. If this were not the case, *all* numeric values in a system would always be 64-bit.

      There are a huge number of cases where 4 billion would be constraining but 2^53 would be more than enough to avoid overflow. YouTube itself only had a 32-bit overflow for popular videos close to a decade after it launched. 2^53 would have covered them for millennia at that rate. Granted it was a database schema limitation in that case, but the point clearly holds.

      It takes a while to roll over 9,007,199,254,740,992. If you absolutely need 64-bits (or 128-bits), then that's the spec and you pick the tool for the job. But don't let your blind hatred of JavaScript skip over the reality of our profession: sometimes even 2^8 is enough for some values. 2^53 is more than enough for most apps. Empirical evidence from the last 23 years strongly suggests my assertion to be true, purists such as yourself notwithstanding.

      --

      - I don't need to go outside, my CRT tan'll do me just fine.
  17. Re: State of Javascript from the user's point of by ttfkam · · Score: 1

    I think you mean "strictly," not "strongly." // JavaScript
    let foo = 'bar'; // not strict
    typeof(foo) === 'string'; // strong // C
    int blah = 5; // strict
    void *glarb = blah; // not strong

    Aside from that, you're still wrong. :-) Languages are for people to understand and write, not computers. People can (and do) write more lines of code with JS and Python nowadays than in C even though fewer lines of code are necessary than the equivalent C. They're getting more done. Harkening back to "good old days" that never existed doesn't help anyone, nor prove you're a better coder.

    And I'm old enough to remember people who were still skeptical of C because assembly didn't hide anything from you. Feel free to find your way clear of my grass frontage.

    --

    - I don't need to go outside, my CRT tan'll do me just fine.
  18. Re: JavaScritp BigInt proposal by Anonymous Coward · · Score: 0

    BigInt: Arbitrary precision integers in JavaScript
    https://github.com/tc39/proposal-bigint BigInt64Array,BigUint64Array

  19. Re: JavaScritp BigInt proposal by Tough+Love · · Score: 1

    Arbitrary precision is inefficient beyond belief for the vast majority of cases where integers are appropriate.

    --
    When all you have is a hammer, every problem starts to look like a thumb.
  20. Re: State of Javascript from the user's point of by jd · · Score: 1

    Ok, I'm oh approaching 50, and no, strongly typed is the correct term.

    And, no, if programs were written for people, we'd be using 4th and 5th generation languages, not 3rd, and the most popular 3rd gen would be D, not Java.

    Harkening back... so you're saying there was an Eiffelscript? Because I sure as hell have never said anything nice about the old days.

    There's only one thing that proves one coder better than another -- the ability to learn something new. For every other metric you can think of, there'll be just as many contexts that expect an opposite result and far far more that don't care at all. Learning is the one universal trait.

    I'm not "better" (or worse) because of what I know, that's luck of the draw and nothing to do with me. If I'm better, it's because I don't restrict myself to someone else's wisdom.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  21. "Identify current and upcoming trends" by Waccoon · · Score: 2

    I don't care about the latest fashion trends. Javascript isn't able to meet basic requirements that have been standards for decades.

    1. Re: "Identify current and upcoming trends" by ttfkam · · Score: 1

      Such as?

      --

      - I don't need to go outside, my CRT tan'll do me just fine.
    2. Re:"Identify current and upcoming trends" by Anonymous Coward · · Score: 0

      It is and is no better or worse than some other languages.

      Its just built into browsers with direct support to manipulate teh DOM. thats its big modern selling point. Other languages have similar things but they still aren't built into your browser.

      if all the browsers suddenly suppported python, you'd hear about all the limitation of the python language in the browser.

  22. Re: JavaScritp BigInt proposal by ttfkam · · Score: 1

    And the vast majority of people don't need numbers larger than 2^53. Don't get me wrong, I'm looking forward to using BigInt, but mostly for conversions to/from 64bit numbers. In actual usage, I rarely find 2^53 to be constraining.

    I take that back; bitwise operations being limited to 32bits is a legitimate pain. Yet another reason I'm looking forward to working with BigInt.

    --

    - I don't need to go outside, my CRT tan'll do me just fine.