Tag Archives: tips

Are you making these 10 common coding mistakes?

coding mistakes

GUEST POST. Jade Gardner is a PHP developer at Hire PHP Develop. She likes to share thoughts on coding, development and web design.

It’s easy for coders to fall into pitfalls, if they’re unaware of the right points to follow. Simple yet powerful coding mistakes can make you fall deep in a mess, from where it’s hard to come back.

But if the coders are well aware of common mistakes beforehand, then half of their work is done. They won’t risk making those mistakes, once they are aware of the negative consequences.

It’s time to learn a bit more about the top 10 coding mistakes:

Billers, coders and other practice managers are cordially invited to take a quick look at the coding mistakes, which many of us make unknowingly.

1. Don’t play it fast

Remember that failing to learn the basics can undercut your code instantly. Most of the time, people overlook the arbitrary behavior of the user, which can otherwise affect your programming session.

2. Using reference like value

Coders try to control the values; they are assigned to or focus entirely on the reference of the exiting objects. Now this decision can only be take place by the programmer, known for writing this object and not by those, initialing and assigning it to the chosen variable.

3. Don’t trust your client blindly

Some of the worst security bugs will take place when the developers assume their client’s device will do the proper thing. And trusting clients blindly can be a foolish idea.

4. Neglecting the present libraries

This is a great mistake, especially common with Java coders. They do not have the right to just ignore the multiple numbers of libraries, as written in the Java sector.

5. Forgetting to free up resources

Whenever any program opens a new file, it is duty of the coder to free some resources. And that needs to be one, when they are through with the program.

6. Misunderstanding the default value

In some programming section, value types cannot be null. These are uninitialized variables with a value to it, termed as default value. And the coders must understand this default value for some variables, too.

7. Missing the “break” keyword

Java issues can be quite embarrassing and can remain undiscovered unless those are run in production. Therefore, coders must work on the “break” keyword, for a promising switch case block.

8. Working too much on frameworks

Coders have a tendency to function more towards frameworks and dedicate most of their time on that. This can be an easy mistake to overcome.

9. Control simplification

Coders, avoid those complicated controlling codes. Simplifications can go a long way.

10. Don’t sweat the details

Do not try to infuse more towards details. That will take some unnecessary time and devoid you from performing on next codes.

Following these 10 points is crucial if you want to avoid mistakes in near future.

4 tips to get you started with coding

FotorCreated

It has been said that learning to code will be as crucial as being literate in the near future.

While there is a debate if that is true or pure exaggeration, more and more jobs in the media industry are demanding coding skills and more people are trying to push themselves to learn simpler languages such as HTML and CSS.

The question many beginners have is: where to start? Project Ada had a chat with Alison Benjamin, a web developer at the Frontline Club, who got into programming mainly by teaching herself.

“I have a non-traditional tech background; I did my BA in Arts and focused on information systems during my masters in Library and Information Science, but a lot of things were self-taught. I was lucky enough to have people all around me that would help me to learn,” she says.

Alison Benjamin, web developer at the Frontline Club

Alison Benjamin, web developer at the Frontline Club

 

At the end of her masters at the University of Toronto, Benjamin got Google Summer of Code grants in 2010 and 2011.

In 2012, she left Canada to take up a job at the Frontline Club, where she is responsible for developing the Frontline Club’s Web properties and its digital strategy.

If you are interested in learning to code, but have no clue where to start, here are her tips to break into the world of programming:

 

 

Teach yourself online

“There a lot of resources online. MIT OpenCourseWare puts university-level computer science classes online. Codecademy and Code School are aimed at beginners and deliver lessons via a game-like pedagogy. It is like learning languages.”

Go out and meet people

“Going to places like Hacks/ Hackers and asking questions is good. You might approach people and say ‘I’d like to contribute to these projects, my skills are A, B and C and I would like to learn X, Y and Z’. There are many people willing to talk about their experience in development, in journalism or in both. That may be a way forward.”

Start a website

“Do pragmatic things like building a website. Start doing your own maps and graphs, put your work on the web on platforms such as GitHub and see if that works for you.”

Use your spare time to learn something new

“In my spare time I do a couple of development projects. At the moment, I am interested in D3. This is a really popular JavaScript library that allows you to visualize data using SVG, JavaScript, HTML and CSS. It is extremely powerful and you can make visualisations with CSV spreadsheets or geographical data as a source. You can build everything, from charts to animations.

“The great thing about D3 is the rich community behind it. People post the code and datasets behind their projects on GitHub and in gists. You see something and think ‘this is a cool project. How did they get here?’ and you can go and see what is behind the visualisation.”