Tag: javascript
-
Why functional programming?
This is a post to discuss the benefits of functional programming (FP) for those who don’t use functional programming and I guess most relevant for full stack developers – you love your JavaScript and your SQL children equally. tl;dr: FP combines well with SQL, is easy to learn like Excel, is declarative, makes you think…
-
Composable
What does it mean to say that something is composable in JavaScript? These are some notes after watching the funfunfunction Promises video. Callbacks are not composable, but Promises are. My simple understanding of composing two functions is just calling one function inside another: The example compares callbacks: vs Promises: Or in individual terms, we can…
-
Javascript REPL
I really like the simple ‘console’ REPL that you have in a browser debug tools. I wanted to recreate this in VS Code. tl;dr Debug console It turns out after lots of experimenting this can be also done with the ‘Debug Console’ when you start a debug session – see VSCode debugging. This is exactly…
-
VSCode debugging
What I don’t think a lot of VSCode users are used to is constantly living with the debugger turned on. Most web devs grew up in a world without Visual Studio, so console.log is the norm. However anyone who used Visual Studio for Visual Basic or C# development will know the power of constantly using…
-
Attacking the modern JavaScript world
Learning all the JavaScript libraries that have come out in the past two years is hard work. I attacked the modern Javascript approach through first focusing on functional programming. 1) Python + functional programming in Python Python is hardly a pure functional language, but it’s lovely and simple and has all the core concepts including…
-
Lock Stock Pomodoros

I give you http://pom.ianchanning.com. Pomodoros with a Lock Stock film quote at the end of each one. I’m a little obsessive about timers (see bottom) and the other pomodoro timers I’ve tried failed on different counts. I’ve tried to cram everything I find useful about a timer. Firstly spacebar to start/stop. The timer should be…
-
Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience
If you get the error “Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience.” from IE8 (Internet Explorer 8), there’s a chance it is a problem with jQuery specifically a bug with jQuery v1.6.2. The solution is to upgrade to the latest version of jQuery. I found the problem…