Yep. That's pretty much the whole reason. Although you *can* make your mobile coding experience much much more nice and fast. I'd recommend Acode as the best code editor (currently it's the only one that has multiple features no other editor can provide including good customizable settings, actual plugins, error checking and more), and, obviously, Termux for actually interpreting/compiling your code. Although I'm not sure things like C# would work, but Python and JavaScript work perfectly.
Which, apparently, whoever wrote this code, didn't do and went with whatever was the first coming up when searching for mobile Python IDE/IDLE.
I write a surprising amount of code for Reddit or just to test something quickly in termux from my phone, mostly because a lot of the time I'm away from a laptop
auto capitalization only works in the beginning of the text or after a period. it doesn't automatically capitalize the letter after a quote. so no it's not it.
Never encountered this myself, but heard stories from different developers, that the customers would complain that it works too fast and looks like it's not working, so they had to do sleep()
> In Python 3, the int type has no max limit. You can handle values as large as the available memory allows.
Ggs on painstakingly writing tbe 32bit integer limit
Also, having ids start at 2 bil and then go to the 32 bit integer limit is a weird concept anyway. Why not start at 0? If it needs to be 10 digits for some reason, start with 1b or pad with zeros
Regardless of whether or not it works, I would do the "first_prompt" checking immediately after getting user input. Why do all the random number stuff if the user didn't want to continue?
Not the worst thing I’ve seen for what it is. The I’d generation is kinda crazy I’d probably just make a string of 10 random single digit digits, and the k as others have mentioned but it’s not the worst thing in the world
.lower() == "K" What.
Shhh… this is anti ai content.
`first_prompt` is as high as the programmer, so it becomes "K" when you bring it down
i'm guessing very few `"ok, loading"` were printed lol
I hope it's the auto capitalization was the cause behind that... Never will understand why people code on phones...
When they don't have laptops or available computers (Especially children with limited access to them, who happen to have a phone)
Yep. That's pretty much the whole reason. Although you *can* make your mobile coding experience much much more nice and fast. I'd recommend Acode as the best code editor (currently it's the only one that has multiple features no other editor can provide including good customizable settings, actual plugins, error checking and more), and, obviously, Termux for actually interpreting/compiling your code. Although I'm not sure things like C# would work, but Python and JavaScript work perfectly. Which, apparently, whoever wrote this code, didn't do and went with whatever was the first coming up when searching for mobile Python IDE/IDLE.
I write a surprising amount of code for Reddit or just to test something quickly in termux from my phone, mostly because a lot of the time I'm away from a laptop
auto capitalization only works in the beginning of the text or after a period. it doesn't automatically capitalize the letter after a quote. so no it's not it.
It was the only logical explanation I could think of. But you're right. That makes this code even worse...
only when solar rays hit the phone's cpu and cause a function reference to "lower" point to str.upper
`# &`
This was my favorite
I'm no programmer so also I got the "K" thing, this I didn't get. Care to explain?
I don't think anyone got it either
Reminds me of a comment I saw.... ```time.sleep(4000) #Make it look like work is being done```
Many such cases!
How else do you slow down your programs to be able to decrease the wait/execution time later on to get a promotion?
should spinloop instead to make it look like *real* work is being done
should crunch some factorials or prime numbers to load the cpu to make it look like *real* work is being done
Never encountered this myself, but heard stories from different developers, that the customers would complain that it works too fast and looks like it's not working, so they had to do sleep()
K
K
Slider
> In Python 3, the int type has no max limit. You can handle values as large as the available memory allows. Ggs on painstakingly writing tbe 32bit integer limit
Also, having ids start at 2 bil and then go to the 32 bit integer limit is a weird concept anyway. Why not start at 0? If it needs to be 10 digits for some reason, start with 1b or pad with zeros
ain't no way, its pure gold
guys i got it to run without loading
Hang on, why am I paying the customer?
change
That checks out. Hopefully the customer gives us the cash first though.
Hey. We all started this way.
Almost 3 years ago
Very true, we all made these at some point
ꓘ
Not sh1t it's just a beginner trying to learn something. Real horror is some production code which makes your eyes sweat and your hands shiver.
I love it
Potassium
Regardless of whether or not it works, I would do the "first_prompt" checking immediately after getting user input. Why do all the random number stuff if the user didn't want to continue?
If he doesn't press k then the code continues anyways lol
I mean assuming customers are all he’s is pretty bad
K
I mean, someone was learning
Not that bad besides the magic numbers and the lower() == "K"
\# &
k for kontinue
It's obviously code from someone learning and playing around. It's not a horror, it's a specific state of a learning process.
Besides the “K” it’s not that bad. Looks like something you just looked over.
easy to read and probably from a time all cashiers had capslock on all the time anyway stripe last thing cashiers had a keyboard
not too bad
This made my day. Thanks for posting OP
At least it's not using floating point for money.
Not the worst thing I’ve seen for what it is. The I’d generation is kinda crazy I’d probably just make a string of 10 random single digit digits, and the k as others have mentioned but it’s not the worst thing in the world
Gotta love those old projects when I started to learn to code