As you may know, arrays in Java are not dynamic by default, so you will have to implement ways to make them that yourself. You CAN change the elements in an array but you CAN'T change the size ( add or remove ) elements after the array has been initialized. In this post I will show you how to change arrays dynamically by using some methods.
Showing posts with label PROGRAMMING. Show all posts
Showing posts with label PROGRAMMING. Show all posts
Friday, April 26, 2013
Sunday, February 10, 2013
Advanced Notepad
Notepad++ is a sophisticated version of a simple notepad that we all know and love. Actually it differs very much from it. You can check the features list at the end of the post. Here are some pictures to see what the software looks like.
If you don't have the time to add your own language settings then you can simply get the one you like that are made by other people from here (yes, the settings can be shared which is awesome). There are a list of extra plugins for Notepad++ that may interest you in here.
If you don't have the time to add your own language settings then you can simply get the one you like that are made by other people from here (yes, the settings can be shared which is awesome). There are a list of extra plugins for Notepad++ that may interest you in here.
Monday, January 14, 2013
JUnit Testing In Java
Why use JUnit test
The best reason for testing your code is that you can find your bugs and errors early and you don't have to burden your head later when you have already put it all together. It can save a lot of time in long-term. If you have a lot of code to cover and change it often, testing it is very recommended.
Wednesday, December 12, 2012
Writing Clean And Understandable Code
This post is about all the programming languages, wheter you are writing your code in C, C++, Python, Javascript, PHP, HTML, it doesn't matter, these tips apply to all of them.
What is clean and understandable code and why is it important ?
Reading bad code usually takes more time than it did writing it.
If you are a programmer and know the syntax, the code should be easy to read and shouldn't take much time to go through. You will have to teach yourself to improve your code writing skills, meaning that you will have to practice it and inspire yourself to take time and keep the code clean, even when writing a very simple and short code.
Code is clean, when the people, who don't understand programming or know the syntax, read the code and get an idea of what is happening on certain lines and places.
Subscribe to:
Posts (Atom)