ALL
The Role of Coding Skills in Advancing Tech Careers
In the fast-changing technical landscape of today, coding is not a unique advantage; it's a basic necessity. From a software engineer to a data analyst or digital marketer, being able to code will greatly expand the opportunities one has for their careers and how effective they can be in their jobs. This essay discusses how coding skills help one's career in the tech field and gives the basic concept of coding: objects, a building block for any modern programming language.1. Creates Employment OpportunitiesIn the digital era, when virtually all businesses are based on technology to some extent...
Go是一门面向对象的编程语言吗
Golang已经开源了13年,在最近的TIOBE编程语言排名中,于2023年3月再次进入前十名,并比2022年底的排名上升了两个位置。Go在2022年底提高了2个排名许多第一次接触Go的开发者来自面向对象的编程语言,比如Java、Ruby等,他们在学习Go后第一个问题通常是:Go是一种面向对象的语言吗?在本文中,我们将探讨这个问题。追溯在广为人知的Go编程语言“圣经”《The Go Programming Language》中,有一个Go与其主要祖先编程语言之间的亲缘关系图表。Go与其主要祖...
Polymorphism in OOP programming
Polymorphism is the capability of an action or method to do different things based on the object that it is acting upon. This is the third basic principle of object oriented programming. Overloading, overriding and dynamic method binding are three types of polymorphism.Overloaded methods are methods with the same name signature but either a different number of parameters or different types in the parameter list. For example 'spinning' a number may mean increase it, 'spinning' an image may mean rotate it by 90 degrees. By defining a method ...
9,157 0 JAVA OOP POLYMORPHISM OVERLOADING OVERRI
Should we use Abstract class or Interface?
When we write programs, we may often get into a situation where we don't know whether we should use Abstract class or Interface when we want to define an abstract object. These two are very similar and they are interchangeable in many cases. On Stackoverflow, this question is asked lots of times and it's related to many programming languages. Also in the official documentation of PHP regarding the Abstract class and Interface, people are arguing about this. To understand this question, their differences and use scenarios need to be understood first.Abstract class and Interface structureFor Abs...
21,892 5 COMPARISON OOP DIFFERENCE INTERFACE ABSTRACT CLASS
A re-introduction to JavaScript
IntroductionWhy a re-introduction? Because JavaScript has a reasonable claim to being the world's most misunderstood programming language. While often derided as a toy, beneath its deceptive simplicity lie some powerful language features. 2005 saw the launch of a number of high-profile JavaScript applications, showing that deeper knowledge of this technology is an important skill for any web developer.It's useful to start with an idea of the language's history. JavaScript was created in 1995 by Brendan Eich, an engineer at Netscape, and first released with Netscape 2 early in 1996. It was orig...
2,389 0 JAVASCRIPT TYPES ARRAY RE-INTRODUCTION OOP
Game Development Essentials #1 - Don’t use inheritance for your game objects
I recently released my first game, X Fleet, available now in Android Market. It’s a fast paced space shooter / rpg riddled with awesomeness and you should get it now.The reason you should avoid hierarchies/inheritance is your objects will be far too varied and complicated in form to be accurately represented as such. More on this below. The alternative is a component model. This is very basic. Instead of having everything inheriting (e.g. Object -> MovableObject -> AnimatedMovableObject), have your GameObjects include a list of GameComponents, and delegate behaviour from the ...
2,842 0 OOP GAME DESIGN INHERITENCE GAME OBJECT
C++ Versus Objective-C
What will programming in Objective-C mean to the C++ programmerDifferent Object Oriented LanguagesAlmost all of us have heard the term object oriented programming, and most of us have used C++. How will Apple's purchase of NeXT, and NeXT's framework using Objective-C affect us as we develop software? If we know C++ already, how hard will it be to get up to speed on Objective-C? Many people will agree that once they understand the concepts of object oriented programming it doesn't matter which language they use. To a degree this is true, but development is easier if the programmer adopts a prog...
3,049 0 COMPARISON OOP C++ METHODS OBJECTIVE-C PHILOSOHPY
Learning Ruby and Ruby vs Lisp
The company I work for has a lot of legacy Ruby code, and as Ruby has become kind of a mainstream language, I decided to get a book about it and learn how it works. As my learning resource, I chose The Ruby Programming language by David Flanagan and Yukihiro Matsumoto as that receives great customer reviews, covers Ruby 1.8.7 and 1.9 and is authoritative because the language creator is one of the authors. The book makes a good read in general. There are plenty of code examples, but not too much to obscure the prose. What I found first interesting, later annoyi...
6,673 1 OOP RUBY DIFFERENCE FEATURE FUNCTIONAL LISP