r/computerscience • • Nov 14 '21

My Programming prof is an absolute Chad

He programs everything using the text editor and he doesn't even prepare the code before the lectures. He just quickly programs it all on the spot in front of us. And not just a few lines but often around 20 for each example. And even if a student asks him to show a very specific example that guy just immediately knows what to do and starts typing without mistakes. He also opens every document and application over the terminal instead of clicking on it.

He honestly inspires me to actually take my assignments seriously. It seems like he always immediately knows the solution to any coding task in his head. That guy must be a genius.

556 Upvotes

94 comments sorted by

709

u/WatercressNo1384 Nov 14 '21

You are mistaking experience with genius.

225

u/GodIsNull_ Nov 14 '21

Thats right, most coding done in courses at universities is basic stuff. Writing 20 lines of correct code is not that complicated when you are doing it for several years.

8

u/Keplars Nov 15 '21

Well it probably seems impressive to me since it's so different from the other profs. Also I checked and it's more like 35 lines for each example which probably still isn't that impressive for some. But to me it is something new to see someone just program multiple examples with about 35 lines each lesson without using some editor that shows you when you fuck up. Just haven't seen someone do that before

7

u/Spiritual_Car1232 Nov 15 '21

So he uses nano or vi? And then he complies using the CLI G++? You guys learning C++?

I had a pretty good professor who was comfortable enough to type out code demos in lecture. It kept the class fun and engaging. I think he used an IDE, though.

I wouldn't mind using a terminal text editor, but I think I gotta have color syntax highlighting, minimum feature....

1

u/Keplars Nov 16 '21

Pretty sure he uses gcc for compiling. We are learning a few advanced Java methods and the basics of Haskell and Prolog with him this year.

1

u/CuriositySubscriber2 Nov 15 '21

Until I have achieved flow, I want rainbow ide's for training wheels. And even then, i might still want rainbows

57

u/tdatas Nov 14 '21

Maybe but I'm pretty "experienced" at this point and taken point on a few very large data intensive systems and I think if you pointed me at a random problems without a few days leetcode warmups I'd probably struggle if it wasn't in my domain. If it isn't genius its at minimum someone very skilled.

40

u/[deleted] Nov 14 '21

Yea, but a teacher would be experience at the type of problems students ask. That is his domain. The problems uni students come up are not really that “random” I am happy that op has a good teacher.

15

u/GodIsNull_ Nov 14 '21

It is skill, for sure.

5

u/Keplars Nov 15 '21

Well this is the first prof that does it that way and he teaches us 4 different languages that are all pretty different from each other. Our profs from the last semesters always prepared their code and often still had to later edit it because they made mistakes. Also my first time seeing a prof just using text editor and the terminal for everything. I think being able to take in all that experience also needs intelligence.

1

u/EffectiveAsparagus89 Oct 18 '23

Exactly, that professor is a top-tier programmer. Only a minor of people can do that even in the industry, but they are more concentrated in FAANG. You will identity one immediately :)

18

u/Wundermaxe Nov 14 '21

There exist experienced geniuses!

8

u/bloop_405 Nov 14 '21

Also him coding on the spot is a good example. The students should be paying attention to how he’s coding on the spot and his reasoning, ask if he’s not explaining out loud

4

u/vext01 Nov 14 '21

Agreed. He's just been programming a long time.

3

u/PhDinGent Nov 15 '21

Exactly. I do this all the time in front of the class, and I can tell you: I am NO GENIUS! OK I don't exactly use just bare bones text editors like vim or Notepad (I prefer VS Code), but on occasions I would use vim and compile on the command line (for example to show different compilation levels, compiling with debug info etc) and quickly show the effects to the students. We also do a lot of variations of our programming excercises (C/C++) on the spot, and if the students have problems, I will just code them on the fly in front of the class. You can do this too. You just need more time and determination.

25

u/[deleted] Nov 14 '21

Ok but what editor does he use?

29

u/Pisano87 Nov 14 '21

Would be funny it was gedit

12

u/MexUp121 Nov 14 '21

Whats wrong with gedit 😡

3

u/COLORADO_RADALANCHE Nov 14 '21

Nothing, I use it all the time

2

u/shouheikun Nov 15 '21

Nano is superior. s/

3

u/[deleted] Nov 15 '21

Everything. It isn't Hedit.

7

u/Reluxtrue Nov 14 '21

inb4 it is regular windows notepad to screw with everybody.

