|
-
Dec 16th, 2014, 12:46 PM
#58281
Lively Member
Re: Post Race!
 Originally Posted by dday9
/* */ is CSS
And C, C++, C#, etc...
"Bones heal. Chicks dig scars. Pain is temporary. Glory is forever." - Robert Craig "Evel" Knievel
“Leave me alone, I know what I’m doing.” - Kimi Raikkonen
-
Dec 16th, 2014, 12:48 PM
#58282
Re: Post Race!
I thought that C++ and C# were //
-
Dec 16th, 2014, 12:49 PM
#58283
Re: Post Race!
<!-- is there any body there -->
-
Dec 16th, 2014, 01:01 PM
#58284
Re: Post Race!
C started out with /* */. I believe it was C++ that added //. Naturally, the difference is between a single line comment and a block comment. It would be kind of nice if VB would add a block comment, but they haven't, so whatever.
My usual boring signature: Nothing
 
-
Dec 16th, 2014, 01:58 PM
#58285
Re: Post Race!
 Originally Posted by homer13j
And C, C++, C#, etc...
and PHP...
-
Dec 16th, 2014, 02:33 PM
#58286
Re: Post Race!
I always read PCP when I see PHP.
-
Dec 16th, 2014, 02:33 PM
#58287
Re: Post Race!
Wishful thinking I suppose.
-
Dec 16th, 2014, 02:50 PM
#58288
Re: Post Race!
That's how I read it, too. I'm afraid to code in that language unless I get tested.
My usual boring signature: Nothing
 
-
Dec 16th, 2014, 03:49 PM
#58289
Re: Post Race!
Interesting that the [php][/php] and [highlight=php][/highlight] format differently...
php Code:
if ("PHP" == "PCP") {
echo "You're on the drugs";
} else {
echo "You need the drugs";
}
PHP Code:
if ("PHP" == "PCP") {
echo "You're on the drugs";
} else {
echo "You need the drugs";
}
-
Dec 16th, 2014, 03:50 PM
#58290
Re: Post Race!
I haven't really done any PHP work, but that looks very similar to JavaScript.
-
Dec 16th, 2014, 03:52 PM
#58291
Re: Post Race!
They are both based on C...
-
Dec 16th, 2014, 03:53 PM
#58292
Re: Post Race!
My Arduino is programmed in C and its all the same looking.
-
Dec 16th, 2014, 03:58 PM
#58293
Re: Post Race!
PHP Code:
$something = tacos;
if ($something == "tacos") { // do something }
javascript Code:
var something = "tacos"; if (something == "tacos") { // do something }
Arduino
c Code:
String something = "tacos"; if (something == "tacos") { // do something }
-
Dec 16th, 2014, 04:01 PM
#58294
Re: Post Race!
I've edited your code. For some reason only PHP and HTML have their own BB code tags.
-
Dec 16th, 2014, 04:02 PM
#58295
Re: Post Race!
One thing I never understood, and this goes for older versions of BASIC too, is why in the world would you want to use symbols to represent type names. Like in your example you have:
PHP Code:
$something = tacos;
Why does $ represent a string? It makes no sense to me.
-
Dec 16th, 2014, 04:02 PM
#58296
Re: Post Race!
I was editing it too. As soon as it posted i fixed it. We probably edited it at the same time.
-
Dec 16th, 2014, 04:20 PM
#58297
Re: Post Race!
 Originally Posted by dday9
One thing I never understood, and this goes for older versions of BASIC too, is why in the world would you want to use symbols to represent type names. Like in your example you have:
PHP Code:
$something = tacos;
Why does $ represent a string? It makes no sense to me.
No clue...
-
Dec 16th, 2014, 04:24 PM
#58298
Re: Post Race!
Anyone want to give me $600,000?
-
Dec 16th, 2014, 04:26 PM
#58299
Re: Post Race!
I would love to give you $600,000. The only issue is I don't have any money to give away(well $2.77, but that's there to keep me from overdrafting until Friday).
-
Dec 16th, 2014, 04:29 PM
#58300
Re: Post Race!
$ was used as a string from early in BASIC. It still seems like a stupid idea, but it is certainly historic.
My usual boring signature: Nothing
 
-
Dec 16th, 2014, 04:36 PM
#58301
Re: Post Race!
Well y'all I have some good news and some bad news.
-
Dec 16th, 2014, 04:36 PM
#58302
Re: Post Race!
The good news is... I've been offered a programming job for $20 an hour even with my lack of experience and lack of education.
-
Dec 16th, 2014, 04:36 PM
#58303
Re: Post Race!
This is $6 an hour more than what I'm currently making.
-
Dec 16th, 2014, 04:37 PM
#58304
Re: Post Race!
However, the bad news is that the job is an hour away and I cannot finish my 8:30 - 5:30 job, then finish my night classes for college, and then drive an hour to work the programming job.
-
Dec 16th, 2014, 04:37 PM
#58305
Re: Post Race!
It just puts too much of a strain on my wife.
-
Dec 16th, 2014, 04:38 PM
#58306
Re: Post Race!
So I'm forced to tell the employer that I'll have to decline his offer.
-
Dec 16th, 2014, 04:44 PM
#58307
-
Dec 16th, 2014, 04:58 PM
#58308
Re: Post Race!
The whole reason why I approached him was because I figured that I could do most of it from my home and either Skype or get on a Teleconfrence when they had meetings. But he said that a lot of their databases contain sensitive information and would not allow for me to work on it from home.
-
Dec 16th, 2014, 04:59 PM
#58309
-
Dec 16th, 2014, 05:00 PM
#58310
Re: Post Race!
Wow. Didnt know that was a bad word...
-
Dec 16th, 2014, 05:07 PM
#58311
Re: Post Race!
Spell it with underscores after each letter.
-
Dec 16th, 2014, 05:21 PM
#58312
Re: Post Race!
Can you not see it either?
w_a_n_k_e_r
-
Dec 16th, 2014, 05:26 PM
#58313
-
Dec 16th, 2014, 05:36 PM
#58314
Re: Post Race!
Never use that word. Probably because I am American...
-
Dec 16th, 2014, 05:45 PM
#58315
Re: Post Race!
How many Mexican's does it take to put up a roof?
-
Dec 16th, 2014, 05:45 PM
#58316
-
Dec 16th, 2014, 05:45 PM
#58317
Re: Post Race!
I guess it takes Juan to know Juan.
-
Dec 16th, 2014, 05:52 PM
#58318
Re: Post Race!
Jesus is going to cater my Christmas party next week...
-
Dec 16th, 2014, 05:56 PM
#58319
Re: Post Race!
Did you know that after singing the national anthem, Jose yells "I can see!"
-
Dec 16th, 2014, 06:03 PM
#58320
Burn the land and boil the sea
You can't take the sky from me
~T
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|