Recent comments in /f/explainlikeimfive

WritingTheRongs t1_iyejb8l wrote

It depends on the amount. Do you want $100, or $1000? They are much more likely to give you $100. And she was friendly and "normal" looking and was very good at not setting off people's radar apparently. But yes, you would think in the modern age the banks would have figured out a way to verify funds.

2

Common_Technologies t1_iyehvef wrote

>It'd be more harmful getting rid of this loophole then allowing it.

What is the gain in allowing it?

According to Wikipedia, she started in 2013 - so everyone in New York, USA had a card, so allowing oneself to get scammed by a check was a choice.

PS: I'll mail you a check for 3 milliard EUR, just send 1 milliard EUR to my bank account.

−2

Flair_Helper t1_iyehgug wrote

Please read this entire message

Your submission has been removed for the following reason(s):

Questions based on a false premise are not allowed on ELI5. A question based on a false premise is one based on information that may not be true, or may not be the whole truth, and needs that information to stand as a question.

If you would like this removal reviewed, please read the detailed rules first. If you believe this submission was removed erroneously, please use this form and we will review your submission.

1

OldHellaGnarGnar2 t1_iyeh3yo wrote

Ahh, ok that makes a lot of sense. So, rather than doing a one-to-one translation, figure out how I can take advantage of python's capabilities vs whatever language I'm trying to convert code from.

Secondary question:

Is your comment related at all to programming paradigms? Like, I think all the code I know how to write would be considered "functional" (I didn't learn anything about paradigms in school), so after seeing some discussion on paradigms and watching some videos, I'm trying to understand "when would I use object-oriented" or another paradigm. So maybe if I learned to write in a different paradigm, it could be a better fit than what I'd be able to write in functional?

2

Sloloem t1_iyeh3if wrote

Controlling flow from inside loops is done with break and continue.

Something like this:

for (i=1;i<=10;i++) {
  if (i==5) SOMETHING
  print i;
}

If you use break for SOMETHING your output is: 1 2 3 4

If you use continue your output is: 1 2 3 4 6 7 8 9 10

Some languages let you control multiple levels of looping using something like break 2 to break not only this loop, but the loop it's inside. Javascript lets you do this with labels. Not all languages give you this level of control so you either figure out how to design the process without nested loops or come up with other ways around the issue like GOTO's or flag variables that direct outer loops to break when set from inner loops but those situations have no single right answer.

2

Ansuz07 t1_iyegisl wrote

It's very common for banks to make a portion of a deposit available immediately as a courtesy for its customers. While it may take several days for the checks to clear and the customer to access all of the deposit, it does tend to keep them happy if the bank floats a portion of the difference for a couple of days.

Sorokin took advantage of this fact, depositing hundreds of thousands of dollars in bad checks, while only withdrawing tens of thousands against them.

404

drafterman t1_iyegbl1 wrote

Because that process takes time, up to several days. And if it took several days for people to get money from their check no one would use it. So instead they give you the money immediately while the transaction is verified.

Yes, it allows for these loopholes, but people exploiting this in this manner are far and few between. It'd be more harmful getting rid of this loophole then allowing it.

7

6horrigoth OP t1_iyefga2 wrote

Coming from a country where we don’t really use checks, it seems absolutely ludicrous to me that banks would allow this kind of loopholes in their systems in the US. Shouldn’t it be mandatory that the bank can verify the existence of the funds before allowing withdrawals?

9

Sloloem t1_iyefdj8 wrote

Some languages also kindof have you using GOTOs and labels for exception handling...I wanna say Visual Basic? I did a project a few years ago using CrownPeak CMS which at the time I think used VB for its templating language and I vaguely recall winding up with a lot of really snotty "ON ERROR GOTO HELL" clauses. I think some legacy data applications that had a lot of functionality written in SQL procedures used that sort of error handling instead of more modern try-catch-finally or try-with-resources blocks. It's all true but I don't think I'm inaccurate in saying they're pretty niche edge cases for most programmers.

1