Why doesn't Polymer use ES6 [closed] - polymer

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
It seems like the React community has heavily adopted ES6 as de facto when building applications, but I realized using ES6 with Polymer is fairly uncommon and doesn't seem to be actively encouraged. I was wondering why this is and if it's considered bad "style" to develop Polymer components using ES6 and compile them down to ES5 with Babel or something?

Polymer and the Polymer Elements don't require transpilation to use. To use ES6 would require users to add a transpilation step. Why should you require this extra overhead? When's the last time you saw react components distributed without requiring a build step?
That being said, ES6 code works well with Polymer. I use both in my projects. It will work much better when the proposed changes to the custom elements spec are available.

Related

Git Like Software [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I am really thinking of how I can build a very minimal Git-like software only for my self for now!
I have gone through Git documentations and even the way git works and I have quite an understanding on it.
Is there any example for me to study as a bonus before I dive into this project?.
In addition to the Documentation/technical folder which explains the internals of Git, you can study how Git was re-implemented, as an exercice, in other languages.
See for instance:
in Go the project src-d/go-git (recent 2018),
in Javascript: danlucraft/git.js (much older),
In Javascript (more recent 2015): Gitlet.
In Java, the project eclipse/jgit (used by EGit)
In C (with a lot of bindings for other languages), LibGit2 (and its GitHub repository, apologies to Edward Thomson for not mentioning it first.)

Does browserify still have a purpose after es6 [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
Does browserify, webpack, and other still have a purpose now than we have the module import with es6?
Beside of the coffee/typescript conversion, I mean.
Does browserify still have a purpose after es6
Of course it still has purpose.
Browserify/webpack resolves requires/imports and packages your code into a bundled file (or files). ES6 (ES2015) doesn't do anything to change that need.
Until the browser gets a native support for resolving require or import, many people will still want to package their code. Even then, bundling is still useful because you can package your code into a single http request instead of one http request per import.
Maybe after all browsers support http2 and native import, then you can start ditching the bundlers ^_^

Is it a must to learn html5/javascript for cross platform development? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
Based on my research, most (if not all) frameworks use html5 and javascript when it comes to cross platform mobile development. Are there any that use good ol' java or some other language? I haven't gone deep into front-end development and design, that's why.
EDIT: Came across this, and it cleared up my misconceptions!
If By cross-platform, you mean web-based apps? then you have to use html-javascript-css technology. (Phonegap, codova etc) but there is also C#-based apps, like those built using the Xamarin platform.
But native app development has more performace advantage over cross-platform for obvious reasons. :)
There are a lot Frameworks to work for cross platform developments.
I would recommend Ionic UI Framework, it built on Angular JS.
There is Xamarin Framework for cross platform mobile development using C#, but it's free version very limited.

Wants to switch to web development [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I am a QA engineer, wants to switch to web development..I have done some projects in my academic life in C & C# but all are desktop based applications..dont know from where to take a start with?
W3Schools is a pretty good resource. You should start with HTML and CSS, then move on to PHP and Javascript, then databases (MySQL, that kind of stuff) (and then perhaps some web frameworks based on other programming languages, like Django for Python or Ruby on Rails). That's a pretty long time from now, though.
That's assuming you want to go with a LAMP software stack (Linux-Apache-MySQL-PHP or something like that) which is what much of the web runs on. You can certainly go the Microsoft route with things like IIS and ASP.NET, but I don't know if that's the way to go (my experience is exclusively LAMP).
That said, HTML first, then PHP and JS, then databases, and you should have a working knowledge at that point.
The W3Schools stuff is pretty good for HTML, dunno about PHP (I like this tutorial) and Javascript (I'm sure Mozilla has some pretty great stuff on that).

Simple Interpreted Language Design & Implementation [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I need some resources for implementing a simple virtual machine and interpreted language. Something that is pratical is most useful. I have read the Virtual Machine Implementation book and found that it is quite old and doesn't represent the vms I see today. Also if someone know of a fairly simplistic language that would be great as well.
check The implementation of Lua 5.0
You don't say if this is for a new project, to work with an existing project, for learning, or what target environment, language, and OS you're using.
If you want to learn about implementing your own VM and scripting language, get the book Game Scripting Mastery. Despite its title, it is actually about implementing your own virtual machine and scripting language. The source code is for Win32, but the concepts can be applied to .Net or Linux.
As a bonus, when you're done you will have a playable, scriptable, 2D adventure game.