E, Shanai System Subete Wan'ope shiteiru Watashi wo Kaiko desu ka? - Vol. 2 Ch. 15

Dex-chan lover
Joined
Mar 11, 2024
Messages
40
Reminds me of my first programming internship - It was with the local Health Center, and all the guy said was here's my data sets, here's the display tools I'm using elsewhere, make a script to take the data-sets and display them with the tools automatically instead of by hand.

It took me all of a week, and the professor (not computer science or a programmer) looked, nodded, and said, 'Well, I thought that was going to take you all summer, so let me think about the next project."

Course, this was Perl, not Python, but it's the same sort of functional programming and approach.
 
Member
Joined
Jul 20, 2023
Messages
7
Shouldn’t it be
dice = random.randrange(7)
?
default param for randrange is 0, so this would unlock the forbidden 0 roll on the dice (when you accidentally lose it)

also this manga is objectively not that good, but it's so comfy to spend the day suffering writing code, come home, and read it. Every chapter is an instant read for me
 
Supporter
Joined
Feb 4, 2018
Messages
20
Valiant effort by Satou and Yuuya.
However, I find it hard to believe that someone who struggled with programming all his life can suddenly be able to turn around like that. At the very least, from my experience, if it doesn't click immediately for you, no explanation can help you understand programming faster.
 
Dex-chan lover
Joined
Aug 7, 2018
Messages
998
She just taught him a bunch of if statements. That’s gonna be useless if he doesn’t even know how to get his data from paper/document, into something readable by the program, do calculations or whatever with the data, and output the calculations. He’d be better off learning excel especially if this is a basic office job.
 
Contributor
Joined
Jan 19, 2018
Messages
2,646
Python looks as insane to me as ever. Like I started with Python when I first started, but I can't handle loosely typed languages anymore. It feels bad programming without strictly defining terms. While we're at it, the lack of parentheses and semicolons also makes me deeply uncomfortable. I know I should really go back to Python cause I want to make scripts and Discord bots and stuff, but idk how I'm gonna live without pointers

Anyways. If Statements are actually maybe the first hurdle to teaching and learning programming, from what I've heard from my CS tutor friends. There are a lot of people who want to learn but are stumped by this. But once you understand that, then everything else will more or less click into place. I don't remember what the second "trial" is, but third imo is pointers
 
Dex-chan lover
Joined
Mar 11, 2024
Messages
40
Python looks as insane to me as ever. Like I started with Python when I first started, but I can't handle loosely typed languages anymore. It feels bad programming without strictly defining terms. While we're at it, the lack of parentheses and semicolons also makes me deeply uncomfortable. I know I should really go back to Python cause I want to make scripts and Discord bots and stuff, but idk how I'm gonna live without pointers

Anyways. If Statements are actually maybe the first hurdle to teaching and learning programming, from what I've heard from my CS tutor friends. There are a lot of people who want to learn but are stumped by this. But once you understand that, then everything else will more or less click into place. I don't remember what the second "trial" is, but third imo is pointers
Pretty sure it's Variables, Logic Gates, and Pointers, in that order. At least in high school and college when I tutored, those were the three things that tripped people up quickly. They either failed to understand the concept of Variables (A box where a number could be placed, but that number can change over time), the concept of using if/else and looping statements is the next hurdle.
And my college saved Pointers for the second semester to try and get as many people to do one full college class in Computer Science. (And ultimately pointers are not really necessary outside of Recursion and pass by reference scenarios, which is a hurdle that many people who teach themselves never truly get a firm grasp of).
 
Group Leader
Joined
Oct 16, 2018
Messages
110
Relatable stuff. Doesn't pertain to programming to me personally but just the idea of giving up before I even try just hits hard, man.
 
Dex-chan lover
Joined
Jul 18, 2018
Messages
259
But yeah, AI, regardless of type, is pretty much hardcore math.
I mean, AI just isn't real, it's not intelligent at all by any metric. There is no type of AI.

Also GOTOs aren't magic, they're just an instruction to move your instruction pointer. They're just jumps. Branches are kind of a jump, though they are different in how they work. Everything in programming works based off of these. It's just a way to go from one part of the code to another.
 
Dex-chan lover
Joined
Jan 18, 2018
Messages
1,417
Hold on.

All this stuff is something I learned in my Logic courses which I aced easily to the point my professor wanted me to join his graduate program. Does this mean I already have the foundation for programming?!
 
Dex-chan lover
Joined
Jan 28, 2023
Messages
202
Bro goes from not knowing what functions are to using python libraries? Kind of putting the cart before the horse there teach. Also your telling me the kid couldn't wrap his head around that as he was reading the textbooks? There's not knowing how to set up an IDE and then there's not understanding how if statements work. Also there are plenty of online IDEs you can access on your phone that just work. Sure you couldn't code an excel to powerpoint converter in them, but they sure as hell will run any tutorial code.
iphone heavily limits what you can do so yeah he’s stuck with online, if he has a android then he can literally code a game or whatever else he wanted
 
Last edited:
Double-page supporter
Joined
Oct 25, 2018
Messages
41
how do i write the code to if any sort of inconvenience happens to me, i die?

C:
#define INCONVENIENCE_SIGNAL 999
void handle_inconvenience(int signum) {
    exit(signum);
}

int main() {
   signal(INCONVENIENCE_SIGNAL, handle_inconvenience);
   while (1) {
       //raises INCONVENIENCE_SIGNAL at some point
       do_next_thing();
    }
   return 0;
}
 
Dex-chan lover
Joined
Jan 17, 2024
Messages
303
Hold on.

All this stuff is something I learned in my Logic courses which I aced easily to the point my professor wanted me to join his graduate program. Does this mean I already have the foundation for programming?!
I mean, yeah.

If you can understand basic math and basic logic, you can program.

Programming isn't hard, which is why there are a million "let's learn to code!" introductory things out there, in much the same way there aren't any for "let's learn to medicine!"

That's not to say that there aren't hard parts of programming, which there absolutely are. But the vast majority of programming that gets done isn't the hard stuff.
 
Dex-chan lover
Joined
Dec 26, 2020
Messages
185
... I'm going to go do my homework now. I've been putting it off for too long
 
Dex-chan lover
Joined
Feb 22, 2021
Messages
3,369
Reminds me of my first programming internship - It was with the local Health Center, and all the guy said was here's my data sets, here's the display tools I'm using elsewhere, make a script to take the data-sets and display them with the tools automatically instead of by hand.

It took me all of a week, and the professor (not computer science or a programmer) looked, nodded, and said, 'Well, I thought that was going to take you all summer, so let me think about the next project."

Course, this was Perl, not Python, but it's the same sort of functional programming and approach.
I started using Perl in about 1999. Python's non-delimited blocks made me hate it and I never picked it up.
 

Users who are viewing this thread

Top