DEV Community

Cover image for Dev.to 7-Series: How to get started on writing code
Farheen Shaikh
Farheen Shaikh

Posted on

Dev.to 7-Series: How to get started on writing code

Practice daily by deciding study time

Practice Practice Practice ...

Improving coding skills requires dedication and consistent effort. You can set boundaries. Start dedicating time for learning.

Set 2-4 hours in a day where you can decide breakup of study material. Watching tutorial, writing code, doing testing. Playing around code is fun. You can try things on your own.

With free online courses, documentation, communities and books - you can
definitely start grasping coding fundamentals without spending any money.

Setup you development environment and choose your favorite IDE. An integrated development environment (IDE) is a software application that helps programmers develop software code efficiently.

As a new programmer use of IDE will help you lot of ways. It increases developer productivity by combining capabilities such as software editing, building, testing application.

Start writing you first "Hello World!" program.

I am going to share one tutorial. I am using Java and IntelliJ IDE to write this problem. You can use programming language and IDE of your own choice.

Once you feel you ready to take challenge. I would suggest use HackerRank
for taking up problem challenges.

You must follow these steps to successfully complete first tutorial.

  1. Download and install latest Java version
  2. Set environmental variables
  3. Download and install IDE to write code
  4. Create new project
  5. Run the project
  6. Done

Congratulations... You've made it!

First Code Hello World and welcome, IntelliJ provides you sample code to begin

Below is the sample code.

package org.spring;

public class Main {
    public static void main(String[] args) {
        System.out.printf("Hello and welcome!");
        for (int i = 1; i <= 5; i++) {
            System.out.println("i = " + i);
        }
    }
}
Enter fullscreen mode Exit fullscreen mode

Please refer to below images attached for your reference

IntelliJ images

IntelliJ images

IntelliJ images

IntelliJ images

Alright. So this was the end of this series.

Hope you liked it. As I shared, useful information for those who are willing to start coding.

Thank you so much.

Top comments (0)