Posts

Showing posts with the label software engineering

Clean code, dirty code, human code

Image
Last week, Dan Abramov posted a very personal and humbling blog post entitled  Goodbye, Clean Code . I saw a tweet about this in my timeline and, being a long-term proponent of “clean” code, TDD and things of that ilk, I was naturally concerned. Here’s what I replied with. Daniel Irvine @d_ir @dan_abramov  You’re conflating two separate things. One is the desire to write clear, well-structured code. Another is your belief that your code is more valuable than that of your colleagues. I fear you’re missing the more important lesson. Human code > clean code > clever code > dirty code 15:00 PM - 12 Jan 2020    1   25 I dislike Twitter because it’s so hard to find any nuance to arguments. So in this post I’ll explain what I mean by  human code . It’s easier to blame code than it is ourselves I think it’s wonderful that Dan is blogging about deeply personal experiences in his career. Many programmers who become team leads will have had a similar experien

Become a software engineer today.

Image
The Skills that You Need to Hone to Become a Software Engineer Software engineering jobs are expected to increase in demand by 25% over the next decade. Software Engineering is one of the top jobs of the 21st century. It's likely one of the fastest ways to a six figure income, in the U.S. at least, and it can be a  skill set  that can take you a variety of different pathways in your career. Getting a job as a software engineer is also a particularly interesting process because this career specifically is much more skills and potential based than it is formal education-based. That's to say you can get a promising job as a software engineering, in many cases, without a formal education.  So, if you want to become a   software engineer , let's take a look at a few of the things you should probably start doing to set yourself up for success. Learning a programming language One of the first steps to becoming a software engineer or even just evaluating whether

Let's Learn some Python Today

Python @property You will learn about Python @property; pythonic way to use getters and setters. Python has a great concept called property which makes the life of an object oriented programmer much simpler. Before defining and going into details of what @property is, let us first build an intuition on why it would be needed in the first place. An Example To Begin With Let us assume that you decide to  make a class  that could store the temperature in degree Celsius. It would also implement a method to convert the temperature into degree Fahrenheit. One way of doing this is as follows. script.py IPython Shell 1 2 3 4 5 6 class Celsius : def __init__ ( self , temperature = 0 ) : self . temperature = temperature def to_fahrenheit ( self ) : return ( self . temperature * 1.8 ) + 32 Run Powered by DataCamp We could make objects