safirsyifa サフィルシファ

Programmer’s Blog

Posted by: safirsyifa on: January 21, 2012

Assalamu’alaykum.. :grin:

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.

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

Advertisement

2 Responses to "Programmer’s Blog"

:)
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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Salaam..

Tiny Me..



I am safirsyifa, graduated from Information System Department of Institut Teknologi Sepuluh Nopember (ITS) Surabaya.. I am interested in IT (programming, research and new technology), Japan, design, game development and dorama..
See more here..

What day is it today?

Blog Stats..

  • 31,224 hits

Quote..

2012 . 02 . 06

So be patient. Indeed, the promise of Allah is truth. And let them not disquiet you who are not certain [in faith].
-- Quran 30:60

Inhale love, exhale hate.
-- unknown

When anger filled you up, just get readily to forgive. That will makes you shine.
-- unknown

The desire to write grows with writing.
-- Desiderius Erasmus

History..

License..

Creative Commons License
safirsyifa サフィルシファ - wordpress blog by safirsyifa is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

You're required to link to this blog whenever you republish my content.