JavaScript

120K

Solutions

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

The other day Rourke told me about a game called Screeps where you code your AI units in Javascript. I'm surprised I haven't heard about these types of games before! The reviews say there's a barrier to entry for novice programmers but hopefully that won't scare too many off.
9
 
LVL 6

Expert Comment

by:Craig Kehler
That is great. So who is building a private EE server? :)
3
 
LVL 6

Expert Comment

by:Brian Matis
I love that idea Craig!
0
Announcing the Most Valuable Experts of 2016
LVL 6
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

1
This looks like an interesting way to build a javascript application without introducing framework library dependency hell. I definitely plan to give it a try.
4
 
LVL 1

Expert Comment

by:Michael Arciniega
Seems like it would also pair well with micro libraries from http://microjs.com/.
1
 
LVL 9

Author Comment

by:Brandon Lyon
Yeah that's probably a good pairing
0
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
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
Free Tool: Site Down Detector
LVL 9
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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

120K

Solutions

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.