14

u/bugrug Nov 14 '21

Google docs

2

u/Keplars Nov 15 '21

Just the text editor

0

u/[deleted] Nov 15 '21

[deleted]

3

u/Objective_Mine Nov 15 '21

If it's on Linux, gedit is labelled just "Text Editor" at least on the Gnome desktop (kind of like Gnome calls the Nautilus file manager "Files", etc.), so it might be that.

1

u/Keplars Nov 16 '21

Yeah exactly. I probably should've explained what I mean better 👍

14

u/MexUp121 Nov 14 '21

The true Chad editor. Vim

4

u/[deleted] Nov 15 '21

Obviously

7

u/[deleted] Nov 14 '21

Excel

4

u/[deleted] Nov 14 '21

atom gang rise up

6

u/vext01 Nov 14 '21

The correct editor: neovim.

(Ducks...)

2

u/[deleted] Nov 15 '21

Nothing wrong with any vim. Neovim looks beautiful when prepped up.

I'm using ((((DOOM!)))) >:D

0

u/[deleted] Nov 15 '21

[deleted]

1

u/[deleted] Nov 15 '21

that's a thing?? :O gonna check it out

46

u/csthrowawayquestion Nov 14 '21

This is funny.

17

u/irrelevantTautology Nov 14 '21

What I found funny was the use of 'Chad' as an adjective. I have never seen it used in a postitve way like in this post. I have only seen it used by incels as a way to describe the guys they simultaneously envy/loathe.

I'm not trying to be rude; I'm completely serious. I have never seen someone call someone a 'Chad' in such a positive way.

For context: Chad, on the incel wiki.

Do normal people really use 'Chad' as an adjective these days? It just seemed so odd in this context.

14

u/[deleted] Nov 15 '21

Teenager here: yeah, we use "chad" as equivalent to "worthy of respect and admiration"

5

u/[deleted] Nov 15 '21

normal might be a stretch, but its very common now to use 'Chad' as an adjetive, the internet is weird.

2

u/csthrowawayquestion Nov 14 '21

I just thought it was funny that simply being able to code on the spot was such a huge deal to OP.

10

u/Keplars Nov 15 '21

Well that is probably because the profs I had in the last years always prepared the code and students were still able to find mistakes or criticize it. They also often replied to questions with "I'll research that once I get home and tell you next lecture" or would think for a quite long time and experiment a little before getting it right. I mean we are 400 students and a few already are experts at the field and simply need a degree so some of the questions are very specific and rather complicated. I am just amazed how he seems to immediately know the answer and starts typing.

11

u/csthrowawayquestion Nov 15 '21

Congratulations, you are finally getting what you're paying for, a competent professor.

3

u/RunningRiot78 Nov 14 '21

Definitely, and , anecdotally at least, more often than not I see it used in a positive way. Though, whether or not the people I am around (mostly other students) can be classified as “normal” is heavily debated.

1

u/PowerChordRoar Nov 15 '21

It has become a popular meme

1

u/[deleted] Nov 14 '21

Yeah dude this passed into general slang with some semantic shifts a long time ago lmao

0

u/MrOtto47 Nov 15 '21

say chad to a youth and theyll think of that buffed up image of that mascular guy, it was a meme thing. chad = powerful and worthy.

67

u/otamam818 Mario Nov 14 '21

What you mentioned about "knowing the answer upon being asked" is actually a skill you can pick up on.

It's something I've done for basic problems myself and realized they if I keep practicing the art of "problem solving" I'll get to do it for harder questions.

Say hello world! as you embark on this world of programming, and good luck to you, buddy!

21

u/kdrdr3amz Nov 14 '21

If you’re from ucla you know what prof codes on Microsoft word, das.

8

u/onion_cat Nov 14 '21

I had a prof who did this in university. It sure helped me learn more when I saw him actually typing everything and explaining as he went. I wanted him for every class lol

10

u/Radiant64 Nov 14 '21

Using a shell in a terminal instead of clicking around in some GUI is a lot more efficient once you're used to it. The Unix model is incredibly ingenious, with its small tools that do one thing, and that can be stringed together using an efficient language to perform pretty much any task. I don't see the point in using an IDE since I took the time to learn the POSIX shell, and haven't used one, privately or professionally, in seven years.

Highly recommend. It makes using a computer and programming more or less synonymous, again.

9

u/Vakieh Nov 14 '21

