- Joined
- Jun 30, 2023
Code:#include stdio int main(){ printf("kill yourself"); //the important part return 0; }
Code:#include iostream using namespace std; int main(){ cout << "kill yourself" << endl; //the important part return 0; }
Code:@ECHO OFF REM the important part ECHO kill yourself pause
Code:fn main() { println!("kill yourself"); //the important part }
Code:
push rbp
mov rbp, rsp
lea rax, [rip+0xec0] ; the important part
mov rdi, rax
call 0x1030 ; puts
mov eax, 0x0
pop rbp
ret
Asking stuff like this is how most people first approach self-directed learning. Plenty of resources exist for nearly all subjects in existence, but many of them (e.g. W3Schools) are dogshit. There are plenty of math textbooks I can think of off the top of my head that are only useful as toilet paper, fuel for a campfire, or to bash over the head of assailants. There's nothing wrong with asking where one should start when approaching a broad subject like CS. Clearly, based on the number of opinionated replies in this thread, there is no single objective answer (beyond saying to practice a bunch). Who seriously wants to waste their time learning from a shitty resource or using a bad approach to learning? Teachers provide guidance and direction as a student practices and strengthens his knowledge, helping the student to avoid falling into bad habits and to save him time and frustration. Imagine if every teacher had your attitude. Those like us who taught ourselves this stuff are all too familiar with being stuck with shitty or limited resources to help us when we're stuck. The greatest thing about knowledge is that it can be passed along and expanded upon; why would we want others to also waste the time we did when we could provide some guidance? We don't have any strict obligation to help others learn this stuff, but telling people "No, you're too retarded." is counterproductive and detrimental to future society. The false sense of superiority being evinced here helps no one, including yourself.WRONG! People who spend more than 15 minutes asking "how do I learn to code" will NEVER code. You can't walk around the internet without tripping over programming educational material, it's basically like porn. In some ways, it's never been easier.
The correct answer to someone asking how to learn to code is: YOU CANNOT BECAUSE YOU WILL NOT
As an aside, I took a web development course in uni as a bird course. The professor would often say "I will not degrade myself by going to W3Schools." while searching for a resource to put up on the projector. It has always stuck with me, and I reflexively say it while looking for an MDN result.
Well said, friend. The high from problem solving is unlike anything else. The rewarding feeling comes from being productive instead of some inhaled substance. When something is truly earned, it's 1000x better. I do work in a lot of different subjects because the experience is enjoyable. I wouldn't be hunched over the keyboard, spending hours in IDA if I didn't enjoy it.My experience with programming is that 99% of my time is spent trying to get something to work so I can spend 1% of the time on a crack high of relief and pride after solving something I thought I was too retarded to solve. The ideas and the solving are rewarding, but the work involved in making your ideas solve the problem is what produces the bulk of dopamine from this hobby/career.
Having an idea, fleshing it out, and then building it is why programming is fun. Whether you're making a pretty website, fucking around with a database or algorithms, spinning up a cloud server, or building a robot that follows a line on paper... You're creating. Similarly, automating/solving a problem or increasing efficiency through your own creative musings is equally as enjoyable. Programming is all about solving problems via your imagination and getting a machine to do it faster, more accurately, and with a bit of creative flair.
The info and resources you provided are excellent; I 100% agree. Kudos.