The concept of AS3 Bus Explained using C and Java

A bit confusing isn't it? Understanding the concept of a Bus through a Programming Language? If you don't understand 'C' (not She as in Sayak "Preet Ki Lat" CarMaker's case)...its the Language C discovered by Dennis Ritchie, it will be a problem for you to understand.

As you can see in the above figure we will slowly make you understand.

The first part is the return type. To tell it in very simple way...it represents what goes out of the Function which is AS3 Here.

The Second Part is the Name of the Function. Here it is AS3.

The Third Part shows what are the Function is taking in. 

What is AS3?

AS3 is a Bus which goes from Garia Station to New Town (for general people) and it has a great USP that it also comes back via the reverse route i.e. from New Town to Garia Station(for other creatures).

So what are the conclusions?

  • AS3 Bus does not have any outputs. Once a Passenger comes in He does not go out of the bus before the final destination is reached. i.e. Outflow = Null
  • AS3 Bus take in as many passengers as possible. The three dots (...) signify a function which takes in large number of inputs as arguments. So there is no restriction in the inputs. so Inflow = Unlimited.
These features also lead to many other derived features...(like inheritance in Java....)
  • First and foremost AS3 Bus follows Object Oriented Approach. Every other things acts like an object. It will seem that every thing is still except the bus. Just like a bunch of Statues as there are no interaction with people and often you will find people pushing and uff....aff...ing at every alternate minute. 
  • While inside the bus you cannot feel your body parts and often confuse with whats yours and whats others...:D
  • If you get a chance to grab a seat in AS3 then you are as much lucky as someone who wins a Lottery.
  • Encapsulation is obeyed also....you will always be protected from all the directions. Its more secure than Java actually, its like a BIOS password which has been forgotten.(though there are ways to recover). To know more contact Tejesva "Hacker" Dogger and Srinjay "Bhooka" Das(who is (n)ever so interested in learning).
  • Abstraction is maintained also....You are always abstracted from the destination until the conductor shots out loud.


Hope you liked the explanation.


Share on Google Plus

About Debraj Banerjee

    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment