Friday, January 20, 2017

How to learn a progamming language in less than one hour

Well, I'm not encouraging you to do it. Of course, if you have time to dive deep into a programming language, please do it. However, in case you don't have a choice and don't know what to start, there are four fundamental things about almost every programming language:
1. Input: The target is just to learn how to push your data which called variables, into your program. You might learn to deal with some complex data structures such as list, vector or dictionary. However, it's always good to start with primary types like integer, double and especially string.
2. Output: Now, after knowing how to input into a program. You should learn how to write them out to the screen. This step sometime will be chosen to be the first step to make friend with a programming language. It doesn't matter. As long as you know how to push data in, and take them out to show on the screen, you're successful.
3. Conditional statements: Now it's the time you learn how to "drive" your computer to where you want to go. In most of the language, the "IF ... THEN ... ELSE" or ""SELECT...CASE" are those two common used for syntax. Learn it and navigate your ship the right direction.
4. Looping statements: Well, this time is for utilizing the power of the computer also the biggest reason why computer was born. The loop statements was born to help you to command your computer doing a repeated boring job even for millions times. "FOR" and "WHILE" are the keywords that mostly used. Using loop, you can command the computer to repeatedly does either known or unknown times.
In fact, above things are not everything of a programming language. There might be other things such as functions, methods, parameters ... but the given case was if you have to learn in an hour, one hour only! Turns out it's possible and if you could also do it, share with me, please. Enjoy your learning!

Tuesday, January 17, 2017

My TEDX Demo

Share with you my demo I made in Tedx. One of the best demo in Augmented Reality.



Enjoy! :)

SOLID - Bài 5: Dependency Inversion Principle

List các bài đã viết: Nguyên tắc cơ bản trong thiết kế OOP: Bài mở đầu Generalization và Specification SOLID - Bài 1:  Single Responsibili...