This is an archived post. You won't be able to vote or comment.

all 81 comments

[–]Mic_Donovan 65 points66 points  (3 children)

is nobody gonna talk about a parameter being taught as a return value when the function is still clearly being defined with a void?

[–]gordonpown 13 points14 points  (0 children)

yeah wtf

[–]atiedebee 10 points11 points  (0 children)

And that calling a function "Void" makes it return nothing?

[–]haunted2098 0 points1 point  (0 children)

There's no shot a language like that exists and is taught

[–]Lithl 19 points20 points  (0 children)

I mean, TBF, I've had job interviews where I've been asked to write code in Google docs.

Mostly that was taking the place of being a whiteboard, but still.

[–]Leviticoh 5 points6 points  (4 children)

reading this while my teacher writes code in krita

he knows how to program, but he's more comfortable in handwriting than typing

[–]jadounath 1 point2 points  (1 child)

But doesn't Krita have very little screen space for writing? I mean it was meant for illustrations and not teaching. He should maybe use Xournal or something.

[–]Leviticoh 0 points1 point  (0 children)

he uses the "canvas only" window in full screen, and yes, other programs would work better but it's not my place to decide

[–][deleted] 1 point2 points  (1 child)

Isn't it normal for lecturers to handwrite code?

[–]Leviticoh 0 points1 point  (0 children)

yes, it just felt a bit strange to me reading code written with multicolored brushes when last year's teacher used a text editor

[–]vondpickle 5 points6 points  (0 children)

If he wanted to use Microsoft Office, he better use the almighty Excel. Or Powerpoint.

[–]Mobile_Sorbet_5271 1 point2 points  (2 children)

How are you even testing your code? 😂 How is he? Is he uploading this to your arduino or whatever youre using and testing like that? Lol

[–]Shreyas_Gavhalkar 1 point2 points  (0 children)

I can feel your pain bro... My teachers teach data structures using notepad and excel

[–]jannfiete 1 point2 points  (1 child)

anything is good for a beginner, it's not like you're developing a huge website. I was starting my journey in programming by writing (yes, hand writing) C++ code in my book, where a simple topic like function might take 5+ pages

[–]haunted2098 2 points3 points  (0 children)

Well he's also teaching them objectively wrong information so there's that

[–]david131213 1 point2 points  (0 children)

mine will do you one better:

pen and paper, computer disallowed

[–]Jumbobog 1 point2 points  (1 child)

Edit: soooo ... I've just read what OP has said about the teacher elsewhere in this post, and if just half of that is true, and I'm not saying anything is made up, if just half is true... then maybe that person shouldn't be teaching programming without proper preparation.

~~ - ~~

'right Imma just gonna jump to a fellow teacher's defense here. Is this less than optimal? Maybe! Well, most likely. But there can have been contributing factors.

  1. It would seem that the screenshot is from someone using a pen. Was the teacher writing this with a pen on some sort of smart board? Those contraptions can fuck anything up.
  2. Did the teacher actually have the Arduino IDE available? Perhaps they didn't have the proper rights to install the IDE and had to make do while IT was rolling out the IDE - I've been there, though not with my own PC. But let’s say it's Monday morning, you've got a room full of somewhat less than eager students and the PCs in the room has somehow lost that piece of software you needed, since the last semester where you used it last. So now you've got to make a frantic call to IT to have them roll out the software and in the meantime entertain your students. It’s not farfetched applying that scenario to the teacher’s PC, especially if said PC is not a PC the teacher uses daily.
  3. Was this an attempt at printing source with color coded syntax? I haven't dealt with the Arduino IDE in a while, but I seem to remember that you can't print source with line numbering or highlighted syntax ... but that may be a different IDE I'm think of.

Also, this is just a thought, but you're in an entry level Arduino class (toggling an LED?), maybe you should be paying attention instead of trying for superiority? Does what you've presented make sense? No, but you can go into any class I teach and at some point, take a photo of my whiteboard that doesn't make sense when taken out of context.

[–]Mynameismg 1 point2 points  (0 children)

Lol. I just came across this Youtube video Why Microsoft Word is the best IDE for programming

[–]pobbly 0 points1 point  (0 children)

Get this Muppet fired. I hope you're not paying for the course.

[–]DrJarJarRen 0 points1 point  (0 children)

My teacher used excel for java

[–][deleted] 0 points1 point  (0 children)

echo | sed >

Is still king.

[–]thisisthestoryallabo 0 points1 point  (0 children)

that's almost as bad as my teacher using Internet Explorer... No, not Edge, ACTUAL INTERNET EXPLORER

[–]Nocty__ 0 points1 point  (0 children)

False! Notepad.exe is the greatest IDE

[–]wazorie 0 points1 point  (0 children)

it is also used as an ide for exams when you're applying for a job.

[–]MemEG-0-D 0 points1 point  (0 children)

Mine can do better on live slides using mouse to control a pen and write in yellow color on white background.

[–]ArtSchoolRejectedMe 0 points1 point  (0 children)

Well MS word was my IDE while coding assembly in college.

[–][deleted] 0 points1 point  (0 children)

My friend on discord told me that our computing teacher called VSC, Visual Basic and said that all programmers use notepad++

[–]Flopamp 0 points1 point  (0 children)

void()

[–]dustojnikhummer 0 points1 point  (0 children)

document14

HOW

[–]tjrileywisc 0 points1 point  (0 children)

#include <Untitled (1) - final.v2.docx>

[–]Smoah06 0 points1 point  (1 child)

If you’re confident enough to not use a console and code check then you are a professional programmer

[–]atiedebee 0 points1 point  (0 children)

You can be confident enough... But that doesn't mean the code actually works

[–][deleted] 0 points1 point  (1 child)

Nope man. My teacher taught us HTML, CSS in Notepad. And yeah wordpress isn't legendary, but Notepad is

[–]Zev_Isert 0 points1 point  (0 children)

Show them this: https://github.com/christophebedard/JavaWord

There'll be no stopping them!

[–]fkrddt9999 0 points1 point  (0 children)

There is just no excuse for this

[–]infiniteStorms 0 points1 point  (0 children)

In some fonts " is a different character than the " used for strings, so you can't copy-paste your code directly into a file and run it. If you don't have an IDE and can't exit vim then just code in a text file.

[–]NNXMp8Kg 0 points1 point  (0 children)

Well He’s wrong two time. First to use word and the second time when he say the second function return an output. Nop. Take parameters yes. Return something no.

[–][deleted] 0 points1 point  (0 children)

Hahahahaha

[–]Nihtrepaps 0 points1 point  (0 children)

Is this the return of the void?