While I do use terminal very heavily, there are certain aspects to what an IDE can provide that the terminal simply cannot - primarily to do with visual indicators. None of them are deal breakers, but particularly when you're dealing with very complex systems (think code that has been allowed to grow too 'Enterprisey' and large web application systems) or developing graphics-heavy applications, they can be a significant benefit.

I effectively ban them in my teaching until students are in at least 3rd year though, otherwise they turn into a crutch.

1

u/Radiant64 Nov 15 '21

Personally I don't find them that beneficial for those cases either, but it's a personal preference: I find it easier to spot systemic flaws in an architecture if I have to study it manually than if I can just "jump around" in an IDE and not fully suffer the consequences of how the project is structured.

I can see there's a point to them for very verbose languages like Java, just to save some typing, but I'm not sure they provide a gigabyte of value for that.

1

u/[deleted] Nov 15 '21

probably because he teaches the same class every year??????

1

u/Keplars Nov 16 '21

He doesn't. The program has changed a lot during the years. But he definitely is very experienced. Haven't had a prof yet that is this good at his job.

1

u/isameer920 Nov 18 '21

I don't know why you guys are dragging him down. I mean yes, writing 20 lines of code for an introductory class is not hard, same goes for opening everything over cli; I can do it and I am in my sophomore year, but this guy managed to inspire one of his students to take interest in what he teaches and get the student to do the assignments himself, without forcing them. That's what the teachers job is. I am in CS because of a teacher like this and I can't thank him enough, ever. You can learn syntax and basic concepts over internet; probably better than they will teach you at the university, but getting inspired by your teacher is a priceless thing.

1

u/Keplars Nov 21 '21

I think it is my fault for not explaining it properly. Reading it again really sounds lame and there are a few things I should have mentioned. It is not an introductory class but an advanced class. Writing 30 lines of code might still not seem that much but the damn speed with which he is able to do it even when students ask for veeeery specific examples. He can also easily switch between the languages with no problems. I would also be able to open programs over the terminal but I've never seen someone not using a mouse at all and controlling every aspect over it.

It might still not sound that impressive to experienced people but you should really see that guy. I also did some more research and he seems to be the chairman of the programming language faculty as well and he regularly holds international speeches. He definitely is different from the other profs we had until now. So many others already had to google shit during class multiple times.

3

u/TailgateLegend Nov 14 '21

I would love to be in at least one of your classes with this professor, he sounds amazing.

3

u/fabiopapa Nov 14 '21

He programs everything using the text editor

As opposed to what?

Anyway, good story, made me smile.

3

u/Gunslinging_Gamer Nov 15 '21

Real men draw the code in MS paint and rename the file to an .exe.

5

u/[deleted] Nov 14 '21

I agree with the comment "You mistake experience for genius" because it brings up an important point - You can easily get to the point you see your professor at if you dedicate yourself to learning the tools, methods, and theory behind the practice. Hopefully that motivates you throughout your studies, I wish you luck.

2

u/Markenbier Nov 14 '21

Those People are great! I also find those people pretty impressive that can control the whole PC just with their keyboard. And not even that, they even do it like twice as fast as i ever could with my mouse. On top of that, they know hotkeys, no person ever in the history of mankind had heard of.

2

u/touchelos Nov 15 '21

What university do you go to?

1

u/[deleted] Nov 15 '21

honestly op would be way better off with his name

2

u/DarsilRain Nov 15 '21

I thought calling someone a Chad was an insult? This seems like a complement

2

u/Clear_vision Nov 15 '21

I do the terminal thing too, it's because standard out and standard error are being sent to the terminal so if it's not logging to a file you can see what's going wrong or why it errors out. Not every application does this, also I almost forgot the #1 reason is because you can ctrl + c out of buggy programs like firefox with 400 tabs open. The kind of "lag" so bad that you can't even open the task manager to kill the program

4

u/PresidentZeus Nov 14 '21

Learned how to compile and run Java programs through the command line today. Quite cool, cus I felt like Mr. Robot for a sec.

4

u/bokmann Nov 14 '21

There is a recorded lecture series called “The missing semester of your CS education”

https://missing.csail.mit.edu/

What you describe about live coding, using the terminal, using a text editor, etc. is part of that lecture, and the best professional engineers drive their computers from the command line like this all the time. It’s why we prefer posix-compliant shells over the dos command line.

2

u/JakZero Nov 15 '21

