JavaScript

119K

Solutions

71

Articles & Videos

41K

Contributors

JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks have also emerged. JavaScript runs on nearly every operating system and  in almost every mainstream web browser.

Share tech news, updates, or what's on your mind.

Sign up to Post

I've started hacking together a project in Typescript and now I keep thinking my Sublime linter is broken when I open a regular js file. Static checking ftw.
1
 
LVL 1

Author Comment

by:Michael Arciniega
I'm building the project with a MEAN stack and that's what the new Angular prefers to use. As I'm getting familiar with the stack its been really nice having it catch simple type mismatches and broken dependencies before I even deploy it in the local container.
0
 
LVL 1

Author Comment

by:Michael Arciniega
Unfortunately even the best tooling won't save you from spending two hours debugging a database issue before realizing you meant to do a POST instead of a GET....
1
Online Training Solution
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

This is an amazingly simply way to make an Electron desktop application from a webpage. I love it :D
3
 
LVL 6

Expert Comment

by:Brian Matis
And I wonder if it works with browser notifications? Those notifs can be pretty handy for something like Hipchat.
0
 
LVL 9

Author Comment

by:Brandon Lyon
Electron has a notifications API so it could probably work if one decided to add that. I can't tell if Nativifier does that or not and I haven't tried yet.
1
Using a WebRTC data channel it's possible for a mobile device to peer share content similar to torrents. This is an interesting approach for scaling user generated content in mobile apps and on the web.
2
3
 
LVL 6

Expert Comment

by:Mikkel Sandberg
That's good stuff. Had to go back and watch the videos on functors though :P But he's entertaining and explains things well :)
2
3
Is Java a terrible first programming language to learn? Do you agree with Stanford switching their intro course to JavaScript? Or would you have picked something else?

https://thenextweb.com/dd/2017/04/24/universities-finally-realize-java-bad-introductory-programming-language/#.tnw_AFXiESVy
2
 
LVL 10

Expert Comment

by:Jeffrey Dake
I definitely think there is something better to start with than Java, but not sure JavaScript is the answer.
1
 
LVL 6

Author Comment

by:Brian Matis
I imagine the appeal of JavaScript is how you can run it in a browser and don't need to worry about dev environment setup or learning a command line to get started.

What language would you choose, Jeff?
0
4
 
LVL 6

Expert Comment

by:Brian Matis
Alrighty... You've piqued my interest! Will have to give this a try some weekend soon. Saved for later!
1
Brendan Eich, the creator of Javascript, is set to launch a digital ad platform tied to the Ethereum blockchain. Users who opt in to see the ads will be rewarded with a cryptographic token and will be shown fewer, more relevant ads. The data recorded from each user is encrypted and stored on their local machines while the aggregate numbers and trends will be stored publicly on the blockchain.

Personally, I run an ad blocker for the shear number of irrelevant ads and not because I do not wish to see them at all. If this solution provides me a better end user experience and fairly rewards the sites who host the ads then sign me up!
6
Did you know that node package manager npm often uses symlinks? You might run into cross-platform issues installing modules without using additional parameters.

npm install packageName –no-bin-links

Open in new window

3
Found this fun article about the shadow DOM. Interesting to see how much is going on behind the scenes to make html more useful.

https://glazkov.com/2011/01/14/what-the-heck-is-shadow-dom/
4
 
LVL 6

Expert Comment

by:Brian Matis
And with that article being from 2011, any ideas on how this has changed since then?
0
 
LVL 9

Author Comment

by:James Bilous
I think the shadow DOM has come a long way and is now used for creating functional components behind the scenes before the page renders. Here is a new overview by google of the v1 version of the shadow DOM that has come out:

https://developers.google.com/web/fundamentals/getting-started/primers/shadowdom
0

JavaScript

119K

Solutions

71

Articles & Videos

41K

Contributors

JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks have also emerged. JavaScript runs on nearly every operating system and  in almost every mainstream web browser.