News for hackers. Stuff that matters.
Re:How is it even possible to cheat on a musical performance... by homami on Saturday May 06, 2023 @04:36AM (#35839397)
We had a CS undergrad intern that didn’t know what i++; means in a JavaScript loop.
Re:How is it even possible to cheat on a musical performance... by etothepii on Saturday May 06, 2023 @04:59AM (#35839526)
They didn't know what it means or what it does or that it's important.

I'm not sure it matters for most practical uses what i++ means so long as you know it is required.

Much as with {} being used for scoping.

Though I agree it is jarring how little many in Gen Z know about how anything works.

Re:How is it even possible to cheat on a musical performance... by maccard on Saturday May 06, 2023 @06:03AM (#35839856)
> Though I agree it is jarring how little many in Gen Z know about how anything works.

I've worked with GenX'ers and Millenials (I'm a millenial), and this isn't unique to GenZ at all. A large number of people don't understand, and are just getting by. Anecdotally, I've seen people at very senior engineering positions who just don't understand the basics of what they're doing. Does that mean that it's jarring how many GenX'ers don't understand?

Re:How is it even possible to cheat on a musical performance... by wholinator2 on Saturday May 06, 2023 @08:20AM (#35840633)
Yeah, we see this a lot with younger people because they are just starting in the world. Also, they're the predominate generation right now that's video taping and posting every even possibly interesting moment of their lives, irrespective of whether some 30 year old thinks it's embarrassing. If 60 year olds were posting every strange thought or funny moment we'd have some opinions about them too (Facebook, anyone?) They're just thinking about and misunderstanding a different set of things. But i think the kids are somewhat closer to a humility that might be hard to find elsewhere.
Re:How is it even possible to cheat on a musical performance... by maccard on Saturday May 06, 2023 @09:00AM (#35840930)
> If 60 year olds were posting every strange thought or funny moment we'd have some opinions about them too (Facebook, anyone?)

My older relatives pore out the most excruciating details of their personal lives on people's Facebook profiles, not understanding that it's not a private message. These people grew up and we're the ones who warned us "never use your real name online", etc.

Re:How is it even possible to cheat on a musical performance... by homami on Saturday May 06, 2023 @06:29AM (#35839970)
Unfortunately this person graduating from a Western European uni, could not even grasp the algorithm for creating a count down timer.
Re:How is it even possible to cheat on a musical performance... by Kim_Bruning on Saturday May 06, 2023 @08:01AM (#35840482)
Except it's not required :-P
Re:How is it even possible to cheat on a musical performance... by davnicwil on Saturday May 06, 2023 @05:35AM (#35839683)
Did they know what it meant within seconds of you you explaining it to them, though? That's the only important thing.
Re:How is it even possible to cheat on a musical performance... by drowsspa on Saturday May 06, 2023 @06:15AM (#35839910)
How come a CS bachelor never wrote a for loop?
Re:How is it even possible to cheat on a musical performance... by oriolid on Saturday May 06, 2023 @06:54AM (#35840103)
They could just write loops and remember that repeating the variable name with ++ is part of loop syntax without knowing what it means. Almost like text-generating AI would do it (ducks).
Re:How is it even possible to cheat on a musical performance... by davnicwil on Saturday May 06, 2023 @09:47AM (#35841349)
I don't know, but I also don't care much because it doesn't matter.

Again, can they quickly understand and apply the knowledge once it is explained to them is all that matters.

Re:How is it even possible to cheat on a musical performance... by balfirevic on Saturday May 06, 2023 @11:28AM (#35842294)
It also matter that they apparently wrote a for loop a number of times without wondering what each of those symbols actually does and just treated it as magic incantation.
Re:How is it even possible to cheat on a musical performance... by ApolloFortyNine on Saturday May 06, 2023 @11:48AM (#35842509)
In recent years it's very possible they either don't use a language where that syntax is ever required (python) or just use one of the foreach variants in pretty much every language.
Re:How is it even possible to cheat on a musical performance... by drowsspa on Saturday May 06, 2023 @04:32PM (#35845129)
I can only think of Python, but are people learning that alone these days? In every other language, I can't imagine not ever encountering a situation where you also need to know the index of the iteration.
Re:How is it even possible to cheat on a musical performance... by ApolloFortyNine on Thursday May 11, 2023 @08:40AM (#35901216)
But also in every language there's syntax sugar to get the index.

In reality it's honestly just better in 99% of situations.

Re:How is it even possible to cheat on a musical performance... by _dain_ on Saturday May 06, 2023 @12:51PM (#35843086)
not every language uses i++.

increment operators are a language design antipattern anyway, not some fundamental knowledge.

Re:How is it even possible to cheat on a musical performance... by rvba on Saturday May 06, 2023 @05:43PM (#35845597)
Maybe cheated, maybe third world country diploma mill, maybe sports scholarship
Re:How is it even possible to cheat on a musical performance... by maccard on Saturday May 06, 2023 @05:54AM (#35839806)
I made it as far as my first internship before I learned what `!val` meant. Don't ding people (especially interns or juniors) for not knowing specifics or notation, or things that can be answered in a single google. What matters is what they do when they learn what `i++` is - does it ever come up again, and do they understand it.