Programmer’s Blog

Tea Time

Assalamu’alaykum..😀

Hai, kyou wa puroguramingu nitsuite ohanashitai to omoimasu.
はい、今日私はプログラミングについてお話したいと思います。:mrgreen:
Yes, today I want to talk about Programming.

As a programmer, either work in any language programming, sometimes we want to share something in our blog about programming. At this moment I want to share how to write post as a programmer. The main topic here is about how to write code.

Take a look like this.

/**
*
* @author Nur Safira Assyifa
*/
public class DrinkWater {
String message;

public Water() {
message = “Drink water at least 3 liters everyday, good for health.”;
}

public void drink() {
System.out.println(message);
}

}

This’s a bad one. You may find this difficult to read.

Write code 1

Write like this:

<code>Javac [ options ] [ sourcefiles ] [ @files ]</code>

You can have this:

Javac [ options ] [ sourcefiles ] [ @files ]

Write code 2

Write like this:

You can have something like this:


/**
*
* @author Nur Safira Assyifa
*/
public class DrinkWater {
String message;

public Water() {
message = "Drink water at least 3 liters everyday, good for health.";
}

public void drink() {
System.out.println(message);
}

}

Language supported — actionscript3, bash, clojure, coldfusion, cpp, csharp, css, delphi, erlang, fsharp, diff, groovy, html, javascript, java, javafx, matlab (keywords only), objc, perl, php, text, powershell, python, r, ruby, scala, sql, vb, xml

resources | here and here, click for more knowledge

good examples | click me, click me, click me

Reading Reference

Coding Horror, click me
Zen and the Art of Programming, click me

Ask Help

Stack Overflow, click me
Jeff Atwood, click me

4 thoughts on “Programmer’s Blog

  1. 🙂
    entah kenapa saya sedikit sakit hati karena blog saya dijadikan contoh penulisan yang buruk, saya akui memang buruk, tapi saya tidak suka jika itu dijadikan contoh tanpa seizin saya dulu. Keburukan tetaplah aib,saudariku..

    • @ adhityadwikristanto —

      baik, saya hapus contoh yg sudah ada, saya jadi dapet ide baru dari komen ini..
      saya minta maaf kalau memang kurang berkenan..😥
      #sharingiscaring

Would you kind to have any thought?

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s