Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
![](/static/devrant/img/pipeless-devrant-banner-white.png)
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
CWins48117yShouldn't wk73 be about best experiences? If that was your best experience, you have a sad life.
-
b3b343787yRiP. Wtf. At least my teacher knows what an instance is. But sadly we are only learning Java in class, instead of c++ (which I already know quite well). It confuses me so much if a parameter/member var or whatever is a pointer, reference or just whatever. Like... In c++ I can decide whether a function with parameter x can access the original var x or receives a completely other var (same val). But in java class I'm sooooo confused
-
@CWins Interacting with teachers is very boring.. but I always wonder how they became an engineering teacher
-
CWins48117y@b3b3
Look up "call by reference" and "call by value". It might seem confusing but it's actually more simple than in C++ once you got it.
It's good that you learned C++ because knowing about how pointers and managing memory works is of good value even when using other languages.
I also think that it's good that you're now forced to learn java. Could as well be C#. It's a little different than C++, but once you got used to it, you will see the value and why these languages are sometimes the better tool. -
CWins48117y@sauravnk30
Did your teacher study engineering?
In a lot of schools, especially those without a technical focus, the dev-teachers are often not people who studied it or worked in the field but rather the best they got, which might mean he studied biology in 1985 and installed Doom on the library computer in 1995 which made him the "technology expert" in that school.
Related Rants
-
elgringo41Student - Teacher renaming .c to .exe make the program executable ? Teacher - Yes A group of people stand up...
-
kescherRant14Our programming teacher had a surgery on his left eye and will not be able to do the lessons with us. Guess wh...
-
neelgeek32In my second year, I told my teacher I can code in in C#(c-sharp). She replied : C-sharp ? Oh you mean C-hash...
Once my teacher was taking my viva and she asked me to explain the below line.
Scanner sc = new Scanner(System.in)
I told her that this creates a newScanner instance which points to the input stream passed as argument
She shouted at me and said that I am wrong.
She explained to me that this line creates a new object not an instance
joke/meme
wk73
teacher