Ever wish you could test a snippet of code? Online. Like now! Or focus on improving an algorithm in isolation. Or have a moment of clarity and need to write a piece of code lickety-split. Yesterday, I found this online tool to do just that. That’s good for me, as I don’t have to create a whole new project in IntelliJ IDEA or use the CLI tools.
CodePad supports several of the most used programming languages. Unfortunately, it doesn’t support Haskell, a language I’d like to tackle this year. But for Scala, it’s really good.
The tool itself is easy to use and the compiler quick enough. In my case, I was using it to optimise a piece of Scala code to submit for an online coding exercise.
Learning to program in a new language can often be difficult. First, you have to learn the basics to code “Hello World”. Then comes the challenge of learning to use the advanced features. And finally, the challenge of using the language the way the creator had intended.
The challenge is finding exciting exercises and projects to tackle. Something big enough to sink your teeth in. Yet not so big that the challenge seems impossible. Continue reading “How to become the best mad skills programmer”
Twenty-sixteen was the year of habits of the rich, the successful and the powerful. If you wanted to be like any of these people you had to do what they did and poof, you’d be just like them; so you thought. A lot of these habits, backed by supposed science, we’re often contradictory. The rich and successful get up at 5 AM. While the other rich and successful were lazier and more productive in the afternoon. What the top ten lists fail to mention is that these are the habits of those people once they’ve made it. The habits could just as well have been: lies on the beach, sips Tequila Sunrises, does nothing all day. The habits that you want are those that get you there, which is a lot harder.
I’ve discovered is that simply trying to understand who I am is a tough job. I always have to think, analyse, and readjust my lifestyle. All based on what I’ve discovered about myself. It’s exhausting. Since I’ve been on this path, it’s become very hard to let go. I’m always worried about becoming complacent; the enemy of success. Or worse, focusing my energy on the wrong things. Continue reading “The Habits To be Rich, Successful and Powerful, But Not You”
I find that anything worth learning should be done by jumping in head first. Then find something halfway challenging and go to it. Hence, this is how I went about learning Scala. I’ve recently learned to program in Groovy to develop Spock based unit tests. Groovy was the first JVM language I learned outside of Java. And being pleasantly surprised, I decided to try my hand at Scala.
Why I Chose Scala
My reasoning for wanting to learn Scala is to get into artificial intelligence without straying away from the JVM. I have played around with Python which I really liked. But embarking on Python would take me into a whole new ecosystem. And although I would love to get involved in Python and its data science tools, I think that long term Scala may be the better option. Continue reading “Why I decided to learn Scala”
It’s amazingly interesting what you learn when you’re in the throws of unit testing code. It particular when you’ve written more code than you’ve written unit tests. Yeah, yeah, I know, unit tests should be written with the code as you go; TDD. But let’s face it sometimes you just need to get stuff done. Until you get to the point where you think that now’s a good time to unit test everything.
I spent the whole afternoon, up until 11:30pm writing unit tests. Refactoring some code to make some of it easy to mock. And other parts I rewrote simply because it’s the right thing to do for OOP’s sake. It’s fun. Not everyone likes to unit test, but I love it. It gives me that satisfaction that my code is well written. Especially that feeling you get when you know the architecture you designed is solid. And the libraries you’ve chosen haven’t failed you. Plus learning something new about Java 8. Continue reading “Startup Project – Part 3 : Testing, Mocking and Learning”
I was in a meeting recently with someone more senior having a great conversation. Everything was flowing. I was able to keep up and stay on the ball. Then he asked me one question and I answered it right away without much thinking. Suddenly, I felt everything go downhill from there. The meeting ended cordially, but with a little whimpering fizz at the end.
The problem wasn’t with the answer I gave, but how I provided it. I sounded so much like a junior. Of course, I need to figure out how to answer that question like someone with more experience would. But the point is that I caught it right after the meeting. Right then, I knew I had done something wrong. But also, I needed to do something about it. And be able to apply that fix the next time around. That’s adaptability. Continue reading “Learn to adapt in difficult situations quickly”
I want to know it all. I’m one of those people who reads everything and anything that comes up on my Facebook feed. I follow everything from I Fucking Love Science to Quora to Fortune Magazine to Pauline Nordin‘s fitness page. Topics that interest me are fitness and nutrition, leadership, soft skills, and self-improvement, sciences, technology, business, the list goes on. Every time I find something interesting that I can’t read right away I either save it in Pocket or click the Save Post link on Facebook. Just like my bookshelf, these are in serious backlog. Continue reading “Why I want to know it all”
Learn something new every six months, that’s what I discovered. Every job you will ever have needs two sets of skills. The technical skills that get the job done. And the soft skills that you use to get along with the people around you. When I decided I needed to get ahead in my career I realised that my soft skills needed a big boost. So I read and read and read everything I could get my hands on; books, articles, blogs, YouTube, etc. I read so much that my brain could process the information fast enough. Then after about six months I couldn’t do it anymore. I had read so much about leadership that I was about to explode. I needed to spend more time using what I had learned. I was reading beyond my needs. Continue reading “Learn something amazing every six months to improve your career prospects”
I remember when I was a junior/intermediate developer. I was brave, cocky and loved taking risks. The less I knew, the more I was willing to stick my neck out. I’d do things just to prove it could be done; there were no shortages of challenges. But with more experience comes more caution and less risk aversion. This was especially true as I became more aware of the ramifications of my actions. I couldn’t fall back on ignorance and lack of experience as an excuse.
But when it came to thinking up new ideas for products, I couldn’t think outside the box. Nor could I think of anything new and original. For every idea I imagined, I already had an opinion. Either it was too simple, or would get done before I’d have the time to say “boo”. I always found something to demotivate me. I didn’t know how to come up with ideas. What problem could I solve that? What wrong was there in the world that required my particular brand of skill. The only thing I was becoming sure of was that I needed to put myself back in my shoes as a junior developer. Find something that would light that fire. I wanted to take a risk into the unknown. Continue reading “A Startup Project – Part 2”
Recently, I started working on a startup project that I am motivated doing. I had been looking for an idea ever since I can remember. But every idea I thought of always required a heavy upfront ramp-up. The only condition for this idea was that I would find frameworks that were easy to use. Yet would be easy to swap out at a later time. So I set out to search for what I needed to get started.
I did a lot of research into all sorts of frameworks and was impressed with what I was finding. I had already decided that I was going to develop my solution in Java with a MongoDB database. My only condition is that the frameworks and libraries had to be simple, focused and mature. Continue reading “A Startup Project – The beginning”