Todd A. Jacobs · @todd_a_jacobs
23 followers · 250 posts · Server ruby.social

@robbkidd Heck no! makes me happy. is an example of a language I consider soul-sucking. I feel the same way about TBH, although is less evil than many of the popular JS frameworks.

I'm just looking to pick up a new language that is commercially viable but neither painful nor a commodity skill. That's obviously going to solicit very opinionated answers, though.

#rubylang #java #javascript #es6

Last updated 1 year ago

Davide Bucci · @davbucci
148 followers · 260 posts · Server mastodon.sdf.org

@GabeMoralesVR I am a complete newbie of Javascript. Modules have created a lot of difficulties as I do not yet understand how they work and the documentation is confusing as some Emscripten exemples refer to whereas browsers prefer .

#CommonJS #es6

Last updated 1 year ago

Davide Bucci · @davbucci
148 followers · 260 posts · Server mastodon.sdf.org

@GabeMoralesVR thank you. What I don't understand is how to "link" the code to the one. I tried --js-library keyp.js, but I get an error like "import initModule from "./function.js";
^^^^^^

SyntaxError: Cannot use import statement outside a module" But I haven't yet spend time on this stuff.

#es6 #c

Last updated 1 year ago

Davide Bucci · @davbucci
148 followers · 260 posts · Server mastodon.sdf.org

I think I can now call functions from code. It is not so simple as things are not well documented and I'm a complete newbie in the world. It remains to see how to call functions fro the code. .

#c #javascript #es6 #emscripten

Last updated 1 year ago

René Dudfield · @renedudfield
57 followers · 66 posts · Server fosstodon.org

A little tip.

When importing always enter in the from part first. Because, then you can autocomplete the things you want to import.

First enter:
import from 'module/path';

Then autocomplete works:
import { thisCompletesNow } from 'module/path';

#es6 #typescript

Last updated 2 years ago

Peponi · @pep0ni
59 followers · 668 posts · Server swiss-chaos.social
Emmett Lalish · @elalish
20 followers · 5 posts · Server hachyderm.io

And manifoldcad.org/ now uses gltf-transform by @donmccurdy and gl-matrix by @tojiro and it's even installable!

Our package, manifold-3d, is now a proper , has much faster I/O, and handles multi-material meshes.

#npm #es6 #module

Last updated 2 years ago

Rev. GothAlice · @alice
252 followers · 1771 posts · Server marrow.haus

@villares I counter a runtime-heavy client-side scripting language in your scripting language yo dawg solution which was rejected years and years and years ago (ref: pypyjs.org — even having a JIT) with almost any AST → transpilation tool. JavaScripthon is one I seem to like; there are several.

Originally shared 2016, but I’ve got older bits around here somewhere. This used to construct a “pure Python” SPA/PWA: gist.github.com/amcgregor/9040

With like, zero, zip, nada runtime overhead.

#python #es6

Last updated 2 years ago

Andy Stabler · @andystabler
30 followers · 101 posts · Server ruby.social

What static site generators do you recommend? I want to play with and . Is there something that would just work out the box? I'm too old and tired to learn all the bits in the middle.

#es6 #tailwindcss

Last updated 2 years ago

Steven Hilton · @mshiltonj
84 followers · 696 posts · Server universeodon.com

@tomw I think you could (???) write modern, modularized and ship it to the browser now, using to direct the browser to where your module files live. I haven't tried it yet, and the support may be limited, but... maybe that's The Future™.

That may eliminate , but we still have to deal with concatenation. With updated protocols like , maybe multiple simultaneous connections will be less of a problem?

And then ? I dunno man, maybe gzipping on the wire is good enough.

But I feel your pain. I'm hopeful for the future.

Also, I want native loops. I think that's the last thing we need for.

I haven't worked with built-in web components, but that could be the answer to the "always a new framework" problem. But if it was, it prolly would have more uptake by now.

I honestly spend to much time thinking about this.

#es6 #importmaps #transpiling #http3 #minification #JavaScript #programming #webdevelopment #css #preprocessors

Last updated 2 years ago

Matthias Dittgen :bc: · @matths
25 followers · 177 posts · Server toot.community

I just learned something new to me about optional chaining in current jaavscript.

You always have to put a dot (.) after the question mark (?) so the compiler can distinguish this from a beginning ternary condition question mark.

#javascript #es6 #syntacticsugar

Last updated 2 years ago

Peponi · @pep0ni
56 followers · 612 posts · Server swiss-chaos.social

blog.bitsrc.io/why-is-my-jest-

I learned:

* to link the Chrome profile with Node scripts to profile performance
* using an eslint rule to NOT import from index files in tests
* that setupTests.ts runs NOT once ,on the startup of all tests
* to deactivate type checking for the tests

#es6 #JS #javascript #ts #typescript #react #jest #Babel #webpack #performance #test #unittest #profiling #ESLint

Last updated 2 years ago

ConFoo · @ConFooCa
14 followers · 19 posts · Server techhub.social

Did you know underwent a major revolution in 2015?

Next February, join Joel Lord and Fast Forward your skills with confoo.ca/en/2023/session/your

#javascript #es6

Last updated 2 years ago

「 However, despite the large wave of criticism in 2011, CoffeeScript was one of the most followed projects on GitHub. At that time, it enjoyed relatively high popularity in the Ruby-developers community. A large part of CS supporters said their code ran faster and was three times shorter than JS code 」

How CoffeeScript Got Forgotten
— Staszek Zaczek

#coffeescript #javascript #es6

Last updated 2 years ago

「 CoffeeScript began as a fantastic idea (making it easier to write JavaScript code); ultimately, however, it didn’t stand the test of time and was pushed out by JavaScript. Currently, hardly anyone remembers it. Most new people in the front-end environment don’t even know such a language existed. Instead of being included in lists of the most popular new programming languages, it takes top spots on the lists of the worst languages to learn 」

#coffeescript #javascript #es6

Last updated 2 years ago

「 There were many indications that CoffeeScript would be with us for a long time, but a lot changed to its disadvantage in 2015 after the introduction of JavaScript’s ES6 — which actually was an implementation of CS solutions into the language from which the story began. In ES6, JavaScript also added many interesting new features the CoffeeScript team’s engineers didn’t think about 」

How CoffeeScript Got Forgotten
— Staszek Zaczek


betterprogramming.pub/how-coff

#coffeescript #javascript #es6

Last updated 2 years ago

NIO - Blue Sky Is Coming · @nio
0 followers · 28 posts · Server muenchen.social

Amazing!! NIO just finished the free practice of Formula E in Mexico City on the 3rd place!! At the end of the last seasons NIO was always on the last places. Looking forward for the race tomorrow!

#nio #ET5 #es6 #ec7 #el7 #ES7 #ET7 #es8 #ep9 #niopower #niolife #blueskycoming

Last updated 2 years ago

NIO - Blue Sky Is Coming · @nio
0 followers · 27 posts · Server muenchen.social
Peponi · @pep0ni
57 followers · 609 posts · Server swiss-chaos.social