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

SEARCH KEYWORD -- Clean



  Clean Code Versus Great Code

I've had some interesting discussions with other developers about writing code recently. I often have the impression that some developers put too much emphasis on clean code. Don't get me wrong, i strive for clean code as well, and have written about its importance quite a lot in the past couple of years. But when i'm coding, clean code is my secondary goal and it could never take the place of my primary goal: making it work. And preferably, i want to make it work great. A lot of people love t...

   Code,Clean,Excellent,High quality,Compar     2011-08-10 03:27:08

  malloc/free and new/delete in C++

malloc and free are C++/C language standard library functions, while new/delete are operator of C++. They can be used to allocate dynamic memory and free memory in C++ programs malloc/free can not meet the requirements of dynamic objects creation. Object needs to call the constructor to initialize the object when creating, the object needs to call the destructor before it is destroyed  Since malloc() and free() are library functions rather than operators, the compiler has no control permiss...

   C++,memory,malloc,free,new,delete     2012-06-20 06:52:09

  Remote form submission

Remote form submission is way of submitting HTML forms from local to a particular remote server. This is used by many advertisers, spammers or even hackers to submit bad data to other websites in order to get what they want. They can write some automation scripts to help them do spamming. How can people do remote form submission and how to prevent this kind of attacks? Since a website can be accessed by almost every one, so one can save a local copy of a HTML form of a website through File->S...

   PHP,Security,Remote form submission     2013-07-14 01:04:49

  Google starts to clean up its service again

Google announced on its official blog that they would clean up its service again following the fall of 2011. They will close some features and services to stay focused and make good use of other opportunities.Google Reader and Snapseed are listed in the cleaning list. Google will switch off Google Reader on July 1 this year and end its service which exists in the past eight years, Users can export feeds using Google Takeout. Google said that this product did have loyal customers, but these year...

   Google, Google Reader,Close     2013-03-13 20:30:34

  Why no max/min function for integer in GoLang

You may notice that there is no max/min function provided to compare the maximum/minimum of two or more integers if you are a GoLang developer with some experience . In other languages, these functions are provided as part of the core lib functions. Have you wondered why?  Indeed GoLang provides max/min function in math package, but they are used for comparing float64 data type. The signature of these two functions are math.Min(float64, float64) float64 math.Max(float64, float64) float...

   GOLANG,MAX,INT,INT64     2019-06-08 07:00:55

  HeartBleed: OpenBSD now starts to clean up OpenSSL

Since the disclosure of HeartBleed bug in OpenSSL, some arguments emerge around the safety of OpenSSL, the largest open source SSL/TLS library used by large number of servers, applications. Some people are even starting to create their own version of SSL library. This includes OpenBSD, a famous Unix like open source operating system. Just a few days after the HeartBleed bug, OpenBSD forked a new branch of OpenSSL and started to clean up the forked branch and plans to merge it to its own cod...

   HeartBleed,OpenBSD     2014-04-15 04:21:26

  Live in Beijing and Thinking about Starting a Tech Company? Read. This. Post. Now.

The Disrupt Beijing Hackathon starts in a little more than 24 hours, and we’ve been working hard over the last few days to make it even more of a no-brainer for local Beijing developers to attend.In addition to the chance to be the next GroupMeor win valuable prizes, we have decided to give all Hackathon attendees who complete a hack and present in the 24-hour period free tickets to the Disrupt conference Monday and Tuesday. That’s a $1,000-plus value for s...

   Startup,Beijing,TechCrunch,Disrupt,2011     2011-10-28 12:41:43

  Stop Making Apps

There are a bunch of iPhone apps I own though I have no clue what they do. These apps include but aren’t limited to; FLUD, Apptitude, Cartoonatic, Can’t Wait!, Punch, Pah, Prize Claw, Traveler, Concur, Jajah, Fast Customer, Pimple Popper and many more whose names I can’t even remember.Occupying my valuable homescreen real estate are also a bunch of apps whose purpose I remember only because they were built by people I know or am friends with, but that I sadly never use. And ...

   App,Apple,Android,Stop     2011-11-12 10:54:42

  Is coding going to die?

There is always a voice recent years saying that coding will gradually die, software development is more like an assembly job. i.e, programmer will be more and more like IT engineers. They seldom build something from scratch, instead they achieve the goal by assemble different components. There are people who have similar views around me. From the book "Clean code" written by Robert C Martin-- "One might argue that a book about code is somehow behind the times—that code is no longer...

   Coding,Clean code,Disappear,Analysis     2012-03-15 14:37:35

  So you want to write JavaScript for a living?

What do you need to know if you are interviewing for a job that involves Javascript development? What kind of expectations do employers have of candidates now that the state of client side development has been changed with the rise of asynchronous JavaScript and the often slick, supporting interfaces? These were questions I was asking myself after a friend pointed me to an interesting job posting over at Meebo that included some JavaScript puzzlers on logical operators, DOM odditi...

   JavaScript,Career,Skills,Knowledge     2011-10-22 12:53:11