Now let me post a couple of code snippets that are lying around here already for a while. For the uber geeks out there you might yawn seeing them, but there are a lot of people who are searching for this stuff over and over, including myself. So let me post some small useful snippets that have went through my fingers lately.
Reading on, you will see snippets that help you with 1) detecting if a variable is a real array 2) how to convert it into a proper array 3) how to mimic a x = [3..25] kinda thing that other languages offer 4) how to easily pad a string with leading chararacter (i.e. zeros) and finally 5) how to create a unique function for arrays.
read more…
This is a guest post by David Pfahler and Stephan Bönnemann.
Total reading time: 3:57min (based on Alex)
When you try to learn a new programming language or work with a new framework for the first time you’re likely to google something along the lines of “How to …” or “framework X tutorial”. As a developer you might also be the one writing how-to articles for your own creations. If you’re interested in turning your 569-page long, textbook-style manual in to a golden asset of yours, please read on.
Hello there!
I know, I know, it’s been too long since we’ve met. But let me make that up to you by this monster post. An Xmas special! Not because all the participants in this episode played nice with each other. Oh no, they most certainly did not. It’s a full out war! But more because, well, Xmas-eve is tomorrow :) So, let’s see how threw what mud in which direction and why.
Mind you this is about three weeks worth of news, out of order, so some of it might be a little “old”. Then again, I guess anything in this industry is old if it didn’t happen today…