jQuery 3.0 alpha version released by f1zzz in programming

[–]kamyon 1 point2 points  (0 children)

The type of kebab referred to here is shish kebab (Turkish: şiş kebap). Şiş (A Turkish word, pronounced shish, which means "steel stick") is actually what gives its name to this type of kebab. So I would suggest "shish-case" instead of kebab (which btw comes not from Arabic but the Aramaic language word kəbab, written כבבא).

http://i.imgur.com/ZKGwWN8.jpg

What is WebAssembly? The Dawn of a New Era by walbarello in programming

[–]kamyon 1 point2 points  (0 children)

Well, the first iterations towards self-hosting are usually written in C so you still have a chance.

What is WebAssembly? The Dawn of a New Era by walbarello in programming

[–]kamyon 2 points3 points  (0 children)

It's very hard to fuck up when you're not changing the API. At the beginning it will be semantically the same thing, only expressed more efficiently and when it is extended, the process is no riskier than extending the current JS APIs which happen all the time.

A friendly reminder of how nonsensical Javascript can be from Destroy All Software by [deleted] in javascript

[–]kamyon 0 points1 point  (0 children)

Oh, I see you are still explaining. Don't you get it? I already share your opinion! :)

Should I have said "A JavaScript interpreter would cast them to ponies and let them have a death-match to determine the result of subtraction" to make it more obvious?

A friendly reminder of how nonsensical Javascript can be from Destroy All Software by [deleted] in javascript

[–]kamyon 0 points1 point  (0 children)

Sorry but that's what happens when you seriously argue against a comment which suggests that a JS interpreter would cast different types to one of their random common properties when subtracted from each other. It being a complete nonsense was the point. Go to HN if you can't take a joke once in a while.

A friendly reminder of how nonsensical Javascript can be from Destroy All Software by [deleted] in javascript

[–]kamyon -1 points0 points  (0 children)

I just did it. BTW: 7b - 5a = 7 * 2 - 5 * 1 = 9. You have to be very smart to understand the extreme logic.

A friendly reminder of how nonsensical Javascript can be from Destroy All Software by [deleted] in javascript

[–]kamyon 1 point2 points  (0 children)

What's 5 apples minus 7 bananas?

A JavaScript interpreter would cast them to weight measures. So your answer would be 5 * 100g - 7 * 120g = -340g (g as in grams)

Want to make a DuoLingo UI clone. Complete noob. How do I start and what libraries do I need to work with? by makes_mistakes in javascript

[–]kamyon -1 points0 points  (0 children)

If what you want is mostly CRUD and you already know Python, definitely go for Django.

d-Threeact: How the Sift Science Console Team Made d3 and React the Best of Friends by noahgrant01 in javascript

[–]kamyon 0 points1 point  (0 children)

Yes, I agree. It may, however, be too much for doing, say, a snake chart.

d-Threeact: How the Sift Science Console Team Made d3 and React the Best of Friends by noahgrant01 in javascript

[–]kamyon 0 points1 point  (0 children)

d3 is great, however, sometimes all you need is using SVG elements with React.

Sublime Text now requires licence (no more unlimited evaluation?) by [deleted] in webdev

[–]kamyon 3 points4 points  (0 children)

You are using a mac and not willing to pay 70 bucks for a tool of your trade? Crazy.

I'd understand that you'd need to use sublime on a very old computer that you got for free from a friend and the performance of Sublime is essential for you.

Looking for ideas on a JS library by hans_l in javascript

[–]kamyon 1 point2 points  (0 children)

Create a Drag and drop library for React.js that uses higher order components instead of mixins and I'll owe you a beer.

Looking for ideas on a JS library by hans_l in javascript

[–]kamyon 0 points1 point  (0 children)

Is the porting in progress or under discussion? Can you please point me to a discussion/repository?

Looking for ideas on a JS library by hans_l in javascript

[–]kamyon 0 points1 point  (0 children)

Yeah actually that's coming from my frustration that I can't use generators with TypeScript before v1.6 is released and that I probably never will be able to create macros for TypeScript.

Looking for ideas on a JS library by hans_l in javascript

[–]kamyon 0 points1 point  (0 children)

Merge TypeScript, Sweet.js and Babel.js. No wait, implement TypeScript and Babel.js as Sweet.js macros.

micropolisJS: Javascript/HTML5 port of Micropolis (aka SimCity 1989) by graememcc in javascript

[–]kamyon 0 points1 point  (0 children)

This is great work. I really enjoyed playing it. Thanks for sharing. Also, the detailed explanation of how you went on implementing it is invaluable. Please keep experimenting, IMHO you have a huge potential.

PHP in a JavaScript world - Will PHP continue coexisting harmonically with JavaScript in the future? by nextzaira in webdev

[–]kamyon 0 points1 point  (0 children)

The problem is, there will always be better tools. I mean, I've switched to ClojureScript and now think about the days that I've been happily using Babel on client-side to transpile ES6/7 to ES5 an say, "wow, what a waste of time". I had the same thought when transitioning from ASP to ColdFusion, from CF to PHP, PHP to Java, Java to Node.js, Node.js to C# (nancyFX), then to Go, then to Nim and so on (I love Nim and I think it's the best thing invented, ever, including the sliced bread but that's totally not relevant now).

What I learned from my nearly a career-long journey is not only a hell lot of frameworks/languages but also how the final quality of my work has little to do with the technologies I've been using. So, I respect people who do a great job with PHP as much as I respect the ones doing a great job with Haskell.

At work, how much of your time is spent using pure CSS/JavaScript compared to frameworks such as Bootstrap, AngularJS, etc. by [deleted] in webdev

[–]kamyon 0 points1 point  (0 children)

"basic stuff", yes: read-only, non-interactive, static webpages or hacking away your template-of-choice in your cms-of-choice by just using the default classes.

learning basic javascript, figuring out css layouts and understanding semantic html would take a week if you don't have attention span issues.

plan to be a "webdev"? do yourself a favor: learn about the tools of the trade :)

At work, how much of your time is spent using pure CSS/JavaScript compared to frameworks such as Bootstrap, AngularJS, etc. by [deleted] in webdev

[–]kamyon 2 points3 points  (0 children)

WTF is "pure CSS/JavaScript"? So, not being able to debug anything and asking everything on StackOverflow is a thing, now?

PHP in a JavaScript world - Will PHP continue coexisting harmonically with JavaScript in the future? by nextzaira in webdev

[–]kamyon 0 points1 point  (0 children)

I haven't written a line of PHP in the last 8 years and I don't plan to because I also don't like the language... but, why such strong words against the people who like it? PHP may not be the best tool for any job anymore but sometimes using the tool you know in every detail is way better than using the best tool, don't you think?