|
Posted by Onideus Mad Hatter on 07/03/05 03:57
On Sun, 03 Jul 2005 00:05:39 GMT, Oli Filth <catch@olifilth.co.uk>
wrote:
>Onideus Mad Hatter said the following on 02/07/2005 22:33:
>> On Sat, 02 Jul 2005 16:42:25 GMT, Oli Filth <catch@olifilth.co.uk>
>> wrote:
>>
>>>>...and why are you blathering on about HTTP headers when in that other
>>>>post you were yammering on about how you hated my date stamp
>>>>method...I mean, DO YOU know how HTTP headers work?
>>
>>
>>>What's the relationship between date-stamping a filename and HTTP headers?
>>
>>
>> With HTTP headers you can set it not to cache anything, like nyah:
>>
>> Cache-Control: no-cache
>>
>> Which is essentially the same as date/time stamping individual file
>> names...except that it gives you more control, with cache control it's
>> everything in the page, all or nothing.
>
>What the hell are you talking about? Oh right, you think that including
>something like:
>
><META http-equiv="Cache-control" ...>
<snip>
I'm not talkin about prags, fool!
>> Are you saying you can get precision control over individual file
>> caching using HTTP headers?
>Yes, see above.
Well I'll have to take your word with a grain of salt since I've not
actually tried it. I've seen PHP scripts for altering HTTP headers
for files, but I've never had a reason to use such methodology.
>> Well normally one would use a dollar sign to differentiate between a
>> string and an integer.
>Normally? Not that I've seen.
Well from my experience it is...although in C++ I'll often just use a
lower case s followed by the variable name capitalized...so like sName
or sDate.
>In that respect, I'd agree with you. I come from a C/C++ background
>where you have to be specific about your types. Languages with untyped
>variables and implicit conversions work out more complicated to learn
>than "stricter" languages, because you have to learn all the conversion
>rules.
My background is also in C/C++...well I guess my TRUE background is in
Pascal, but I haven't used Pascal in like...forever.
>But if it bothers you, then use Hungarian notation (or something
>similar) rather than pointless extraneous function calls. Because that
>really is poor programming practice.
If the function call is as benign as you claim then there's no reason
why I shouldn't continue to use it...and really, it's easier to read
code wise than Hungarian notation. I know simply by seeing eval()
that anything in it is gonna be an integer, I don't even have to look
at the names.
--
Onideus Mad Hatter
mhm ¹ x ¹
http://www.backwater-productions.net
[Back to original message]
|