Labels

Wednesday, November 14, 2012

Best Korean Drama

Hiii friends,


Korean dramas are really nice and interesting than the others. I am kind of addicted to Korean dramas, From all the Korean dramas I have watch so far these are my favorites.  First I though of give ranks for the Best Korean dramas but its really hard coz I love all most of them a lot. 

I have already put a post in 'Playful kiss' so I'm not planing to write it in here.


Boys Over flowers

This is the Korean drama most of the people love. :D even me.This story is based  on  Group of four rich boys (F4) rules the school. Geum Jan Di a girl who is not rich but who never give up easily, got a scholarship to attend the same school as F4. story gets sooo interesting after this point. Geum Jan Di changes every thing and gets in to soo much trouble because of F4. Its a really interesting story. Anyone who love 'Kim Hyun Joong' or 'Lee Min Ho '  will love this drama for sure. 



Rooftop Prince

 This is the Most Funniest Korean drama I have watched. Best Time travel drama I have watch. Very long time a go Crown prince  and 3 of his trusted people mistakenly time travel to the 21st century  ,  the purpose of this is to find the truth behind how his beloved princess die. even How much i love the drama I really HATE THE ENDING :(  its really sad.  BEST thing about this drama is these 4 people LOVE omurice , after watching this I even tried making omurice (even though it didn't come the way it should ) . Cant wait till i got to eat yummy omurice.



Faith 

This is one of the latest dramas I have watched. It’s also a time travel drama (but can't beat the Rooftop prince). Long time a ago crown princess get hurt and they send a general through a door(door only opens very few time)  to the future ( they think as heaven) to get a doctor to save the princess. After the doctor saves the princess and trying to go back to the future the door get closed and doc stuck in the past. I was a bit confused in the middle but it’s a very interesting story. In the end I thought it will be same as the rooftop prince (sad ending) but It was a great Happy ending.



Protect the boss

 This is also a very interesting drama, great love story. Part I love the most in this drama is when boy confess to the girl. Girl tries to reason why she can’t like him. (Don’t mind the dots it means there are some more parts in it)

Boy - …….. I love U soo much …………….
Girl - …  Number One is
Boy – ohh there is Number 2 alsoo ????? ( in a sad mood )
Love this part a lot in this drama.





You're Beautiful

  This is one of the famous dramas. Worse part of this dram is I love other two Guys than the Main actor.  Love Jeremy sooooooo much I even cried a lot when he was telling that song. Wonder why this girl is soo stupid and didn’t notice that the other guy has already found out her secret. Even this is one of my favorite dramas I cried a lot watching it.  I recommend this drama to anyone who is interested in watching Korean drama.
 




Since this post is getting so long than I expected I just add the names and pic's of my favorite Korean dramas

Princess hours

  prosecutor princess

 Full house

city hunter 

 shining inheritance

 Coffee prince

Dream high 

lie to me

 My girl

personal taste 


Mary stayed all night

These are just few of my favorites if you guys know any other interesting  one let me know to :)
Have fun friends

Monday, November 5, 2012

Clean Code : Meaningful Names

Hi friends,

This post is also about How We Write Clean Code.
when we write clean code First thing we should consider is putting meaningful names. This is a pretty simple thing, only thing you have to do is just think of some thing nice and matching to what they do (variable, function or classes). If u have watch Smurf its just like that you give names that exactly match with their personality.

There are few things you have to consider when giving names.

- Use intention Revealing Names

when you or some one read you variable name they should get What you was planing to do with it.

- Avoid Disinformation

You have to be more careful when you tring to put Small names for variables, it should be more clear to others what you are tring to say. Clearly Do Not use soo much of small names in your code

Eg-:  If u write a code like this, can you say what is this A is really equal to is it zero or an another variable ???




- Use Pronounceable Names

 If you can Read the variable name loud in front of others without sounding like an idiot then there is No Problem. Just put names that you can pronuce Eg -: Do not use something like this 'genymdhms' (generation date, year, month, day, hour, minute and second)

- Use Searchable Names

When you write a big codes its not so easy to find variable and constants if you haven't name them properly .
Eg -: if you have just put 7 as the working Days of the week instead of putting a constant 'WORKING_DAYS_OF_THE_WEEK' ,when you want to change the working days you have to check all the 7 's in the code. You will be in trouble if the code contain so many 7's :(

- Class Names

 Classes and objects should have noun or noun phrase names like Customer, WikiPage,Account, and AddressParser.

- Method Names

  When you write a method make sure that you use verb or verb phrase like 'deletePage'

when you are writing names don't use much cute names that only you can get. may be some people get the what you meant but not all.Cuteness in code often appears in the form of colloquialisms or slang. Eg -: don’t use the name whack() to mean kill().

These are just a few things that you have to worry when putting a name. These are just Simple things that make your code much more readable and clean.
Hope you guys get the idea of how to put a good name :D

Be happy Always friends.