Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


unexpectedly

Member Since 12 Sep 2013
Offline Last Active Sep 21 2013 12:53 PM

Posts I've Made

In Topic: My OLD Syntax

13 September 2013 - 04:07 PM

That's awesome. :) And a great read. It reminds me of my expectations: php is a chainsaw to get the job done and I don't really expect much from it. I expect more from C and C++ and they demand more of my thought to work correctly. (so, I'm spoiled by php)

 

I really like that dude said to go learn python. Always have been meaning to. Seeing the reference and reading some led to my big chuckle for the day:

Go learn Lisp. I hear people who know everything really like Lisp.

 


In Topic: My OLD Syntax

12 September 2013 - 01:43 PM

Curly brace arguments. Keeping programmers busy since 1969. tongue.png

 

Besides, the only correct brace style is the one I use.

 

HA! Until the Director of Software Engineering enforces his own personally preferred ideology upon his subjects. Sadly, dx'ing indexes stuck with me. (idx, jdx, kdx)

 

 

 

I only code on mechanical keyboards. So addicted to them, I bought them for every high-use workstation at my business.

 

if (keyboard_check(vk_left)) {
     x -= 5;
                             }

 

* snort *  <--- I can feel aforementioned Director of Software Engineering twitching already...

 

if 
(
      keyboard_check
      (
          vk_left
      )
) 
{
        x -= 5;              
}

 

* sigh * that makes ME twitch. :(  The first time OOP was choked down my throat, that's how those people coded. And were paid. Well paid.

 

Also, what sane language that allows bool to int casting doesn't represent the bool as 1 or 0?

 

Probably PHP. It has buried me with it's too-easy casting before.

 

Great. Very nice, except we don't know what true and false are. This isn't mentioned anywhere within those 1,300 pages. For all we know, false could be 354357 and true could be 77342.

 

Two things I miss the most from PHP: === operator and all variables needing to start with $. The $ thing makes it easier for me to see my own variables in the other mess of logic. And the === identity is true only if value and type match. So you can do a ===0 or !==0 and not really worry about accidental 1/0 true false problems.

 

I'm coming back to C (and sadly C++) from my too many years of PHP hacking web apps for my business. The C++ is for embedded things and we don't get any MSVC help, so many of my code searches are about doing things the hard way, coding it by yourself, and not relying on a framework for a crutch.

 

Thanks for the lolz!

:D Chris, the FNG


In Topic: The Joy of A Laptop

12 September 2013 - 01:05 PM

Mine was the compact "cute" keyboards that came with some Atoms we got. Dang things never let me log in! It was the 3rd or 4th try (over a few weeks) that I realized these didn't have a 10-key area and thus took away those letters in the middle of the board that were part of my password. :P 

 

Then all was cool.png


PARTNERS