Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 PROGRAMMING


  Does CEO of a tech company need to know programming?

For tech startups, there are usually only a few people at their early stage. To complete all the coding work in a short period time, it often requires that every one of the team including the CEO knows something about programming so that they can help complete the tense work as soon as possible. But does the CEO of other tech companies also need to know programming?As the CEO of a company, it's not necessary that they have to know about programming. The main job of CEO is to coordinate all the business of the company and deal with external business such as shareholders and potential investors....

12,576 0       PROGRAMMING CEO BENEFIT


  Simple explanation about process and thread

Process and thread are two basic concepts of operating system, but they are a bit abstract which cannot be  mastered easily.There is an analogy which explains these concepts very well.1. The kernel of the computer is CPU, it handles all the computing tasks, it's like a factory and will run all the time.2. Assume there is power limitation for the factory, it can only supply to one unit once,i.e, when one unit is working, other units must stop and wait. The meaning behind this is that each CPU can handle only one task at once.3. Process likes the unit in the factory, it represents the singl...

11,771 0       PROCESS OPERATING SYSTEM CPU THREAD


  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,626 5       COMPARISON OOP DIFFERENCE INTERFACE ABSTRACT CLASS


  How to be an excellent programmer

To use a programming language is very easy for a programmer, but it's a dream for many programmers to be an expert software developer. There are five levels of programmers: Novice, Senior novice, competent, proficient, and expert. Most programmers are senior novice. And programmer living in this level are a lot of people who have 1 to 10 years work experience.As a programmer, how to find the bottlenecks for your improvement and how to improve yourself quickly? This is really not an easy question which can be answered in a few words. I started to work in software industry in 2009 and I left the...

4,691 0       PROGRAMMING TIPS HABIT


  Some useful code editors for developers

A good code editor will save developers much work. It can help developers find syntax errors easily through code highlight capability. It also makes the code more readable and maintainable through the indentation. Here we recommend some excellent code editors which you may want to have a try.CompilrCompilr is an online IDE, it supports 8 languages as of now including : C, C++,C#,Java,JavaScript,PHP ,Python,Ruby and Visual Basic. Compilr is developed by Ninjia Otter Inc in Canada.CodeMirrowCodeMirrow is implemented with JavaScript, it provides the code highlight and indentation capabilities for...

6,149 1       CODE EDITOR CODE HIGHLIGHT


  20 bit operations programmers should know

While talking about bit operation, programmers usually think about its efficiency. In embedded programming and system core optimization, appropriate use of bit operations is always a fascinating. When finding a job, it will help you a lot if you use bit operations when writing codes. Mastering simple bit arithmetic skills is necessary.1. Get maximum int valueint getMaxInt(){          return (1 << 31) - 1;//2147483647,   }  Another way:int getMaxInt(){     &nbs...

27,888 6       TIPS BIT OPERATION


  How small should a function be?

"The well-designed functions are often relatively small, large function design is often a mess or there is a lot of room for optimization."Maybe you think there is no need to discuss the size of functions, because the nature of the function design is cohesive, its size is only its manifestations. But it is necessary to discuss about the size of function because the statement above .First let's understand the concept of minimum code processing unit : a basic operation (assignment, comparison, etc.) or a function call is seen as a minimum processing unit. The reasonable number of minimum process...

4,280 0       OPTIMIZATION FUNCTION SIZE


  Programmer professionalism

Programmer is a lifetime occupation. But first, as a programmer you need to love programming, rather than just an occupation to achieve other goals in life.Now if you plan to spend decades of life on programming, then you should continue to think about what is more efficient. In other words, how are you different from who you were a decade ago and how will you be better than who you are now a decade later?In my opinion, a programmer, regardless of his work, should improve himself in three aspects.First of all, keep the curiosity of the unknown, try to broaden your views.If you are proficient i...

4,038 0       PROGRAMMER IDEA