[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/biz/ - Business & Finance


View post   

File: 39 KB, 680x589, FhOp0yOWAAAOejB.jpg [View same] [iqdb] [saucenao] [google]
54592264 No.54592264 [Reply] [Original]

>"bro just learn how to code"
>day 69 of trying to understand how loops work

>> No.54592274

>>54592264
learning to code is useless now AI is available for everyone and can code for you

>> No.54592275

>>54592264
Kek 69 days wtf

>> No.54592299

>>54592264
>understanding how loops work
Is this a shitpost?
>do thing until [logical]
>then [continue] or [end]

>> No.54592303
File: 29 KB, 801x805, !!!!!!!!.png [View same] [iqdb] [saucenao] [google]
54592303

>>54592264
>>54592274

>> No.54592351 [DELETED] 

>>54592299
Yo act like coding is difficult
I'm trying to discourage newfags getting int coding
I learned python in 2 weeks with no prior experience
Gonna delete this post

>> No.54592545
File: 6 KB, 379x245, 1423281792592.jpg [View same] [iqdb] [saucenao] [google]
54592545

>learning something that will be replaced with an AI very soon
ngmi but its not only you. all of us

>> No.54592566

>>54592303
Tell someone who can't even figure out how loops work to compile this code. Would be funny.

>> No.54592578

>>54592264
while True:
understand how loops work
#you right now

>> No.54592623
File: 144 KB, 645x681, 1512665954699.png [View same] [iqdb] [saucenao] [google]
54592623

>>54592264
>day 69 of trying to understand how loops work
they... go in a loop, anon....

>> No.54592979

>>54592264
A computer program is a loop of code running over and over again...

>> No.54593463

>>54592264
Okay so you're driving your car and you enter a roundabout but in this universe you're not allowed to leave the roundabout until a condition is met, the condition being that you've circled the roundabout x times. Each time you complete a circuit some other thing also happens, like maybe the radio station changes. That way the radio station changes x number of times and then you exit the roundabout and continue on your journey.

>> No.54593497

>>54592274
>>54592545
Also in the meantime, I'm sure any company that is even looking for hiring is just going to outsource it to Pajeets anyway.

>> No.54593513

>>54592264
Same, I'm too stupid for this shit. I guess not all of us we're meant to make it

>> No.54593527

>>54592264
I am at day 120 of trying to understand recursion

>> No.54593544

>>54593463
hahaha thanks for this
>t. 200k tc Haskell blockchain dev

>> No.54593825

>>54592264
What's so hard to understand? A loop basically runs... well, in a loop, for as long as a condition is true. When the condition is false, then the loop will stop running.

So:
>while(true)
Will always run. Get it?

And if you have a variable x that holds the number 10, then do this:
>while(x > 0){
>x = x -1;
>}
What that's going to do is check if x is greater than 0, and if not, it's going to subtract 1 from x, and go back to the beginning of the loop until x is not > 0. Make sense?

>> No.54593845

>>54592264
Don't worry, everyone gets stuck on loops. Once you're past that you're golden.

>> No.54594750

>>54593845
>everyone gets stuck on loops
I never talked to any of classmates so idk for sure, but there's no way this is true right?

>> No.54594775

>>54592303
>>54592566
I've been trying unsuccessfully to learn how to program for a decade and a half, but this made me kek.

>> No.54594789

>>54592979
This is inaccurate.

>> No.54594830

>>54592264
Since it's on topic, is the CS50 good for absolute beginners? Just on week 2 now so curious about others' opinions.

>> No.54594875
File: 2.82 MB, 2547x1704, BF7B0CAC-C15A-40DC-B7A6-0A375CF9DD06.jpg [View same] [iqdb] [saucenao] [google]
54594875

>>54592264
In modern fishing, you should seriously consider whether it makes sense to unroll your loops

>> No.54595017

OP are you trolling us or you really cannot understand loops? This thread is more abstract than loops, explain what is not clear about loops if you are not trolling I am really curious

>> No.54595056

OP are you stuck in a loop?? Please communicate with us we can get you out, all you need to do is break the condition

>> No.54595068

>>54594830
Call me a retard but that shit made me want to kms. Once I got to the week 4 assignments I quit and gave up all my ambitions to code which was a blessing. I’m just not a computer nigga.

>> No.54595301

>>54592264
Coding has become of those industries where there are 2 kinds of coding jobs. The first is cutting edge innovative stuff that requires people that are basically prodigies at coding. If you aren't at that level, you're wasting your time because the second type of coding job is the one where quality doesn't really matter that much and in this case there is a 3rd worlder willing to do what you do for longer hours and less pay. And God help you if you're a white guy. Google, Apple, Meta, and so on might hire you if you're black or a woman just because you can code FizzBuzz, but as a white guy, you don't have a prayer.

>> No.54595310

>>54592264
>>day 69 of trying to understand how loops work
if you don't understand this in less than a few hours of writing some loops then you are too dumb for >> learn how to code

>> No.54595405

>>54595301
>coding coding coding coding
OP ignore this faggot, he is essentially worthless and tech illiterate, never worked in the industry because all he talks about is "coding" (actually referred to as programming by people in the industry, and even then they rarely say programming because they actually say Software Development or devving, which is a lot more than just writing a program.)

>> No.54596334

>>54592264
while (OP.isFaggot()):
try:
print("faggot")
catch Exception e:
print("turbofaggot")

>> No.54596343

My boss was showing me the script he made using OpenAI the other day.

>> No.54596480

You don't even need that high of an IQ to successfully code. Maybe like 110 min. There are some really dumb people in this field.

>> No.54596687

>>54596334

Kek

>> No.54596729

Only pleb coders will get replaced.

It's like, if your job could be replaced by a calculator, you had a bad job. If your job can be replaced by a compute, you had a bad job.

Pleb coders that do simple keyboard punching, will easily get replaced by AI. You'll need deeper knowledge and understanding to get past that

>> No.54596804

>>54592264
try to look at everything like 1+1 stuff, that helped me a lot in college, although I won't deny that it's still frustrating sometimes to do the same shit over and over again, at least with the job now I can afford to have all the crappy service subscriptions I want or even put money in HAMI

>> No.54596859

>>54592264
Loops are fake and gay. It's just a linear collection of data within set parameters. But computers are dumb cunts so if you don't tell that collection of data to stop once it's done it'll just loop over and over like a mongoloid.
Figure what data you want. Figure the most efficient way to collect it. Set restrictions so that once you get it the function stops.
Or as chatgpt showed you can hardcode to do shit x number of times.
Learning database design helps visualise wtf you're doing.

>> No.54597261

>>54596859
Is there something I can read that expounds on this concept?

>> No.54599012

>>54592264
You're fucking dumb

>> No.54599045

>>54597261
Idk I kinda made it up from what I learnt over a decade ago desu

>> No.54599182

>>54592264
>>54594775
What is it that you find so difficult about programming? I'm legitimately curious. It shouldn't take more than a year to learn programming if your learning methods are worth a shit. What are you doing to learn?

>> No.54600252
File: 40 KB, 316x335, 1640935151504.jpg [View same] [iqdb] [saucenao] [google]
54600252

>end of our internship program
>need to hire one of the interns
>both seemed promising from team feedback
>do a programming interview with them
>one does well
>the other literally cannot program
>confused by loops, strings, basically all logic
>wtf how did nobody notice this

people who can't program can easily disappear into orgs, you just need to get in the door. the seniors in the team will prop you up and give you years worth of basic tasks while you get paid a decent salary. they'll do 80% of the work for only 20% more pay. I know because they're me.

>> No.54600260

>>54592264
for OP in thread:
print(OP,"is a faggot")

>> No.54600333

>>54592264
Now try doing recursion.

>> No.54600957
File: 1 KB, 108x125, 1680321570558574.jpg [View same] [iqdb] [saucenao] [google]
54600957

>>54592264
Keep grinding, bro. Mastering Loop is one of the golden tickets in coding. My advice? Hop on over to communities like HashNode, GitHub, and QanPlatform to connect with like-minded individuals and stay motivated AF.

>> No.54601214

>>54592264
Just ask chatgpt for a metaphor or analogy to loops

>> No.54602862
File: 269 KB, 1228x1150, 8CEBDAF7-7260-4B2B-B1BC-116B8E8EDF3D.png [View same] [iqdb] [saucenao] [google]
54602862

>>54595017
>>54595056
Stop trying to teach people how to code, programmers are the only people happily training their replacement
Be like lawyers and doctors, gatekeep this shit hard

>> No.54602961
File: 86 KB, 725x1088, for op.png [View same] [iqdb] [saucenao] [google]
54602961

>>54592264
>>54601214
This should help.

>> No.54602981

I'm learning how to code so I can program BTC to go to 10k.

>> No.54602995

>>54602961
fucking kek

>> No.54603049
File: 436 KB, 2029x2048, 1602125479093.jpg [View same] [iqdb] [saucenao] [google]
54603049

>>54602961
KEEEK

>> No.54603104

>>54602862

It’s already gatekept by their own low iq

Just do what I do, create hacks and programs promising them power but it really just steals their info

> cone on bro, download my cs go hack

Lol

>> No.54603234

>>54599182
They try to start from Z instead of A and then they give up. Then they pick it up again a year later and try from Z again and give up immediately. Rinse repeat.

>> No.54603294

>>54600252
lol what? How is this possible, you can't get hired as a programmer if you're struggling to understand what a fucking string is, especially in this current job market. I call bs

>> No.54603320
File: 497 KB, 640x640, kekw.png [View same] [iqdb] [saucenao] [google]
54603320

>>54602961

>> No.54603331

>>54602961
fuck my sides

>> No.54603406
File: 571 KB, 498x498, 1592707593877.gif [View same] [iqdb] [saucenao] [google]
54603406

>>54602961
>("Hey " + guy + ", nice bulge!")
oh lordy

>> No.54603941

>>54592264
>bluepill
quit the tutorial loop and start working on something
grind leetcode, do a project, 2h a day MINIMUM, you want to be challenged (not mentally, I mean coding shit)
stop reading books
stop repeating after pajeets in tutorials like a monkey
start getting shit done already, stop wasting time
>redpill
after you do a project or two you are going to fight for a junior position with thousands of grads that uni shits out every year that did algorithms, math and shit for 3+ years
>realpill
become black hat and write malware

which way anon?

>> No.54604026

>>54602961
Ok I'm laughing for real this is gold

>> No.54604240

>>54592274
try to get the magical ai to write something that is more complex than a fucking for loop or hello world horseshit. it overflows buffers, dereferences null pointers, double deletes, and uses pointers after free. it's fucking retarded.