Open in app
Home
Notifications
Lists
Stories

Write
Kenneth Kasajian
Kenneth Kasajian

Home

Jan 5, 2018

I Browserify

Let’s say you have two files: — foo.js — module.exports = function(n) { return n * 111; }; — main.js — var foo = require('./foo.js'); console.log(foo(5)); That you can run with: node main.js right? Now, if you have browserify, you can do this: browserify main.js >bundle.js This will create a…

Java Script

2 min read


Oct 3, 2017

A Kent Beck Heuristic

“If an idea is obviously bad, find a cheap way to try it because if it turns out it’s not bad then it’s really interesting. If you have a good idea that’s obviously good, somebody else has probably tried it before.” Reference: https://youtu.be/z9quxZsLcfo

1 min read


Jul 22, 2017

When I had to learn a new programming language in a single day

This may sound like an opportunity to boast, but it is not. Rather this is a story of foolishness, and how one responds when one’s back is against the wall. I took a year off in college, got married, moved, and enrolled to new university so that I can continue…

Programming

3 min read

When I had to learn a new programming language in a single day
When I had to learn a new programming language in a single day

Apr 16, 2016

Progressive Transpilation

In recent years, it’s been common for JavaScript (aka EcmaScript) programmers to use Source to source compilers, also known as “transpilers”, to convert a more enhanced or modern version of the language to an earlier version that can run on older browsers. Transpilation: purpose In the past, developers had to wait until…

Java Script

7 min read


Apr 6, 2016

checking in node_modules

npm install you see this all the time in a build step, such as here: http://www.codecadwallader.com/2015/03/15/integrating-gulp-into-your-tfs-builds-and-web-deploy/ Most people do not check-in their node_modules folder structure to source control. No. …

NPM

3 min read


Jul 10, 2014

My JavaScript Journey

hopping through the decades — I first encountered JavaScript in NetScape Navigator. But being a Windows developer, I learned its details from Microsoft documentation, which was written such that VBScript and JavaScript were treated as first-class cousins. At the time, being able to write a script that executes in an HTML page was the big…

3 min read

My JavaScript Journey
My JavaScript Journey
Kenneth Kasajian

Kenneth Kasajian

(everyone should learn to code. https://hourofcode.com)

Following
  • Cory Doctorow

    Cory Doctorow

  • ReadWrite

    ReadWrite

  • Matt Wrock

    Matt Wrock

  • Intel

    Intel

  • ShapeShift

    ShapeShift

See all (780)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable