27 Aug

Weekly Update 116: Focus on JavaScript

This is a copy of our weekly newsletter for developers which you can subscribe to here.

Hello contributors,

After concentrating on CSS last week, let's look at another common web language this week — JavaScript.

Similar to other langauges we're focusing on (CSS, Perl, Python, Swift), we initially looked at how many JavaScript-related queries are covered by Instant Answers. At the start of our programming mission it was around 32% but thanks to some cool contributions, it's now over half at 53%! This includes the following new or updated Instant Answers:

Screenshot of the JavaScript minifier

Special thanks for these goes to bfmags, kotoshenya, sahildua2305 who are already working on further enhancements such as improved IA content, better parsing and JS prettifying. You can join them, discussing ideas and making code contributions, via the JavaScript Overview post which is regularly updated by Maria with the latest progress and todo items.

And here are some specific issues we're currently looking for help with...

Weekend Warriors

  • Create a JSON visualizer

    There are a couple of links in this thread for inspiration, but lots of room for you to be creative.

  • Find JS coverage opportunities

    We have a list of unanswered queries. We'd like help looking through their results and proposing new Instant Answers or updates to existing ones (see the "To Do" section in the linked post).

More high priority fix ideas here...

5-minute Fixes

More quick fix ideas here...

Quick Tip

An unusual tip this week, but bear with me...

Whatever language you tend to program in, you probably use an editor or development environment that has fancy features like autocomplete, function name suggestions, etc. This week's tip is to try programming without them. Either switch them off if you're able, or use a basic text editor with no such helpful features.

"Why would you do that?", I hear you ask. There are a few benefits which may help you later in your programming career.

Firstly, you'll likely find you're seeing more errors due to things like missing parentheses or end-of-line semi-colons. Although it's frustrating at first, this teaches you the effect of these small mistakes so you can learn to recognize them in future.

Secondly, it's always good to be prepared for unexpected situations such as having to use a different or limited environment in future. This could be because of a project requirement or even a coding interview for a job. The less time you spend stressing about the lack of helpful features, the more you can concentrate on the code itself.

Finally, you should find you gain a general deeper understanding of the language. This is never a bad thing, and you might even see it in a new light and discover new ways of using it.

So there you go! Switch off the fancy features and try getting back to basics for a while.

That's all for this time — enjoy your weekend!

- The DuckDuckGo Staff

9 Tweet

This blog has been archived

Thank you for reading and contributing lively discussion to our blog! Read more posts about online privacy on our new blog at spreadprivacy.com.

Long life to JS !

posted by mickael03 • 5 months and 24 days ago Link

Whouaa ! good job

posted by ChristopheBE • 5 months and 26 days ago Link

Thank for the article, it's very interesting !

posted by mendoza11 • 6 months and 18 hours ago Link

Thanks for your work !

posted by LaserVert • 7 months and 21 days ago Link

Thank for this article

posted by Lendarae569 • 7 months and 21 days ago Link

Yes very good

posted by TrepanierCamille • 7 months and 23 days ago Link

Because we love JS ;) thx

posted by pascal_ccbb • 7 months and 27 days ago Link

Good news

posted by VictorineBlanchet • 7 months and 29 days ago Link

I did not know that the java script system still some updates, I thought we had moved on

posted by dissizz • 7 months and 30 days ago Link