• Advertisement
Sign in to follow this  
  • entries
    570
  • comments
    2427
  • views
    216616

Entry #53

Sign in to follow this  

81 views

  • Random Observation of the Day!!
    You know, more people read this journal than I realized. I should sell some adspace and make some monnies...

You know, I've been thinking. C++ is one messed up language. So, when I write my own implementation, I will carry out this tradition.

I found it odd that a
char*
, by standard, should be terminated with a null character. Which, normally is '\0'.

Well, I want to optimize this. '\0' is 4 keystrokes (or 2, however you look at it). Anyway, after much deliberation, I have decided to change this to 'Q' in my implementation. I mean, who the hell ever uses that?

Welcome to M++, where every optimization counts...
Sign in to follow this  


2 Comments


Recommended Comments

I like it. I can't think of a time that we need to use that letter normally. Use the letter X for a line feed. Even MORE power.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement