About a year ago, I made a new year resolution to take a few months away from contracting and finally publish a game. I’m already thirty and some change and have been developing games for fun since I was a little brat.
That, predictably turned out pretty much like you’d expect a new year resolution to go, it never came to pass.
For the past month and some change, actually might’ve been two months already (It takes a day to write a proof of concept, weeks to land it). I’ve been busy re-thinking Deno’s testing tools.
We’ve had a test runner since before I got involved and it worked just fine. But it was as barebones as you could make it so I rewrote all of it.
For the last couple of years, DigitalOcean has been running Hacktoberfest with the intent to contribute to open source by giving free t-shirts to people who send pull requests to open source repositories.
While it’s a nice idea it misses the mark and in practice the net results is sponsored spam as a service that wastes both the times of maintainers and contributors.
While a lot of the complaints on this has been on the spam factor, which certainly is annoying it isn’t the end of the world and the harm done by DigitalOcean here will pass soon enough.
Deno pushed out it’s first major release a not too long ago generating quite a few hot-takes. This isn’t going to be a hot-take but a look at what Deno is, where is it at right now and where it could go from a new contributor’s to perspective.
So the first question here would be what the heck is Deno?
Now, I wouldn’t go as…
Back in the 90s when I was a kid I dabbled around a bit with BASIC on the Commadore 64 whenever I got the chance to jump in front of one at someone else’s house. I wouldn’t really call it programming as it was more like data entry. We would just copy snippets of code that came in printed magazines but games were definitively something I wanted to make but without access to a computer nothing came of it.
I leave my direct-messages open so I get a lot of questions on Twitter from budding developers; “Can I ask you a question about programming?” is a common one often followed up with the same question repeated again some time later.
One thing no one ever asks me is general advice on how to approach programming so I’m going to go ahead and give my bits of advice on it anyway.
Programming should be fun and it is, but you’re going to have to walk before you can run. …
I’ve taken a liking to Go, the key reason being it’s a simple language. But this leaves you, the developer, with less options for being clever. If you have to be clever to write a program, you’ll have to be twice as clever to maintain and debug it.
So to showcase the beauty and simplicity of Go, we’ll walk-through a classic little “Hello, World!” program.
There are a bunch of ways we could get to an output that contains “Hello, world!” Preferably this would include a blockchain and neural network on a serverless architecture for maximum hype factor, but doing…
Let’s go over some of the gotchas I see come up quite frequently as sources of confusion, both new and old.
Arrow functions provide a terser and shorter syntax, one of the features available being that you can write your function as a lambda expression with an implicit return value. This comes in handy…
I’ll admit it — I don’t always use a debugger to figure out what’s going wrong in my program. If my mouse clicks start printing documents down the hall, then it’s time to break out the most powerful of all debugging tools: the console.
The reason is quite simple. When a program is interactive, involving a break-step debugger becomes tedious and interrupts the flow. In times like these, it’s easier to just jump into a few key places in the code and trace the program’s state to figure out where the program is taking a wrong turn.
You’ve might not have noticed this as it’s a very subtle bit of trivia but in your browser there are pre-defined colors which aren’t what they seem. If I were to tell you that the swatches above are named light-gray, gray and dark-gray could you place the names with the color swatches?