Any programmers here?
I just configured an smtp server and wrote an sms bombing python script. Have someone's number you hate? Lets blow em up lmao.
>>8610902
Your program is buggy and gross.
And "an sms bombing script"? Really? Grow the fuck up.
>>8610902
>"ETA 30 seconds"
>time.sleep(30)
>Capital letters for function names
>>8611210
/g/ can't program
>>8610902
>declaring globals in function body
>two returns in a function
>time.sleep(30)
KYS or grow up and learn to program properly.
This is the worst thing I've ever seen
>>8610902
Skiddie retard
>>8611234
>>8611210
>/g/ - smartphones and general consumer electronics
lyle
>>8612121
>>two returns in a function
Not OP but is this bad? I usually have a normal return and a return that is meant to just end the function
Like for sample
doshit() {
if(some_error)
return error_code
return shitdone;
}
Is that bad? I think it is quicker than doing the equivalent code but with one return, in which I would initialize a variable and then fill it with the error code in the case of error, or fill it with the correct computation in case of no error and then return that. It is more expensive. Or not?
>>8613019
Fucking read the code mate, it isn't based on a conditional. Of course it's fine to have multiple return statements when they're inside if statements. Here, the second return statement is just dead code.
>>8613067
Then don't say that two returns in a function is bad without specifying the context. You need to be explicit with your language!
>>8613092
idk man, ask the big jap in the sky to give /sci/ ids like all the good boards have.
>>8610902
>AC_130 is in route.
Its 'en route' you troglodyte.
>>8613118
No.
>>8610902
>Lines longer than 60 characters