[b][i][u][o]
I agree. C++ is my "primary language" re job experience, but I find it more of a headache these days that not. If I could choose, I would always pick Python first, as it makes life so easy. I have just learned some Java and also like what I see there. This whole notion of "being a badass" because you can code in C++ is absurd. Most applications do not need to be in control of the OS and memory these days. It's just a whip that gets in the way of solving your problem. A programmer can move so much faster in an interpreted language (no build step) that it's painful to crawl back into C++ mode once you've experienced the Joy of Python.
Hell, I would even choose Perl over C++ in most cases (that's hard for me to say). [o][u][i][b]
Name:
Anonymous2007-08-31 8:23 ID:mmqIPH0U
195 GET
Name:
Anonymous2007-08-31 8:33 ID:VRhLqpQD
Over C++, I would choose Python, Lua, JavaScript, PHP, Perl, Ruby, and probably I'd even become a microfag and do VB.NET (the one with lambdas) or C#.
Name:
Anonymous2007-08-31 8:35 ID:VRhLqpQD
>>196
Forgot to say, I'd also choose plain C, and C++--. The only languages I wouldn't choose over C++ are Bash, Windows batch, assembly, Brainfuck, Befunge, SBN, and maybe, just maybe, Java.
Name:
Anonymous2007-09-01 5:13 ID:DGTN7tCF
OKAY
Name:
Anonymous2007-09-01 5:28 ID:HN+SajN6
hgf
Name:
Anonymous2007-09-01 6:05 ID:uXEnflWP
200 GET
Name:
Anonymous2007-09-01 6:27 ID:DmF0UMoi
>>200
You may have 200GET, but my ID is better than yours.
'---idle mode
'--- this is used when the program wants to exit
'--- it will normally just serve a BSOD page
enum idleReason
initProblems '-problems during initialization
logUnwritable, badConfiguration
runtimeProblems=256 '-problems during normal operation
end enum
sub idle(reason as integer)
do while (FCGI_Accept() >= 0)
print "Context-type: text/html"+newline+newline
print "<html> <head><title>Halted</title></head>"
print " <body>"
print " <h1>Halted</h1>"
print " <p>The program serving your request has ";
if reason>runtimeProblems then
print "encountered a really bad problem. It's halted, since it might go haywire and hurt something.";
else
print "not been able to start up properly.";
end if
print " </p>"
print " <p>Because of this, nothing more can happen until the administrator fixes the problem. This problem is a backend issue and is not related to you o
r anything you did.</p>"
print " <p>This is hopefully a temporary issue and should be fixed shortly. We apologize for any inconvenience. Please come back later.</p>"
print " <hr /> <center><p><i>This message was generated on ";date$;" ";time$;".</i></p></center>"
print " </body>"
print "</html>"
loop
end sub
v0.2
'---idle mode
'--- do this instead of exiting the program
'--- it will normally just serve a page indicating it is dead
enum idleReason
initProblems '-problems during initialization
logUnwritable, badConfiguration
runtimeProblems=256 '-problems during normal operation
manualLockdown
end enum
sub idle(reason as integer)
dim result as integer, problem as eib
'-log that we are going idle, if we can
problem=mkeib(errorCode.enteringIdleState,"","",reason,0)
result=report(reportAction.newMessage,problem)
if result=-2 then
'-action to take if log file is unwritable
'-haven't decided what this is
end if
do while (FCGI_Accept() >= 0)
print "Context-type: text/html"+newline
print "<html> <head><title>Halted</title></head>"
print " <body>"
print " <h1>Halted</h1>"
print " <p>The program serving your request has ";
if reason=idleReason.manualLockdown then
print "been halted by the administrator. It's not related to you or anything you did.</p>"
print " <p>";
goto idleSkipPoint
end if
if reason>runtimeProblems then
print "encountered a really bad problem. It's halted, since it might go haywire and hurt something.";
else
print "not been able to start up properly.";
end if
print " </p>"
print " <p>Because of this, nothing more can happen until the administrator fixes the problem. This problem is a backend issue and is not related to you o
r anything you did.</p>"
print " <p>This is hopefully temporary and should be fixed shortly. ";
idleSkipPoint:
print "We apologize for any inconvenience. Please come back later.</p>"
print " <hr /> <center><p><i>This message was generated on ";date$;" ";time$;".</i></p></center>"
print " </body>"
print "</html>"
loop
>>269
My name is Ucuj Brix, a Solicitor/Notary public, and very active in the legal practice in Nigeria. I am also an in-law to the late President, General Yorx Agh. Now General Agh is dead, and Mohammed the first son is facing a lot of persecution due to his involvement in anti pro democracy activities during the rule of his late father. Also there are alleged fraud activities that Mohamed has been linked to with the father and, the government of today is after the family to recover everything. They have claimed all the family's wealth and I am making this contact on behalf of my sister, Mrs. Miriam Agh, the wife, not minding the consequences, but hoping that you would understand our predicament hence the need for your urgent assistance and co-operation.