Is this understandable for 1st Year CS student like me, I only have a tiny amount of background about programming, so this would really help if I could understand this lecture.

1

u/smok1naces Nov 14 '21

Colored words and red squiggles FTW!!!

1

u/dnabre Nov 14 '21

This isn't abnormal. When teaching intro programming courses, I'd do virtually the same thing. I'd be using a IDE because that is what we teach the students to use, but for programs that size, the eclipse (at the time) was too slow to do anything past color/highlighting before I finish jotting a segment in.

This is just a matter of experience. Those examples really are trivial to him, and hopefully will be to you eventually.

1

u/Justagurl-_- Nov 15 '21

My professor at JuCo was like this. Seriously a legend. I thoroughly enjoyed watching him work. I wish all professors lectured this way. It’s soooooo beneficial to see the process rather than slides and 10 minute recorded videos

1

u/dreamer-on-cloud Nov 15 '21

I need this type of profs in my Master degree

1

u/[deleted] Nov 15 '21

I'm glad that pumped you. Stuff like that really has gotten me into working in terminals, learning vim / Doom Emacs, stop being scared of low level langs, etc.

This talk absolutely blew my mind when he started coding live: https://www.youtube.com/watch?v=OyfBQmvr2Hc Due is writing at a million miles per hour.

There's also the Sussman / Ableson MIT course where they code live in the terminal in Lisp AND ON THE BLACKBOARD! This was in the 80s mind you. Pretty neat stuff.

1

u/imelitist Nov 15 '21

Imagine not living in a tty in linux and only ever using CLI.

1

u/[deleted] Nov 15 '21

My programming prof just shows us videos from youtube of an inaudible indian guy talking about c programming in turbo c. Most of her presentations of codes has syntax issues which makes the whole class boring.

1

u/[deleted] Nov 15 '21

Girls with autism vs boys with autism

1

u/v_0id Nov 15 '21

Ah, yes. I did that as well, while I was teaching. As I was in the told, that skill is very rare, although I never understood why, and what's so difficult about writing a program that has less than 200 lines or code on the spot and that works as it should from the first time

1

u/[deleted] Nov 15 '21

There are many talents, but memorization is just one of them. There is also:

  • Creativity

  • Discipline

  • etc.

1

u/shouheikun Nov 15 '21

This is the kind of professor I want to be in the future. I don't want to be a boring old man with powerpoint.

1

u/[deleted] Nov 14 '21

This because he spent years coding alone in his office and preparing for the lectures.

-2

u/thedominux Nov 14 '21

I usually write dozens lines of code in different files/directories and it often works from the first running

I mean I even see where I will get problems in my code, and where I won't

It's not a magic, it's just a skill and knowledge....

0

u/[deleted] Nov 14 '21

[deleted]

4

u/[deleted] Nov 14 '21

i agree with your sentiment, but the way you said it was so rude and condescending...

2

u/NoticeMean Nov 14 '21

What was it?

1

u/[deleted] Nov 14 '21

just a bunch of unnecessary stuff like "20 lines of code?? wow!!"

0

u/[deleted] Nov 15 '21

[removed] — view removed comment

1

u/converter-bot Nov 15 '21

8 miles is 12.87 km

0

u/I-AM-PIRATE Nov 15 '21

Ahoy joelhuebner! Nay bad but me wasn't convinced. Give this a sail:

He learned t' use thar terminal when a Mouse did nay exist. It be what he's learned n' only what he uses. It be his grog-filled space. He's probably a lunatic n' uses VI, arggg. EMACS be better, but why? Nano does just fine.

Set up yer phone, recording his entire lecture. Our jolly crew nary had that (when our jolly crew walked 8 miles uphill in a blizzard across campus, both ways).

Oh, yea he probably still has stacks o' cards in his office. Visit, be impressed. Build some xxix servers o' yer choice either as VM's or on Raspberry Pi's. Either way, ye learn t' use thar terminal. D' things his way. You'll learn. Enjoy.

1

u/converter-bot Nov 15 '21

8 miles is 12.87 km

0

u/useles-converter-bot Nov 15 '21

8 miles is 41133.29 RTX 3090 graphics cards lined up.

1

u/converter-bot Nov 15 '21

8 miles is 12.87 km

0

u/useles-converter-bot Nov 15 '21

8 miles is 6849.71 Obamas. You're welcome.

1

u/converter-bot Nov 15 '21

8 miles is 12.87 km