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
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "programming class"
-
School time, programming class:
Girl: Hey, Can you help me?
Me: Sure, what's up?
G: I have an error but I don't know why
M: *looks at error stack trace* You're missing a semicolon in line 133 *puts comma, run... 27 more errors* Well, you have more issues up there, why don't you try to fix them?
G: Oh, Ok, thanks
-- 1 hour later --
G: Hey, can you come? I already fixed the other issues but I still have one I can't fix
M: *checks code, same mistake I fixed, missing semicolon, same line* Why did you erase the semicolon?
G: Oh, because if I erase it, I only have 1 error, but if I leave it, I have 27 so....
M: *turn around, walk away*19 -
Holy fucking shit. I just went to my first Java class at uni (3 1/2 hour long one at that) and I havent felt so damn irritated in a while.
Some background:
So first, I only had about an hour of sleep last night and a full day of work before this class so I was more cranky than normal.
Theres only 7 students in the class, 6 others plus me. I am the only one with any resemblence of programming experience. The teacher also claims to be a linux developer.
This is a three part course series. Java 1, 2, and 3. All taught by the same teacher.
The fuckery:
-teacher spends 48 minutes talking about text editors. Not even IDEs. Just talking in depth as fuck about notepad (notepad. Not notepad++ )and atom and textpad. Those three only though, nothing on vim or emacs or ACTUAL IDEs. 48 minutes.
- I briefly mentioned learning node.js on the side and am now the "javascript girl" to my teacher. I'm probably less experienced with js than any other thing i ever practised or studied.
-professor saw linux on laptop and asked what distro. When I said arch he said "oh no you shouldnt be using that Its not really for beginners" ... Uhh what makes you think I'm a beginner to linux? Or does he not think I should be using arch while learning java? Either way its really ridiculous and irritates me that he would discourage anyone from using any software/OS/anything, regardless of what it is or skill level.
-teacher moved a bunch of content out of the course because theyre either "concepts that are never implemented anymore" or "arent critical to know to master the language". These particular topics that were removed? Multi-dimensional arrays, scopes, and exception handling. EXCEPTION HANDLING.
-he writes a hello world program and displays it on the board, proof of it working and everything. He tells the class to write the same program, compile and run it. Never did I guess we would spend the remaining hour and ten minutes of class struggling with fucking hello world programs. Especially when the correct code is on the fucking projector.
And I get it guys, everyone starts somewhere. People have to learn from square one. But these kids have no fucking interest in this. One of them literally admitted to pursuing this degree for the "lavish life" that comes with the salary. Others just picked programming because they didnt know what else to choose to get into the school. It fucking saddens me. I hope that one or some of them end up caring and finding a passion in this field, otherwise I feel fucking sorry for them having to spaghetti code their way through life to get a paycheck cause they couldnt be bothered to put in the effort. I feel even more sorry for any devs they work with in the future too.
The other annoying bit is that I can't test out of this class!! so it looks like for either 7 hours a week ill be bored out of my fucking mind with these beginner concepts or ill be helping others fix really stupid shit in their code (like putting quotes around hello world so it would actually print the string).
Fucking hell. Waste of a semester class.44 -
today at programming class...
professor: today we will be teaching you about vim and using the terminal and ssh. those who are smart enough to know these may leave the class, but be sure to sign the attendance sheet.
me: *starts packing and stands up and walks up to the front to sign*
me: *turns around*
EVERYBODY WAS LOOKING AT ME. i was the one only who stood up and the professor was also looking at me like "wtf this doesnt happen everyday". and so i walked out of there and im so proud of myself lmfao58 -
Being 100% serious, I saw a guy in my Computer Programming I class using MS Word to write code that he would copy, then paste into notepad. When I asked him why he did that, he said, "Microsoft Word is easier to read than notepad."
He ended up dropping the class and changed majors.11 -
During the second year of my graduation we had a subject called C & Data Structures. This asshole of a teacher (who taught programming by just reading the programs out of the textbook ) came to somehow know that I had learnt C & was good at it (some student had gossiped about me in front of him). Everyday when he came in for the lecture he used to call my name & say - "You think you are very smart please come in front & teach C to everyone" for no apparent reason. (I had never showed him that I was good in programming). For almost complete semester I kept silence & he used to laugh & keep me standing for the complete lecture. But one day I was particularly not in a very good mood & he came & said the same thing. I went & taught for the whole lecture & the whole class applauded at the end. The look on his face was priceless 🤣7
-
Today (as a joke), I asked my class if there were any “professional HTML programmers” who could help me.
Surprisingly a couple people came over with smirks on their face. I thought they were going along with the joke.
Turns out, they were serious. They legitimately believed that they were professional HTML programmers and talked to me in such a condescending way that I was speechless.
“This is called a file. See that part after the dot? That’s what makes it HTML. HTML is an incredibly hard programming language and powers CPUs and the computer that you are using.”
I didn’t know how to respond. Hopefully they were joking.9 -
I helped my friends in my C programming class set up their IDEs today.
Them: Do I need the JDK?
Me: We’re writing in C, not Cava
ಠ_ಠ8 -
I took a programming class this semester in which a have to write code on paper, and the more I write, the more I agree. I give you my word-
I will ***never--- ever--- write code on paper again***14 -
It's saddening to see that most of the students in my programming class don't care about programming :(
And it's heart breaking to see that the professor is using html4 instead of html5. 😣😣11 -
At our first programming course at uni (it was in C), a student asks in class:
Student: what is a pointer?
Teacher: i don't know, i only know Java.
How the hell did the poor guy end up teaching C then?!6 -
This happened when I was on third semester of the career at university. I had my first boyfriend, the "Python" guy. He has that nickname because he used Python as his main programming language and nobody on the classroom used it.
In a few words, he was a... horrible human being. He talked down to me almost all the time, saying to me that my country was sh*t (he is from United States, and for a reason he never wanted to told me, he cannot go back to his country), that my university was sh*t and he said "you're will be lucky if you rot programming in a chair".
As you might wondering, yes, unfortunately it was a toxic relationship. Once he said he wanted to kill the teacher because he though that he hacked his laptop D:
He claimed that he was going to teach me python and security stuff, bla bla bla, but nothing. I learned python by my own.
I almost lost my faith in dev future because I though that the only ones that could have a real future in programming where people without ethics and only if they have a friend or a relative on a company.
The saddest part was that I dated him because I love smart boys, but he was just an idiot that, furthermore, wanted to change me (he pressured me to have tattoos, dye my hair and have sex, things that, of course, I didn't do).
I found courage to break up with him. I waited until the semester ends (in order not to lose my programming final projects) and, the day after the last day of class, I broke up with him.
I recovered my faith on programming when, next semester, one of the teachers invited me to give a python programming workshop :D and I gave two python workshops, and two of mobile development.
Now I'm working as a junior .NET developer. Thank God I broke up with him before the relationship became even worse. "Python" wanted to marry me after a year! O_O11 -
So, today I was at my college library, working on an Haskell project that I have for my Functional Programming class. Library's packed and no seats are available, when the lady that works there passes behind me and says:
"There's people that want to study, if you're gonna be playing on your laptop please leave."
What? Excuse me? Are we in the 21st century or what?
How does a lady that works at a library, on an Engineering College, for more than 10 years, doesn't...
Screw it, I just laughed so hard and proceeded working.
Oh and by the way, first time posting on here!12 -
A group of computer science geeks were listening to a lecture about Java programming at a university.
After the lecture, one of the men leaned over and grabbed a woman's breast.
Woman: Hey! That's private OK ?
The man hesitated for a second looking confused.
Man: But I thought we were in the same class.3 -
Navy story time again.
I was a cadet, 1st year, final exams in """CS""". Our """professor""" was handing out the exam sheets, when I told him that one of the questions couldn't be answered by what he had taught. He had supposedly taught us C++ (I would insult every C++ tutorial, however shitty, if I called his class introductory or even elemental).
To give you a better idea of the situation, I'll only say this: one of the questions was "Name three brands of antivirus software."
I. SHIT. YOU. NOT.
This was supposed to be a Naval Academy that trained officers, by the way. Anyway, the question at hand was a program that must use recursion to solve a particular problem. I had been studying programming since high school, so I was not bothered by it, but everyone else was. Anyway...
Once I told him that, he threw a fucking fit. He screamed (as our overseeing officer watched in confusion) that we weren't paying attention, that we were just playing around and watching porn sites (BTW I discovered after that, that most porn videos were on the campus server, in write-protected folders that no student had permission to write, but professors and administrators did. Curious... but my ITSec misdeeds are for another day). Anyway, I got so angry at that idiot, I started writing (yes, programming on paper, if you whine about your IDE/text editor, think about that) the program. Until I found out that I didn't know WTF I was writing. The time was up, however, and I had to give my paper. To this day I have no idea what I wrote and what it did (if anything).
Got perfect score. Only one in class.8 -
These are some of the team names for my University's System Programming class. Thought you all would enjoy...13
-
At introduction of new class teacher asked which _one_ of the following isn't a programming language:
- Swift
- Pseudocode
- Haskell
- HTML
Took my chance on HTML, but apperantly pseudocode is less of a programming language according to him.30 -
before programming class:
"yes easy af, imma finish this in a few minutes"
during programming class:
*types everything in 10 mins*
*compiles and runs perfectly*
"wtf this isnt supposed to happen"
*spends 30 minutes trying to find the bug*
"fucking hell, it should fucking work by now"
end of programming class:
"oh i put int instead of float, good job, my time was wasted because of one fucking word"9 -
programming class sucks today so I drew something while actually maintaining stuff as my teacher spews BS11
-
So I teach a Lego mindstorms class to 5th graders for fun on my spare time. My other classes the kids usually seek me out for any programming questions but this one class of rambunctious boys would always say they're fine when I offered to help and then when they thought I wasn't looking would ask the male teacher or would pretend to listen to my explanation to not hurt my feelings. Finally my co worker told the guys "you know guys she went to school to program she does this for a living full time when she's not here. **room goes silent** In fact she's way better at programming then me". The whole room the boys mouths were open and one kid actually said noooo. We blew those kids minds. Most quiet day of class we've ever had after that.11
-
"I forgot how to program!"
"How could you forget what you didn't know in the first place?"
Programming class is fun.1 -
In IT-Class:
Random: Ey watcha doin?
Me: Programming. What else?
Random: Oh, you're such a nerd...
Me: Programming is fun! I really like it.
Random: Please don't say this is your hobby...
Me: It is.
Random: Bruuh... *goes away*
Why the fuck are you here, if you're not interested in programming???
I don't understand such people.13 -
So I missed the first 3 days of my programming class. Once I showed up to the 4th the professor was really cool about it. She informs me on the HW I missed and so after the test she handed me (which was overdue as well) I started on the HW. By the end of the class I show her the exercises I did and just by how I structured each function (Python btw) she could tell that I was advanced for the class... I was surprised when she said that I didn't have to show up to the class because it would be a waste of my time, and that I can use the time to focus on personal projects. She offered to help me out with database dev (which ironically I planned on reading head first sql after a design pattern book). The thing that hit home was when she said "I think you're going to be a great programmer."31
-
How did I learn programming?
When I joined college I was literally the dumbest in the class... I didn't even know what is a char and what is a String.. Our lecturer made fun of and humiliated me in front of the whole class....also my parents barely afforded my college tutotion fed...
So one night I sat with myself and reevaluated myself and decided that no matter how hard it is gonna be, I must become an excellent programmer....spent restless nights and days learning the core of programming in c++ then switched to Java *best day in my life* and also learned Android development.. And later JavaScript "mostly worked with jQuery and AngularJs*
In my final year project I built an Android web browser that even the lecturer that made fun of me was impressed by..and my app was rated the best project of that batch.
Now I'm working as a Java web dev and made a promise to myself that I'd learn something new every day.8 -
Hey devRant. What the fuck is up?
I'm new and just wanted to say hi or whatever. I don't even work in any computer science related job. I'm a fucking welder.
I have aspirations one day to be just like you nerds. I fall asleep at my desk almost every night taking random online programming classes which I lose interest halfway through to some OTHER class and redo the same shit.
Is this what it's like to be smart?36 -
Sooo, in my 5 years of high school, I had 5 different IT teachers...
Now, in Italy Highschool goes from 14 to 19 years old, I started programming some days after becoming 13, and "programming" classes begin on the third year, so I had quite a headstart on my classmates...
Now, for the third year, I had an awesome teacher, he noticed I was ahead and... Bored, so he gave me some extra stuff to study, he's the only teacher I've learnt anything from, it was awesome, very stingy with grades, but getting a perfect score with him was so satisfying.
Fourth year, the new guy was old, very old, at least 70, his lessons were just him talking about how programming was when he was young.
But then... During the second half of the fourth year I changed class due to bullying under a teacher's advice, and HE happened...
My new IT teacher, one of the most ignorant, awful people I ever met...
He's literally the reason I only went back to that school once, because another teacher needed help with a course...
One day I made the HUGE mistake to say that his "while(i <10000000000000);" wasn't very efficient for making a delay, because it didn't free the CPU, and since then:
- I never got more than 7 out of 10 at his tests
- He insulted me in front of the whole class
- He sabotaged the oral part of my final exam, shouting that he hated D'Annunzio when he saw he was in the literature part of my thesis (needed him to connect to WW2, and the Memex, that then allowed me to start talking about PCs and programming, my thesis was about the influence of lisp on modern programming languages), loudly chatting with other teachers when I was trying to keep calm (a teacher who knows me quite well, and was there to see my "performance" thought I was going to snap at some point), distracting the english teacher when I was exposing the english part of my thesis and pressuring the commission to give me 99 instead of 100 out of 100
So yeah, he almost made me hate the only thing I'm good at, undervaluing my work and my skills, undervaluing and humiliating me as a person, and I think that if I meet him again I might spit on his face...
So yeah, my biggest "programmer enemy" was a person that then did everything in his power to make my last year and a half of highschool hell
Now I can gladly say that with the help of my tutoring, some of my university colleagues are starting to appreciate programming, and my engineer friends ask for my help when they need advices about their code, and it's giving me motivation to keep doing it and becoming a better programmer to keep up with their expectations4 -
Programming class
Group of 2
He do the powerpoint and document
I do the whole web application
And when it’s time to present our work, his power point is black and white and documents formatting is a mess
I got B even though my website can CRUD and whole basic function works
Fuckin retard9 -
My teacher at school who taught me programming. We were taught Java.
You see, Java is not a beginner's language, most say. But the way she taught it, the examples, the analogy, the explanation; she made it so easy.
She made us execute our first Hello World program (using BlueJ) and proudly said, "you're all programmers now!", that was when fascination took me over. I remember that moment till today.
Also, unlike regular exams, the programming exams required extreme competency. Marks were split up for algorithm and syntax. There were also questions like find the error in this algorithm for this output. She would always surprise us at the exams!
I had several glorious moments in class by being the first to answer most of her questions. At 13, it was kind of a big deal for me.
(Okay, who am I kidding, it still is :-P)
*sigh*
It was mostly just self learning from there. I switched schools and then there was college. Attending classes in college was like going to the gym with fat trainers. Utterly useless :-/ It just made me appreciate her even more.6 -
In my programming lab, lecturer just scolded me for using stack overflow calling it useless and saying it has all the wrong information. Class I was so excited about just turned out to be the annoying one.6
-
Everyone's ranting about Intel being gay with design so I'll just drop a scratchpad I made during Computer programming class4
-
note to self : don't be too humble.
Why?
I just got Roasted in front of Advanced Programming class by a person who got an A in previous class by 100% copying other's work and change all variable and function name to differ.10 -
It's time for another teacher story. So grab a cup of tea and listen.
We were casually talking about Arduino programming because he told me he teaches this in another class.
Teacher: it's so sad that i can't use my java code on the Arduino. I mean the Arduino uses java so there shouldn't be a problem.
Me: *internal* HOLD THE FUCK ON
Me: you know that the Arduino uses c and not java, do you?
Teacher: but the Arduino can do java commands! How do you explain this!?
Me: because java uses the c-syntax and it's more of a coincidence that they're named the same way?
Teacher: huh. Ok. But C# doesn't use it, am i right?
How can someone this dumb be a programming teacher 🤦6 -
!rant
I managed to do a chunk of programming in class today without my partner to hold my hand through it. It may be simple, but I am proud of it nonetheless.24 -
Everyone in the class on the first day of college "I like programming, Java, C,C++". They don't even know that JavaScript and Java are different. Now I have to work with them on projects for 2 years. 😭
P.S. First Rant!12 -
It was fucking weird when our teacher in web programming class told to make a PHP page but he forgot to give us root access to Apache server and most importantly more than half of the class didn't know what the fuck a web server was and what is Apache.
Rest in peace college degree.1 -
Someone who noticed that I do programming as a hobby and therefore set harder work for me in class. He also encourages my side projects and at the moment is helping me build a native app for the school :)2
-
Had a PM in my programming class say "I want to understand what my team is going through, so I want to learn to code and the like, really to be a jack of all trades to better myself and my team" 👏 I respect that.2
-
>Starts learning/coding in python for two days straight.
> Two days later goes into C programming class.
> Prof. Displays my screen as we go through a program as a class.
> Starts typing in Python
> Can't turn off Python mode until halfway through class.2 -
My 8 year old brother started attending a robotics class a few days ago. He already loves it. I'm a proud big sister 😊
(And I'm already planning on how to start teaching him programming.)12 -
<rant>
when you're in a iOS programming class and for the 3rd week in a row we aren't coding. I don't give a flying fuck about steve jobs or apple as a company or their philosophy. Im here to code, not for a fucking history lesson.
</rant>6 -
My second year of high-school, we started having class in computer science. I was really looking forward to it cause I always wanted to learn programming.
On first sight it appeared that the professor which taught the class knew something, he looked like a genuine geek with those dorky glasses, briefcase and pants like Steve Urkel, but after couple of his lessons you could see he had no real dev experience and just basic understanding of programming in theory. He was more reading stuff from the book than he was trying to explain them to students and give some real world examples.
So it was just one these days, everybody got back from vacation, it's hot outside, the guy is just reading sentences from his book, half of students talk with each other and other half doesn't give a fuck about him or his class. Pretty sure I was the only one trying to listen to him and learn something from his recitals.
All of a sudden he notices the atmosphere in the classroom, slams the book shut, gives out couple of F-s to the loudest students and yells out loud "NONE OF YOU IN THIS ROOM WILL EVER ACCOMPLISH ANYTHING IN YOUR LIFE, BARE ALONE IN PROGRAMMING"
At first I felt like shit, but soon after that I started thinking "who the hell are you to tell me what I could or will accomplish in my life". Couple weeks later I've bought myself a first book in programming and started learning C++ late at night since I understood that I won't learn anything about programming in that school. Two years later I was correcting this same professor with his claims on a whiteboard in front of a whole class.
Today, seven years after his words I'm a developer living in foreign country with what I could say somewhat a solid experience and understanding of how both software and web are build, while that same professor still recites to his pupils difference between assembly and object code, while praying nobody asks him where and how these are used. For maybe a quarter of my paycheck. So much about his psychic powers..4 -
After a 4 year CS college completed and 3 years of java experience I have found the biggest challenge of my life when my gf asked me to teach her programming. After explaining 10 times what a class and an object is , I started to understand how frustrating is for a teacher with a shitty pay to teach an know-it-all dumb fuck to write a hello world after 2 years of college.11
-
This years~
It’s a class that introduce an introduction to programming.
First weeks of the class.
T: “For those who already know this basic stuff , You can take a final test. If you pass, you get an ‘A’ and dont have to attend to this class for the rest of this term.”
Me: “Fuck yeah~ Let’s do this”
—8 -
How many of you naturally used Allman style, even though your first programming class taught you to use K&R?24
-
There was this dude in my class named Mohammed and he always wrote this code that worked well but removing one teeny tiny thing would fuck up everything. My teacher then introduced the word "Mogramming" and whenever someone wrote code in the way Mo did the teacher would go like 'hey, stop mogramming and start programming!". Yeah, that was funny :).
-
I had a mate in college in my programming class who always worked in Microsoft Excel. Even when we're writing code in class, dude will be in Excel. Everyone who partnered with him including me in programming projects complained that he's always in Excel instead of coding. But somehow, dude always had the work done whenever the Prof asked to submit them.8
-
When I'm forced to maintain a C project having recently done a lot of C++:
Compiler: Declaration may not appear after executable statement in block.
Me: dEcLarAtiOn mAy NoT aPpeaR aFtER eXeCuTAblE stAtEmEnt iN BloCk. *pffffttt*2 -
Our first programming class was about how to prepare a cup of tea, how to write the pseudo code of this process, then how to write it using any programming language... It was the greatest lecture ever...5
-
I'm holding a programming class today, it's an open-door event, so anyone can come and try it out.
Nothing too much, just basic things.
I've been holding it for 30 min... To no one... No one showed up...7 -
Why the FUCK do people keep turning up the brightness on the monitors? Every single time I'm in programming class, some complete fucking idiot set the brightness blindingly high! I want to keep my eyes for a while, anything other than 0 just makes my eyes hurt on this monitor!12
-
In my computer programming class we have these nice brand new iMacs. For some reason we end up using Windows 7 on them anyways...9
-
There was a guy back at uni who, I'd have to say is just manipulative SOB,
I say this because of two situations:
We started uni, first week of programming homework, I helped him out, second week rolls around and this happens:
SOB: hey can you give me the answers to homework for this week?
Me: no but I can explain my idea process, which I then in painstaking detail, break down everything needed to do the homework, I thought maybe he'd understand the process and get the hang of it, he answers me with this
Me: so now that I explained everything did you understand what to do?
SOB: yeah yeah I do now could you give me the answers
But that ain't the only time, nope, at the same time for another class he was part of our team, where we decided to some ambitious project combining 3d printing + an Arduino to make a turret, needless to say my team mates knew nothing of Arduinos or 3d modelling, I did some 3d modelling in my spare time so I handled that other team mates made the Arduino rotate a motor :/ best they could do, SOB does nothing, assessment days rolls around and lecturer goes around the room we show him the turret, the Arduino and proceed to say SOB has done nothing, never contacted us through the last 6 weeks, despite us trying to do so, he begins to complain saying we lied, lecture takes him out of the room because we were starting to make a scene, and he starts crying! The lecturer gives him a B+!
I then hear him one day joking to this guy that he managed to pass Class A by doing nothing and managed to get a higher grade than the rest of his group, at the time he was copying homework from a person for the first programming class because he failed!
Later I hear in my final year he was hanging out with some first years, a friend of mine sees him and says hi, why you hanging with first years, the group of first years look at him and ask how he knows them, and proceeds to question why they were told he was a first year also...
Not only this but I heard despite failing so many papers (heard he was repeating first programming class 3-4 times) he somehow managed to graduate.... I just can't understand why, oh and he has a job too, managed to get one from a guy he knew working in IT he doesn't deserve his bachelor's degree at all!14 -
I had a professor in college who was "the expert in java programming language". He had a unique way of teaching.
P: So you save your java file and run this command.
*Some error occurs*
Me: But this is showing some error
P: Exactly. I wanted to show this exact same error so that you learn that this is not how its done. I will let you figure it out how its done and it will be your assignment for the day. Class dismissed.4 -
I feel like at some point it'll become more shit than it's ever been. Partially due to the fact that it seems like EVERY school is trying to get the students into computer science at this point.
NOT EVERYBODY BELONGS IN COMPUTER SCIENCE. PLAIN AND SIMPLE. IT'S NOT FOR EVERYONE.
I feel like some kids that are being forced to do computer science will basically be like "huh there's money in this, maybe I could do this" but they're completely shit at it, when they would have been MUCH better off doing something else.
Side rant, somewhat related actually:
I had a teacher last semester that has to teach one of the computer science classes starting this year (I was not taking her computer science class, it was an unrelated class). From what I've seen, she does not seem fit to teach the class at all.
She's supposed to be teaching some simple programming (no clue what languages, I didn't bother to take the comp sci class). And she knows that I know the stuff, so she would ask me about the simplest things. Which is 100% fine...if she wasn't teaching a computer science class.
She just does not seem fit to teach a computer science class. I'm sure that the school basically just threw her in there because they needed SOMEONE.
I'm honestly kinda scared for the students in the class that might want to go further into computer science, only having taken that class and having met the requirement for a more advanced class, but then being thrown into a class where they don't know a fucking thing.6 -
I have teens in my classroom who want elite hacker status but complain about doing programming exercises outside of class. >.<
I explain to them that learning to code takes a lot of practice and can be frustrating at first. Some still went to the dean complaining that my class is tough. I work at a private school where open communication is encouraged and social justice is a thing.
So, I'm over here like "How do I reach these kids?"
I'm optimistic and I try different approaches to teaching and learning. Some stuff has worked. A lot haven't.
I figure I'd ask here: Does anyone have a suggestion for any creative programming exercises/projects that are beginner-friendly, legal, and hacker-ish? (I teach intro to Java.)22 -
!programming
Anyone else gets peeved when you're insulted in a language your insulter thinks you don't speak?
I was at the indoor climbing gym, struggling halfway up a difficult route when a fat idiot attached to a 'Intro to Climbing' class howled to her friends "Look at that blind idiot, can't he see that big red piece beside his foot?" (I was climbing a green route) in Cantonese (a Chinese dialect).
😒9 -
I teach kids (7-12 years) to programming. Yesterday my colleague had the last class for this semester, where parents joined their kids to see what they done. They were presenting their projects, and a guy whose father is really strict with him, saw what variable names his son was using. Some of it (censored) are: "d*ck", "p*ssy", "f*ck". The guy is really scared of his father, because he's agressive with him all the time. I don't want to know what was his punishment for this.5
-
I already talked about it in another rant but here it is !
This year, I got the chance to teach PHP to my fellow students in my uni.
PHP was the first programming language I ever learned (5 years ago) and this year I had a PHP class in my uni. I knew that I would not learn anything new (as I'm more competent than the teacher). So my teacher let me help the other students when I had finished the exercices. Then my teacher got sick and I, kinda officially, replaced him during 3 weeks.
I'm very thankful that he gave me that chance and thanks to him I discovered a new part of IT that I didn't knew. And even if I didn't learn anything new in PHP, I learned a lot by troubleshooting others projects and trying to understand how they reason. I really developed a new soft skill that I never knew I would have.
That also really helped me to trust myself and I got more confident about my programming skills.
This is one of the best experiences I got during my studies so far.3 -
Sitting in an introduction to C++ class (I've been programming for 5 years but every job wants to see a degree even if it means taking boring intro classes)
I see the professor write code like this....
First: Ever heard of break;
Second: I know it's not wrong to write it like this but ever heard of spaces!!!!!!!14 -
So I'm 17, I go to a vocational school and I'm in a computer IT and networking class as a junior. We have learned programming in HTML and CSS and whenever I'm programming I'm having the most fun, so I am teaching myself C++! I don't really feel welcome due to my age but I hope all of you can help me in the future!15
-
So I was very bored in IT class and I asked my teacher to give me some extra exercises. What did he gave me??? Scratch. A Tool for 8 year old kids to learn some programming basics.. fml7
-
So in the 2nd grade of middle school.our classes had computers with projectors and teachers would present on them. At that time I was still a beginner in programming and knew some basic cmd commands, so before our teacher had come to class I went to the computer desk, opened cmd and then executed this command “shutdown -s -t 36000” which basically shutdowns the pc after 36000 milliseconds and then the teacher came to class and started explaining us a new lesson on a power point and half way through the power point the pc suddenly shutdowns and the class got wild. and no one admitted who did it so all the teacher did is to say” who ever did it pls don’t do it again”. Like wow...😂😂😂4
-
I have this great professor who taught us how to be logical human beings (not that I learned much of that haha). He introduced us to web dev. He started with the basic html shit, then proceed with php and sql. His lectures were awesome. He'll then proceed with code exercises. And we'll have mini 'codefights' in his classes! yey! He taught us that in programming, it is much more important to practice logic than master a single language(no hate please). I learned to love programming through his passion. :) I learned to program in his class, now I hope never to stop learning. :D8
-
So this happened last week.
Last week I went as a volunteer to give an introduction class basic programming to some guys and gals who are going to attend computer science soon next year.
The class lasted one week and we had done some basic algorithms and programming in Python.
Besides that we also did some very basic websites (html, css and javascript).
Obviously all those people were very enthusiastic.
Some were a little bit too enthusiastic...
There were these 2 guys who were best friends. They already knew everything apparently. Even though they just finished high school they had been programming for over 10 years, had already made countless of websites, applications, 'hacked Windows', RATs and some amazing games.
So there were some people there who never had programmed before. I started giving the lecture and warned people who already knew some basics of programming the first day might be a quite boring but I could not simply skip it obviously.
Those 2 dickheads acted like the biggest childs ever, started screaming in class, making sure everyone knew they were bored, and were constantly complaining to me that they know what print, for, while and strings were. I stayed calm and tried to explain them again I simply couldn't skip parts of the lecture for them.
Every hour and every day it started getting worse and worse with them. Not only but the whole class were furiously mad at them. Some other students even started screaming at them. They screamed back insulting everyone they even didn't what php was and stupid stuff like that.
At some point they interrupted me AGAIN and asked me how long I programmed. I told him little them over 5 years or something. They started laughing at me. Those 2 dickheads looked at me like they were so much better than me because they programmed over 10 years.
At some point, almost the last day, I had enough of their bullshit, interruption, screaming, insulting other students who asked questions, ... I said you know what, you give the lecture!
They refused because they felt too good for all these other 'noobs' (the other students). They would never become good and blah blah more bullshit.
I said alright, we're doing websites, you've made some websites, show me your most impressive website.
He was happy and felt honered.
He sent me the whole folder and I showed his website on code on the big screen in the room.
Then I said: "Everyone, pay close attention to this!"
That dickhead smiled and felt good
Me: "This is how NOT to make a website"
I started explaining to everyone all things that were complete shit and all things that were straight up sins.
That one friend of the dickhead stayed quiet. The other dickhead became as red as a tomato. At some points you even saw tears in his eyes. At some point he insulted me I was a scriptie and simply left.
The class started clapping.
One of the weirdest but also best moments of my life
Moral: Don't act like a complete bigheaded dickhead, don't feel better than everyone and show some respect
Thank you for reading
Have a nice day!3 -
I started programming 7 years ago, but I downloaded my first tutorials on programming in C++ already back in 2000. I had read maybe 4 pieces of literature, didn't understand anything, because it taught things in this order 1, "So, say you want to create a cat?", no I don't. I want to make a useful program.
2, "then you have make a constructor and a destructor", makes sense since that perfectly replicates nature, not,
3, "then you can define a method in the class that enables your cat to meow", eeeh no it doesn't make a sound, what it does however is print a series of characters even less useful than "Hello World" to stdout.
Then I found assembler and it all made sense! 😀 -
Some guy in my programming class just made a bunch of commits with only empty lines and a picture of Kim Jong-un...3
-
>first day at programming school
>we have to bring our own laptops
>teacher asks who is using windows
>every one raised their hands, except me...
>fuckme.jpeg
>teacher says: sorry, but we don’t support mac/linux
>twitchy_eye.tar.gz
>my inner voice: then why the fuck do we have to bring our own laptops, if you don’t support all fucking systems...
>teacher: so, do you guys ever heard of Visual Basic?
My point is, that a PROGRAMMING school should support all platforms if they consists that we have to bring our own machines to class.8 -
A group of computer science geeks were listening to a lecture about Java programming at a university.
After the lecture, one of the men leaned over and grabbed a woman’s breast.
Woman: Hey! That’s private OK ?
The man hesitated for a second looking confused.
Man: But I thought we were in the same class1 -
In the first lesson on the school the teacher mentioned the fibonaci formula, and because I already had a little experience in programming I wrote a program witch outputs a given amount of numbers after the Fibonacci formula and showed it to the teacher who didn't really showed any reaction. At the end of my time in the school while the exams preparation he told us that last year one part of the exam was to program for the Fibonacci formula. At this point I realized that my little experience in programming was already to much for the class and why I did not learn any thing in 2 years.
Ps: sry for my bad English.1 -
Italian schools are by far the worst in the world.
I'm in a IT oriented school, where we should learn to code.
We spent the first year writing in Word and "programming" in Excel.
In the second year we started learning Visual Basic, a total waste of time.
In the third year we finally got rid of most of the useless subjects we had and started learning C++.
Sadly we had a teacher who wasn't able to properly speak and teach to students who never really programmed.
We didn't even know what a class was at the end of the year.
In the fourth year, the current one, we didn't have a teacher for the first 3 months.
Now we are learning Java, but just the basics.
Oh, we're also "learning" HTML (not 5) and JavaScript.
Next year, the last one, we will do PHP and SQL.
Maybe also C#, the most pointless programming language in the world.
What a beautiful country.22 -
In my first semester we had a Hall of Fame for the programming tests and this was the message above the live stream of the class:2
-
me: so can i use strlen?
intern: no!! you need it implement it!
me: *calls teacher* hey can i use strlen?
teacher: yeah, do as you please. who told u you can't use it?
me: *points at the other guy*
whoops i think i just got him in trouble today xd sorry not sorry, i want him gone so i can replace him hahaha jk4 -
When I was 17 years old. I had difficulties in understanding math problem “Calculus” (I can’t remember which one was it). This one day when we were in a Computer Lab, our teacher was showing us how really software’s are made. During my time, it was vb6. I paid close attention. When I went home, I started to think things that I can make using that software so one day I went to my teacher and asked if I can have a copy of the vb6. He gave vb6 and told me that inside are few eBooks that will help in learning.
Fuck School, from that day I started to concentrate on programming only. Made a small calculator which will help me to understand a Calculus problem and double check my answer. From that day, I love programming.
I’ m 26 now and a full stack software developer. All I want to do it build cool shit, something that will blow the eyeball of my friends and that eyeball should pop out from their asshole.
Joke: The person who scored highest in the computer class was afraid to switch on the PC.1 -
so java thinks any jdk different from what the jre is targeting is "out-of-date", you should learn this in "how to not look like an idiot 101" programming class in elementary school. oracle.2
-
Just read an article that really grinds my gears. Its about coding in other languages. Not programming languages, but literally other languages.
Btw I learned to code in Spanish and I'm not against coding in programming languages using variable names in other languages.
That's fine.
What pissed me off was that the author claimed that we should be able to code Fucking JavaScript in SWAHILI or other languages available. What kind of PC bullshit is that!
Coding is barely fucking readable and now we have to make standards for Multilanguage support. Just learn the less than 60 reserved words you lazy fuck and code with them! I leaned to code with shitty tutorials in Spanish and theres no 1000x resources out there and this author claims you can't code unless you know english.
Granted. It's easier but wtf not just learn it. When I coded in Java in Spanish, I didn't know wtf a Class was or ags meant. So what. I memorized that shit. How? By coding!
Why bring this PC shit to programming? The author thinks there are few programmers bc we don't support fucking SWAHILI in JavaScript. Fuck no!
Now if you want to support this initiative. Think of this,
...legacy code
...in 32+ languages.
Have fun debugging this thing.14 -
Hello World! First post here. I'm literally done with frontend stuff. I want to design code, not to code design. Unless it's Processing. I find it cute. So.. I have a somewhat handy grasp on C++ because of a class in electronics course, Python seems quite easy to catch. I'm totally new to programming. I'd like to get into software, game development and android development (but I would like to do things cross-platform).
Which paths, resources, languages, useful books, videos, or just anything would you recommend?
To be fair, I have no coding friends so mentorship or simply finding code buddies would be great. 💜7 -
I hate this guys in my class who are asking me for a solution for the programming homework but they don't even try to solve it by their own...😔7
-
I was assigned my first ever huge software project in college (a complex board game made in only pure java) and was assigned a group by my professor. Since I'm doing well in the class, I was given kids who want me to teach them everything (from GitHub to simple oop) on top of programming most of the system because they can't or don't want to. So to make things easier I gave out some relatively simple and specific jobs in GitHub using the issues system that apparently nobody reads. Thankfully one person decided to take initiative and start their feature but one commit later the entire system crashed and everything is broken FML can't wait to program this entire thing by myself.5
-
I'm taking an Intro to Programming course along aside an Intro to Computers class so I already know about basic programing, still very new to it though! At the end of the Intro to Comp, we're learning about programming and a classmate was having a hard time understanding assignments and variables.
I explained the idea of the input command at least three times and he kept trying to print out a statement he just wanted to write in instead of printing out the input that the user will enter. He also assigned the same name to different variables.
Explained that what he was doing was not versatile and not useful, explained in an example situation, explained by writing some lines of code myself (THRICE), and he still had trouble understanding me. I didn't want to hold his hand the entire time.
Glad that I was called to leave early since I might get too frustrated if I had to stay back and continue to help him.
Hope he managed to finish the assignments successfully though! Feel kinda bad now...2 -
So here I am in class with just two weeks of knowledge in coding and this douchebag level 300 comes in like, 'Hey i'm a hacker and mid tier programmer and i can see you struggling with your basic code can i be of help?'... so I'm like, 'yh man. I'm a transfer biology student and i don't know a sh*t about coding but i have managed to buid a fine website of just two pages but i would also like to try hacking but first what programming languages do you know?' Guess what......the lil f*cker said HTML. I mean I may not know much but i know that can and will never be a programming language.11
-
Uni, programming 1.. professor had worst ppt presentation..I think it was about java..5? /* yeah, I'm old */
He was droning off in the most monotone voice..reading off the ppt, about types and blah blah blah..
Took us about 15mins to figure out he stopped teaching and was 'yelling' with the same monotone voice at one of my classmates to take their laptops and go play need for speed in the lobby..
I was sure I'd flunk the class and will never be able to complete the course, let alone get a job as a dev..he made programming look like the most boring thing on earth.. -
in the past 48 hours my partner must have asked me 50 times to create an "AI" that can get the data we need off of wikipedia.
Background: I am in AP Computer Science AB but I have been programming long enough that this class is a joke. We were assigned to partners with the task of creating a search engine that finds informations on wikipedia("which is dumb because thats what the search tool is for") so I created a Java Web-Scraping program in probably 30 minutes and showed my partner. He told me I am completely wrong because it would be "cool" to incorporate machine learning into the assignment.
Do I even tell his what machine learning is or should I just let his figure it out?7 -
Today in programming class someone said "Nobody understands that shit"... And I'm sitting here with my nearly 4 years of experience in programming... :(3
-
Been programming for 3 years now, self-taught but decided couldn't find any job and decided to enroll in college. The teachers are the worst, if I listen to them word for word I get confused about concepts I already know, they're classes are really slow and the teacher focus on a handful of student who slow down the whole class and I'm afraid by the end of the semester they will be rushing.7
-
My friend ha just big exam in their programming class. They got the assignment week before and were allowed to use libraries. They were using Java and Maven repos. He created his own Maven repo and added finished assignment as a library. He just added his repo to the gradle project and selected his library as a dependecy. He then created one class with main method, 10 lines of user input and called main method from his library. Since the school newly tests students work automatically, he instantly passed with 100% and had to look like hes actually working for next 3 hours 😂. Noone noticed anything after 2 weeks 😂1
-
So my dear programming teacher really hates break statements... I mean really really really. He thinks it's better for readability if you don't break from any kinds of loops (not even ifs) well then we came across a switch statement in class. He says "breaks only exist because it's needed in switches" well how about returning from a fcking swith? or goto? then you need no break...
Is there anyone who could explain why I should NEVER use breaks and why it's bad in any piece of code? Why is it better to just use whiles because fors are apparently evil again? Srsly I just wanna ask him to show me some big code bases without breaks...8 -
WHY THE FUCK DO MY TEACHERS KEEP USING SHITTY TRANSLATIONS FOR PROGRAMMING CONCEPTS?! Like dude, everything related to programming is in english, just use the fucking terms in english for fucks sake. There are some words like "array" that fit into portuguese sentences without needing translation, so why translate it?
Why do you use acronyms in portuguese? People in the Database Systems class will later read a lot the acronym DBMS but won't know what the fuck that is because they teach the acronym SGBD, which is a translation.
It's so cringy and useless, so many terms the students will have to translate back to english when they get out to the real world because everything related to programming is in english.
"oh but what if the person doesn't know english" you don't even have to know english, just associate the concept (which will be explained to you in your language) with an english word. Also if you don't know english you'll have a very hard time, so I'd suggest taking english classes as your electives.
Ok I'm done, I got it out of my system.6 -
I was writing some super basic following ai on paper during another prolifically stagnant physics class, and my teacher walks over to me...
She looks over my shoulder at the paper and continues to stare...
“Programming stuff,” I replied when she prompted me as to what it is that I was writing.
Then she continued to stare...
And stare...
Pointing at the word “energy”, she made a most enlightening and endearing comment: “Looks like physics.”
Then she walked away
And that was that2 -
So I'm not sure whether this actually is a believable story or not but I think I'll just share the saddest moment in my life with you.
So.... I've been working with a boy 0.5years younger than me on a project in Java so he could learn something about programming. I was actually dictating him code because he wasn't able to JUST WRITE ONE SINGLE LINE OF CODE WITHOUT ASKING ME HOW TO DO SHIT!!! So I dictated him a for each loop:
Me: "for ( Foo foo colon foos ) {doSomeShit();}"
Him: "for ( Foo foo .. foos ) {doSomeShit();}
For your understanding: in German colon means doppel punkt / double dot. I didn't think someone actually writes two dots... THIS IS SO FUCKING SAD
Please don't blame me for being a bad teacher. I'm inn a class with him and I know we did that in class. I also thought it multiple times to him6 -
So, this is probably somewhat esoteric but...
While studying at university I had a "programming paradigms" module, dunno why they called it that, it was more like "introduction to functional programming".
So, it's kinda mind bending, we'd only really started to get our heads around classical object oriented programming and they throw functional programming at us.
It's worse than that though, for do they use an established language, like lisp/scheme, functional Python, or even given Haskell?
No, of course they didn't. They taught us Oz.
You probably won't have heard of it, but this language is burned into the back of my brain, along with a vague understanding of the n-queens problem we had to solve graphically (using qTk, which I dunno if someone took qt and tk and blended them, I stopped asking questions after a while).
To top it off did this language (at the time) have a stand alone interpreter? Did it buggery! It was coupled to the Mozart programming system, which is just Emacs (which has a bloody lisp built into it,so close, yet so far 😭).
It gets worse, though, oh does it get worse, for pause dear reader and consider, have you ever heard of Mozart/oz before, I'd put money on most of you had not heard of it until today.
For, you see, I believe at the time of writing, one, yes, ONE text book exists on this language. When I was doing my assignment there was merely some published conference notes and language design documents.
That's not all, I was not the only one experiencing difficulties with this language, someone in the class ended up pouring through the mailing lists and found the very tutor teaching the class struggling at first to understand the language.
I had to repeat that year. The functional programming class was one semester.
When I retook that year, it was a whole year long. However, halfway through the year, original tutor was fired and a new tutor was hired to teach the language.
He was, understandably, just as confused as we were.
There was a Starbucks and a pub equidistant from the lecture hall, though in opposite directions. From lecture to lecture we had no idea which one we'd end up in.
I have reason to believe Mozart/Oz it some sort of otherworldly abomination designed to give students the occasional nightmare flashback, long after they've left.
My room had post it notes, sheets of paper, print outs, diagrams, doodles and pens, just stuck to the wall, I looked like a raving lunatic three hours away from being institutionalised. There was string connecting one diagram to the next and images of a chess queen all over. As I attempted to solve the n-queens problem.
Madmans knowledge, I call it. I can never unlearn all that, in fact it seeps into much of the code I write. Such information was not meant for the minds of a simple country bumpkin such as myself...
Mozart/Oz... I wouldn't be the programmer I am today without it, and that's frankly terrifying...10 -
So... I had this assignment. I was chill, had plenty of time, so I wasted hours playing videogames and also spent some learning programming. Then, at 3 am, after spending 2 hours leveling my first character in runescape, I gaze through the clock on my pc and notice the date was the 9th, the assignment was due tomorrow! SHIT
I RUSHED TO WORK AND SPENT THE WHOLE NIGHT CODING (it was for a programming class I took at the uni) HOURS OF HOURS OF STUPID MISTAKES MADE OUT OF SLEEPYNESS.
Until I made it.
I send the assignment, everything is cool. I watch the clock a last time before going to bed and fuck! The clock was in mm/dd/yyyy format! Don't know how the fuck it changed itself and how the fuck I didn't notice there was something wrong with the date. I still had 5 days remaining :(
May I request the world to get their shit together and choose just one global date format?
PS: my normal date format is dd/mm/yyyy11 -
So to start off, I am a hipster. Guilty as charged. A few months ago.
Me and my work's programming team decided to enter a hackathon. Note, I had never stayed awake for 48 hours straight programming before.
It was late and I was waiting on programmer 1 to finish writing a class so I can finish a part of the network code. We were all working on the same git repository, same branch for some reason at the time.
So I started just writing in random comments in the code while waiting. I finally got to complete the network and committed my work.
They both made a pull about the same time and both my boss and coworker turned around at the same time.
I had written a comment
// Ya know those glasses I wear to work everyday? They're not prescription. They're fake.
The look of disappointment just staring me down was absolutely priceless. And the fact that they both read the comment at the same time.. 😂😂😂😂😂😂😂 -
I really wish every school curriculum made a basic programming class mandatory. At worst, it would give everyone somewhat of an idea of how computers work.6
-
Memory just came up from reading another rant about static keyword I wanted to share. Involved a network programming assignment in Java back in my heyday.
Fellow student was told that a static member was shared between every object in a class and decided that they could use that to implement network communication (i.e. if they ran the same java program on different machines, they'd be able to communicate by reading to and writing from the same static fields).
Have a memory of sitting in corner of lab overhearing tutor lose their mind trying to (unsuccessfully) explain why this didn't work.5 -
I taught an intro to programming class today, brought back memories of highschool...
I remember when I started my first IT class in grade 10, it was a 50/50 split between IT theory amd programming. Choices were java or delphi...I made the uninformed choice to do java (thank goodness) and really enjoyed it. For some reason the logic and OOP concepts really made sense to me and i was well ahead of the class. I was always top 5 for maths/physics/chem and english literature but never enjoyed them for a second. On the other hand programming was something i could do for hours and still enjoy. In my final year we had to do a project, most of my class was still struggling with very simple for loops and jframes. The projects were terrible drag and drop NetBeans UIs that would convert meters to feet.
I remember being upset with the quality and ended up writing an entire client/server chat system with file sharing, voice notes, voice streaming, server admin controls, usernames and passwords (plaintext sql of course 😂), admins/mods/guests etc...
Got 100% and a personal recognition from the headmaster...found out yesterday the staff at the college have actually been using it since the time I left.
I don't know why i typed this whole story, something about teaching the kids where i was myself made me feel warm and fuzzy inside1 -
Circa spring of last year, Computer Science 1
The guy sitting next to me asked me a clarifying question about what our professor was mumbling and scribbling illegibly on the board.
I start to respond, only for the professor to YELL at me in front of the class for helping him, saying that programming was a personal affair and that I should be minding myself.
He even yelled at me for helping someone that is "too stupid help themselves" and that I shouldn't worry if the person next to me doesn't get it.
I felt bad, the kid next to me felt bad, and I avoided a semester of computer science just to not have him again.2 -
The lower the level language, the more concerned I am with performance for some reason...irrational I know.
Programming in C: oh no I have this extra if statement which may have to copy the 16 byte struct.
Programming in Python: oh hey I can simplify the logic if I write a class to dynamically build this regex, compile it, and search through a 1MB text file.5 -
Well after years of programming, I've hit my first runtime error that provides no info , the code fails prior to being able to generate an error so this is fucking fine :-)
And of course, the one time I need stack overflow, it tells you to initialise the class with data... Yet the class doesn't contain a fucking constructor... Smiley face7 -
Lessons I've learnt so far on programming
-- Your best written code today can be your worst tomorrow (Focus more on optimisation than style).
-- Having zero knowledge of a language then watching video tutorials is like purchasing an arsenal before knowing what a gun is (Read the docs instead).
-- It's works on my machine! Yes, because you built on Lenovo G-force but never considered the testers running on Intel Pentium 0.001 (Always consider low end devices).
-- "Programming" is you telling a story and without adding "comments" you just wrote a whole novel having no punctuation marks (Always add comments, you will thank yourself later for it I promise).
-- In programming there is nothing like "done"! You only have "in progress" or "abandoned" (Deploy progressively).
-- If at this point you still don't know how to make an asynchronous call in your favourite language, then you are still a rookie! take that from me. (Asynchronous operation is a key feature in programming that every coder should know).
-- If it's more than two conditions use "Switch... case" else stick with "If... else" (Readability should never be under-rated).
-- Code editors can MAKE YOU and BREAK YOU. They have great impact on your coding style and delivery time (Choose editors wisely).
-- Always resist the temptation of writing the whole project from scratch unless needs be (Favor patching to re-creation).
-- Helper methods reduces code redundancy by a large chunk (Always have a class in your project with helper methods).
-- There is something called git (Always make backups).
-- If you don't feel the soothing joy that comes in fixing a bug then "programming" is a no-no (Coding is fun only when it works).
-- Get angry with the bugs not the testers they're only noble messengers (Bugs are your true enemy).
-- You would learn more than a lot reading the codes of others and I mean a lot! (Code review promotes optimisation and let's you know when you are writing macaroni).
-- If you can do it without a framework you have yourself a big fat plus (Frameworks make you entirely dependent).
-- Treat your code like your pet, stop taking care of it and it dies! (Codes are fragile and needs regular updates to stay relevant).
Programming is nothing but fun and I've learnt that a long time ago.6 -
I'm about to finish university and I look back at some of my projects and homeworks from my Programming Fundamentals class back in semester 1...
WHAT IN THE WORLD WAS I THINKING BACK THEN!!!3 -
Just finished my first programming project and I couldn't be more excited for what's to come in the future 😄 also it's 3:30 and I've got class at 8:35...6
-
Do arcade games (Pac-Man, Donkey Kong, Berserk) count? I got my allowance in quarters.
Atari 2600? Ti/99 with a tape drive to play a game at my friend's house?
Having to buy a 5.25" floppy in the HS bookstore for typing class on the TRaSh-80s and finding a way to put a break in the program and save it to disk so I got top score on assignments?
Tron. That's what really did it for me. To this day, I like to imagine there is a vast world inside the computer.
After a BASIC programming class in HS, I got an Apple IIGS and started writing my own load menus for these little games I'd find around FIDO and newsgroups. Instead of "PR#6, brun gumball" a nice styled menu would show where you could press the number of the game you wanted to play.
I bought a book on Apple assembler and promptly got disillusioned with full blown programming (in 1988), instead sticking to BASIC and, later, JavaScript, HTML, PHP, CSS, and Python.
Who remembers sharing hacked PCP accounts to dial out of state BBSes?
Applied Engineering customers and 300 baud chatroom lurkers represent.
User #243, God's Country chat2 -
So happy right now!
I just finished a project which I started today.
It is a java bytecode class/method/field renamer. You can rename those things inside a jar file. It has a nice dark-themed GUI and it works great :)
I'm just happy because I couldn't find something like this on the Internet and wanted it since I started learning programming. Also I am happy because I did it in 1 Day and learned so much about the Java Bytecode!
It's using ObjectWeb ASM btw.7 -
So yesterday I got paired with this guy in physics class. First thing he does is ranting at my windows, after which he rants at his Mac, and then launches vim and tells me about how he only uses Linux, and how C+ is the only real programming language, and that maybe Python could be accepted as one too. Then he finishes by telling me how web development sucks because it's so high level... Suddenly I lost hope for Sweden...8
-
When I started programming ~5 years ago.
Teacher: OK, C++ classes and structs have 3 access modifiers: private, public and protected.
Private fields can't be accessed out of the current class.
Me thinking: wow, that's cool, but how can it be? I have to research.
I went to home and wrote a class with one variable with its set and get functionality.
Then I opened Cheat engine) and tried to access and change the variable. When I succeeded, I started hating this world of programming.
After some time I understood that it's wonderful cause it's up to you.5 -
Helped a friend who's currently learning programming in Java
Looked at the slides used to teach them and apparently the teacher explains the "static" keyword as "can be accessed from any function of the class"... Which... Isn't at all what static does
At that point they hadn't started with actual OOP stuff, so I kind of get why they didn't explain what it really does, but why the fuck did they just put down a completely wrong definition?! Instead of just saying "yeah you'll just need that keyword for now, I'll explain it later"19 -
I had two teachers in school, who even after finishing the class, continued to program with interested students. For example programming a robot or communicating over the serial port of a computer using Java.2
-
...programming class at school. First of all, we have to fucking write that shit on paper. >.<
Then, my neighbor just copied my code, but Karma reks him, because the teacher asked him to explain why he used what he wrote. He couldn't explain anything. Just so you folks know why I'm ranting about my neighbor:
You were supposed to output this using a for loop (lets take 10 as an example):
"10 * 2 = 20
20 * 3 = 60
...
720 / 8 = 90
90 / 9 = 10"
He couldn't do it, even though we learned how to do it before and he said he understood it.6 -
I'm just a student, but I always feel like a badass when the class treats me like almost like a teacher when it comes to programming.
Our actual programming teacher is new, so she doesn't always teach well (don't get me wrong, she's nice and I do know my place as a student) so my classmates usually approaches me when they need clarification or they got an error on their code. Makes me feel useful :D4 -
Second intro to programming class we remade tetris, it was incredible
I probably spent more time making graphics than coding, but I also coded a mini graphics framework for the game
We additionally made incrediblly addictive modifications to the game, it's still super fun to play
We also barely had the knowledge we needed to code it, but I'm still super proud of it5 -
There was a kid in my programming class that was convinced that in the next 10 years ai would become self aware and seek for the destruction of its creators.
I wasted 20 minutes of my life trying to explain down how ai sentience would have to be an intentional decision by the group creating the ai
Of course, he spun around and tried to explain how secret government organizations are already working on general intelligence that would run on quantum computers to shut down enemy governments.
Maybe with people willing to believe anything the world is doomed after all :/10 -
OKAY BUT WHY THE FUCK DO PEOPLE HAVE TO ACT LIKE THEY'RE SOME KIND OF GOD WHEN THEY CAN'T EVEN PASS AN INTRO CLASS. Some background: I go to an early college in high school program which offers computer science where you take two college classes a semester starting you junior year in high school. AND THIS GIRL TALKS ABOUT THIS PROGRAM LIKE IT'S AWFUL AND SHE HATES IT AND HOW THE PROFESSORS DON'T TEACH AND SHE FAILED AN INTRO TO PROGRAMMING CLASS WHICH TEACHES JAVA BUT THEN SHE ACTS LIKE SHE'S WAY ABOVE THE OTHER KIDS IN MY CLASS BECAUSE SHE'S RETAKING IT. SHE'S ALSO A STUDENT ASSISTANT IN MY CYBER SECURITY CLASS BUT DOESN'T KNOW WHAT THE localhost IP IS. I UNDERSTAND THAT I DON'T KNOW EVERYTHING BUT AT LEAST I DON'T ACT LIKE I DO. IT'S SO INFURIATING!!!!!!
-
About to demo my OS project for a systems programming class. Weird artifacting happening on the right edge of the screen (garbage characters, wrong color, etc.). VGA graphics are too arcane an art for me to figure out in time, so I draw a 1 block thick border around the whole screen and pretend I meant to do it. I updated that bitch every single frame to make sure nothing would ever be drawn on the edges. I got bonus points for making it look nicer.1
-
So I just started going to university and have a subject called "programming", we are taught Java, Haskell and Prolog. Every week there is a sheet with homeworks, programming tasks. Often we get something like a boilerplate, so we implement some methods and stuff like that. Those tasks are prepared and created by scientific assistants. They upload the boilerplate and sheets. Take a look at the programming style they follow in Java. Actually I can't find a pattern they follow, except from the spacing between the lines. We are 1000 students in the informatics course, of which probably 10% know how to properly program 😅
So like 900 people see and adapt/learn this real bad coding convention. It really pisses me off, that they basically don't give a shit about convention or teaching them. I have to say that the logic some times is as worse as the conventions 😓
Besides I am not cocky with conventions, but I think at a high-class university they should teach proper convention.17 -
Need to rant. I am doing programming 2 at university with java and the assessment is to make a card game. The subject is shit and is basically going over loops, variables, conditionals ect which we learned in introduction to programming and programming 1.
This leaves little time for oop principles, design patterns inherentance and all other useful stuff.
I am dedicated to making a career in programming and want to do my assessment the correct oop way. Although the lecturer doesn't care and is instructing the class to do it procedurally and shit.
I could do the program really quickly the shit procedural way and still get full marks but I feel dirty as hell coding like a scrub. So I'm 60 hours in on this assessment and there are so many classes and even more because of unit testing (we don't have to unit test) and I am spending way too much time.
My code is beautiful, my classes are tiny and maintainable, easy to modify and I'm learning so much about how to code oop the correct way with the help of a mentor and someone I look up to. But god does it take forever to code this way. And soo many iterations and redesigns because I'm still learning.
It's almost done but now I have another programming assessment for another class I'll have to do the dirty way because of time restraints and other assessments.
Sorry for wall of text but this is stressing me out 😛4 -
I started programing when I almost failed at some IT class 7 years ago when I was 16 in high school. So I started googling how to do basic stuff in java (if, for, while,... ) and I just fall in love with it 😊 I still remember how I wanted to make a button in Java so I googled: how to button in java 😂
Here I am still in love with it and I think I will always have this need to learn new programming languages, technologies, frameworks,... 😊🤓 -
!rant
Warning : This rant is long and is a rant asking for help and suggestions. If you will read and dont leave any comments, please go search other rants. Thanks.
-----------------------------------
Hi, fellow ranters. In our community, we have a tech class where teens (teens here mean 14yo -15yo) come to learn computer stuffs. Teens here are selected by a test and an interview. There are some teens who are f***ing awesome. One of them are proficient in scratch. (yeah, the orange cat) Another is awesome at PhotoShop, and the other loves windows xp. The teacher uses Microsoft Visual C++ IDE made in the 1990s. The kid sitting to my left made flappy bird with gamemaker. About 10 to 11 teens doesnt know what ctrl+alt+del does in windows and never did programming before... 3 among them always brings coke and oreos and eats super loudly. CRACK! And I bet no one knows about git.
Ok. Enough for the awesome teens. Now what we learn.
We learn C! Yes, C. We learned for, if else, switch and all those stuffs, then learned variables, which made other students who never did programming before be (―,.―).
Next class we will learn about functions in 3 hours. Then array and pointer in 3 hours. Thats it for c programming. Then we do some unnecessary stuffs and time for the finals.
We need to make a project with up to 4 teens as one team. Now I am asking you awesome ranters to suggest some projects for about 4 pros and 16 noobs can do. 10 hours are given in class and we can do in other times by ourselves in home. What should we do? I bet many of them will say to make ascii art in c which is dull and I have no thoughts of doing that.
Any thoughts will be appreciated.
Thank you for reading.
To see my skills, go to my profile page.
| Comments below
v17 -
Yesterday was the first day of an "Advanced" C programming class. I looked at the first homework afterwards and saw this:
NEVER use 'assert'. Real programmers don't use assert in big software projects because it makes your code stop.
Who the... What... How... Why would you...
*sigh* it's going to be a long two months.5 -
I've always been pretty tech savvy, but I never actually started coding till January in a beginner programming class. It's been almost a year and I've loved every step of the way :)
-
me: * is on Devrant at school*
teacher: what's devrant ?
me: it's where I go to complain about you
teacher: ...
yea. so fun story, my first computer science class I took freshman year where I knew more about programming than the teacher, not to mention most of the people in that class had 0 interest in actually learning computers8 -
I'm currently volunteering as a student assistant at my school, and today I've gotten the same question 20x. What question do you ask: "Why doesn't ^ return the power of the 2 numbers?"
It turns out that last week they've had a Math class from a new teacher (no programming experience) who said that if you want the power of 2 numbers you have to use the ^ operator...
If you don't know how to program, please don't teach it!5 -
I'm thinking of opening a small onsite web development class for teenager (maybe between 10-20 yo). The problem in Indonesia is most of us learn programming language at an older age, maybe because of the language barrier and lack of good tutorials in Indonesian language.
I want to change that by teaching them early, so that in the future, Indonesia can contribute more to the world of software and web development. Maybe even create new JS frameworks.
JK. ;)
But I don't know where to start. I mean, I've never even posted any article or tutorial (I'm not good at writing). How do I develop the curriculum? I've thought about creating a web quiz, but what do I write? How do I make the material?
Has any of you ever done this?8 -
Today in programming class.
FizzBuzz on a sheet of paper. I mean, of course I aced the one thing I do in every language I learn. :)
Our teacher then proceeded to talk about the fact that some people, even having studied Computer Science, were unable to make a FizzBuzz program.
w h a t ?11 -
First day of web server programming class. The teacher clearly doesn't know anything. He doesn't even know what the course is about! When someone asks him what it is, he mumbles about "dynamic" something... Then he says we will be using the languages JavaScript, MVC, and PHP. What the fuck. MVC? LANGUAGE?
He then tries to come up with some project we could make, and is not going to teach anything apparently. Keep in mind, most people in this class have very little previous experience with programming.
After not saying anything for a long time, he finally tells us to make a clock in JavaScript. A CLOCK. He is supposed to teach how to make Web APIs and such, but instead, he tells us to make a clock in JavaScript, and that's it.
What. The. Fuck.10 -
Yesterday I had a phone screening with a hiring manager and was expected to talk about more of my expertise and just my experience overall. With four years of experience, I thought I could tell her everything she needed to know.
However, this interview was just kind of... weird. Literally every question she asked was defintiions. It was as if I was doing a short answer quiz.
"What is object-oriented programming?"
"What is a hashmap versus a list?"
"What is class inheritance?"
Like... What the fuck. These are questions that give no insight into who I am or how I work. This is shit you see on a second-year midterm exam. What a waste of time.9 -
(Java) Last year in programming class my teacher gave me a example project he had made. Looked through it found problems, fixed them. The next I had programming class I showed it to him. He were really cross about it and gave me a semi bad grade. After some time he told me I was right, and changed my grad.3
-
To those of you who have IT degrees, what exactly did you learn?
I've got the opportunity to double major in CS and IT, with it taking a total of 5 years. It's basically 1 extra year for the IT degree, since the CS takes 4 years with my general education classes. (It's a total of 13 extra class to get the IT degree.)
Part of me wants to just because it seems fun to learn my biggest tool if I'm going to program. And part of me acknowledges it's also a potential job if I'm unable to get a programming job at some point.2 -
In one of my first programming classes, I remember asking my instructor why "System.out.println()" has the periods between System, out and println. All I got back was a "thats just how it is". This really pissed me off and I ignored that instructor for the rest of the semester. Passed the class but since I didn't bother to self study either, wasted a lot of time resources. Hindsight, should have looked it up myself.6
-
In highschool, I was looking around for schools and universities at which I would start my student career. I went to a grad school one day, to see what it was like to be a student there. The first class I visited was programming for embedded systems. We got the assignment to write Java code to control a boom barrier. The teacher had written the template. And I kid you not, the template had a method of around 20 lines of code - without comments - with the purpose of carrying out a logical OR operation. An operation that literally can be done using an operator in Java: |
Why oh why do they let these people teach, with the result that the students will get used to these bad practises...5 -
I've been meaning to mention for the pass three months that my Java Programming class has "Leet" in it's course number.
-
How on earth are there people in their second year of a computer science course who are unable to understand how to read build errors. It's honestly not that hard, just look at the fucking build log and see where the error is and what type of error it is, but yet they don't bother reading the log and say that their "compiler is broken" when their 5 line code won't work.
If this was still first year I'd understand since many of the class didn't have much programming knowledge, but if you're in your second year and you struggle with this (that too for a Hello World script) it looks like you aren't even bothered and just expect the computer to magically understand what you mean.3 -
Back when I was at university, during the first lesson of web development class, our teacher said: “If you have any doubt or problem, please ask me. The only stupid question is the one you don’t ask!”
A fellow student raised is hand and asked how to do printf in Java (it was totally legit as most of us only used C at that point and it was our only reference in programming).
Our teacher: “What kind of fucking stupid question is this?!?”
😳1 -
I am beyond pissed at my Machine Learning class in college. you would think an advanced topic in Computer Science would require some prior knowledge of the field, but apparently not. A quarter of the class has ZERO programming knowledge, and the professor is basing the class around that. I took this course to learn how to CODE Machine Learning algorithms, not spend weeks upon weeks on learning how to calculate probabilities...2
-
Relatively new to programming. I have worked with c++ for about 7 months, worked with c# in unity to make games, created lots of different scripts and other programs using bash, python, racket and Java for class.
I am looking to become a video game developer, I work with unity and do lots of coding challenges on hackerrank.com and some other stuff. But I am wondering what I should do to really improve and am wondering what some of the vets out there would tell me to do, what kinds of projects to create, how to get better at programming as and whole andnd knowing more about the subject in general. Any help is appreciated, I'm looking to start 2017 on the right track to success!10 -
My friend's Client Programming (JavaScript class)'s professor wants their students to use pure JavaScript to make applications that works on IE 6 and up...4
-
> be me
> studying 1.5 years liberal arts stuff and general education class at community college
> transfer to a 4 year university.
> realize I need a major
> Realize I also I wanted to 9ne day have a family.
> realize family would need money
> "struggling actor" not a great choice
> pray about what I should be doing
> get distinct impression that instead of attending the session on majors at the college of fine and performance arts to go to session with the college of Science and engineering.
> hear pitch for computer science.
> signup for introduction to programming taught with c++.
> A couple semesters down the line take 3 classes all at once Discrete Math 1, Linear Algebra, and database design and administration.
> around week 6 realize that all 3 classes revolved around sets and set logic and set math.
> realize rdbs's are "applied" set math and that Each class a little more "applied" than the former.
> Be genius at SQL and set math
> havereally smart database teacher mentored me
> get introduced to the recruiter at the career fair.
> get interviews
> get flown out for 2md interview
> get internship
> do work, and get project back under budget
> a job offer
> finish senior year
> start as a "real" developer supporting business data and analytics.
> ???
> profit.3 -
I conducted my first "technical" interview today. Let's just say the chap needs to brush up on his terminology...
Q: What's a class and an object? And what's the difference between each?
A: Ummm... Errr... The one holds static information and the other can change its values.
OK, in his defence, he was nervous and English isn't his first language either, but then brush up on your terminology at the very least so that you can speak the lingo when asked questions about programming.1 -
Which language do you hate the most, and why?
Mine is Java, maybe because I've been learning about it since I started to learn programming on class.. getting tired and bored since I met Js and Python10 -
(inspired by another rant I read here)
Last semester we were learning Java in the Programming Fundamentals class and a friend of mine asked for help with an assignment.
The objective was to make a virtual store (as a console app) in which the user would be able to select a few products, customize some of them and then the program would print out a receipt, with a list of all products, their prices, and the total cost.
Simple enough I thought, but there was a catch: you were not allowed to use arrays because the teacher hadn't taught that to the class yet. So I was like "how the fuck are you supposed to do this then?". Turns out the way to do it was to just append text to a string in order to generate the receipt. This is stupidly simple, so stupid that it didn't even cross my mind.
It's just that it's an awful way to architecture your code, it's just plain shit. Sure, if you're learning programming that's completely ok, but using that code on production is just completely unfeasible and I think that's why it didn't even cross my mind to do it this way. I'm just constantly worrying about performance and good code architecture and organization that the simplest of all solutions slipped my mind. When I finally discovered the way the teacher wanted us to do it I just wanted to kill myself...3 -
When I was in my first year in university, at the Introduction to Programming class, we had to do a Java project and my partner was someone who was always bragging about how much he knew about programming. Me being someone who was learning programming by the moment I started the course I thought he was going to help and teach me cool stuff.
The first phase was due to deliver in one week and literally my code was all original and my partners code was all copies of others work. Out project could'vw been graded 0 because of his code (because they used a programm that compared variables of each project to see if.they fins copies). He practically didn't gave the effort to try to code, just copies. I spent the whole week correcting his work so that I wasnt penalized in the end...1 -
I recently got into an argument with some people, and I want your opinion. I did a speed code in Java (just sped up clip of programming, because it looks cool lol), and someone commented:
"Way too much static abuse here. Jesus"
In which I replied:
"Actually, sir. There is near none at all, just because I use static methods does not make it static abuse. A static method belongs to the class, and is somewhat permanent. It is not a type (instance, cat, dog, animal, etc.) class, it is a Utility class, much like other dependencies you'd use are Utilities and not types."
To which they reply:
"Getting and setting is a Utility?"
Boi. If it is a static variable, yes. Like, what?5 -
Long time no rant.
Here's the summary of a review meeting I & team just had with our programming prof:
"You did exactly what I taught you in class, and I don't like it."
"To get a better mark you should've done more than what was required."
"This wasn't a requirement. You should've kept it short."
except we asked about it being a requirement earlier and only got vague answers like "that should be obvious."
Also, printing a class diagram over 2 pages apparently is unacceptable and we should've gone to a copyshop to print that as one page instead.1 -
I've worked for 2 firms with billion dollar revenue on contract basis in last years, but I'm still a year away from graduating.
It feels suffocating when after a great night of work I have to go to class among people who don't care about programming at all
I just want to graduate and leave this place...
Ps. Attendance is compulsory in my college and I take computer science classes
Pss. I already make thrice of the highest package in offered in my college for last three years!5 -
First thought about programming was in forth class in school, I was 10, and together with a friend we where planing on building a robot.
When we had a basic Idea on how the mechanics would work (theoretically but maybe not really practically sound) we started to consider how to control it. We had heard about computers but had never seen one but we figured out you could not just say, “go shopping” but rather had to break the problem down and doing that we came to the conclusion we would have to start with getting it to take a step.
We never got further as my family moved and I switched schools.
Later the same year I got to play with an actual computer, the Sinclair ZX80, 80 for the year.
A monster with 512 bytes of internal memory ... yes bytes, not kbyte.
And then things got going, after a few curses in Basic I finally got my own Spectra video 128, 14 years old and 2 years later I was teaching basic in ravening classes and I have been working with computers and programming ever since.1 -
Before I dropped out of college,
We had a pretty big group-project.
We we're tasked creating a multiplayer version of "Labyrinth" in Java, using SE practices.
The problem was, that not all student that took the class were CS students.
So, me group consisted of 4 CS students , including me and 2 med-tech students.
Those two were nearly a dead weight.
They spoke nearly no German and only limited English,
Lied about their programming knowledge(non existent) and gave our profs false expectations about the final product.
I still can't imagine, why the uni thought they needed to take this class.2 -
Continued from https://www.devrant.io/rants/575042
Hi, everyone!
Time for a new great collab project!
Read the above rant I posted previously to see what our class is...
So the teacher(who uses visual c++ ide made in the 1990s) said to make an android based application or make a game but without using any block programming (like scratch) which means for android app development, we should make in java, js, c#, or any app makin' programming language. For game development, we should use either unity(yes, I am good at it) or unreal or gamemaker or buildbox. LibGDX is not allowed (I wonder how the teacher knows this library... strange).
Any ideas upon making apps or games? Prefer apps btw...
Something using SQLite or database will be appreciated but not dull student management system.
Any ideas appreciated.2 -
When I was in school I was in a vocational school and my program was a Computer Service and Networking class and that’s what it taught it’s pretty self explanatory. BUT we also did some programming.
I was the only one interested in programming really considering everyone else loved the hardware. But when they would ask for help it was awful.
The book we used didn’t format the python properly on the page so you can’t really tell if there’s an indent if you dont know python well (they didn’t) which is okay.
But what isn’t okay is asking me for help and SENDING ME A FUCKING VIDEO OF THE COde LIKE FUCKING WHAT THE HELL MAN THAT SHIT ISNT EVEN READABLE AND YOUR HAND IS SHAKING LIKE YOURE HAVING A STROKE AT LEAST SEND ME THE CODE OR WORST CASE A PICTURE.
This happened more than once. 😤6 -
Hate my fucking ‘Logic’ class. Teaching us if, or, and, etc statements and when something is true or false so far. Fair enough, part of logic. But fucking 6 classes on the same topic, isn’t helpful. Especially since it feels like the same shit I learnt myself when I was 13 and a junior in High School.
People are all surprised at it, even the Computer Science majors. This shouldn’t be a shock to you on how these statements work if you’ve coded for a few minutes in the University. You should’ve learnt it in your first programming class.
Ugh, just how I feel about this class. Have to take it to get my degree, otherwise I would’ve dropped it by now >.> Waste of time and money for me.12 -
Just finish my last Programming 1 class for the semester! I lost count of the amount of times I learned something throughout the course that blew my mind. I’m enjoying learning how to program way too much. On to programming 2!
-
My first time doing a pair-programming for uni assignment.
My partner is actually smart (a Mechanical Engineering guy), except when it comes to programming :
1. Don't know how to spell FALSE
2. Don't know how to create array in Matlab
3. Poor variable naming
4. Redundant code everywhere
5. Not using tabs
6. Stealing my idea and spit it again in my face after claiming it as his idea
7. Mansplaining every line of his code like I am a stupid person who never sees a computer before.
He said he has an experience in Matlab, wants to specialize in Robotics and taking several ML classes. What did they teach anyway in class to produce a shitty programmer like him?
Thankfully despite his being an arrogant shitty guy, he still manage to get our code to works.
That's good because if not, then I will happily push his head under water while slowly watching him drown.
🤨6 -
I've started participating in my university's student programming club. In one of the core projects I found the following lines of code:
class User(models.Model):
password = models.CharField(max_length=100)
...
I feel like I need to do something about it.3 -
I started fully exploring different aspects of tech in a middle school technology class where the teacher gave me a good grade as long as I did something that could be useful or interesting. I learned how to design webpages by playing with inspect element, and then decided to make my own with Notepad. One of my friends showed me how to use Sublime Text, and I found that I loved programming. Other things I did in there included using two desktops with NIC's wired directly to each other with an old version of Synergy and a VNC server, and at one point, I built a server node out of old dell Optiplex desktops the school had piled in a storage room.
Last year in high school, I took a class on VB.net and made some money afterwards by freelance refreshing legacy spaghetti, and got burned pretty badly by a person offering $25,000 for a major POS to backend CMS integration rewrite. The person told me that I had finished second, and that another dev had gotten the reward, but that he liked my code. A few days later, I was notified through a *cough*very convoluted*cough* system of mine by a trigger that ran once during startup in a production environment and reported the version number as well as a few other bits, and I was able to see that *cough*someone*cough* had been using my code. I stopped programming for at least six months straight because I didn't want to go back.
This year in high school, I'm taking the engineering class I didn't get into last year, and I realized that Autodesk Inventor supports VBA. I got back into programming with a lot of copy-paste and click-once "installers" to get my modelling assignments done faster than my classmates. Last week, one of my friends asked me to help him fix his VB program, which I did, and now I'm hooked again.
I've always been an engineer at heart, but now I'm conflicted with going into I.T., mechanical or robotical engineering, or being a software developer.
A little long, but that's how I got to where I am now. (I still detest those who take advantage of defenseless programmers. There's a special place for them.)7 -
Hey guys
I'm starting my first programming intern job in a week.
It's a big company and have many projects and they liked me because I knew some Java from college.
I obviously have no industry Java experience but am looking to review the book used in my class & the projects I did.
I'm still kinda nervous a little cuz I don't have any idea what it's going to be like.
What could be advised to do while waiting a week? Any good Java brush up idea
Thanks3 -
Me(the first day fo spring semester): Data Structures and Algorithms shouldn't be too hard of a class! This will be interesting!
Me(a couple days into class): I don't understand anything she's saying and the programming problems are in some pretty rough English...why me?!?2 -
You enter in the University class of programming and the teacher talk about what is a Variable and how to use It :I
So Interesting for me.....4 -
48 boolean variables.
For real?
It's clear why the class name is "GameHardActivity", this certainly is hard to maintain, understand, edit, and believe.
I can understand people learning, but with 2 years of experience in programming??? And there's a matrix right in the middle!!!! USE ARRAYS, PLEASE!!!!9 -
Look, a nice puzzle. Solve it and win great prizes!
1. _________ (7 letters) - A C++ output stream class commonly used to send output to the console.
2. _________ (3 letters) - A past tense verb, often used in logging or indicating a completed task.
3. _________ (3 letters) - A negation commonly used in boolean logic or programming conditions.
4. _________ (6 letters) - A command or function that removes an object, file, or memory allocation in programming.
5. _________ (7 letters) - In object-oriented programming, a term referring to an instance acting upon itself.17 -
My CS grade came in today and I'm sad because even at my best I could not get through it. Even with all the time I spent in and out of class, and those sleepless nights spent programming into the morning. All this effort and I still couldn't pass this class. My final killed me, and i'm upset because I know this exam doesn't represent all that I can do. It worries me because I feel like I will be told by employers that I'm not qualified because of a number. The number isn't everything, there's a story to every number.8
-
I've got quite excited that they changed a program at my university and they decided to put python instead electronics at first year. My younger friend came to me with notes from the lectures and asked for help. It seems that my university thinks that starting learning programming with overloading operators at first class is a good idea and they say that python 3.x isn't used widely yet, so they will stick to 2.7 during course.4
-
Just found my first little game I wrote in c++ and opengl(like 5yrs ago). Need to rename over 300 file names, class names and for each class their members names and function names now because ewww how can you call vars in programming like that. Porting it to Linux now. Library linking is working yet. I remember how awful it was to do that shit in vs. In Linux its ez. Also wrote a makefile because vs always compiled my whole project every time I ran it (for whatever reason).
I think that's what I'm going to be doing as a side project this week.2 -
I'm actually excited for this school year, since now I'm taking my programming class. (I'm taking HTML, CSS and JavaScript)7
-
It was in highschool. The classes were boring, the teachers were dull. One day, I was making a silly application in Visual Basic. A guy I had been in class with all year saw me coding, after that he came up to me. He was excited he found someone who was a coder as well. We started talking about our experiences and the possibilities. We could fill hours of stupid highschool subjects with talk of code. We immediately became best friends, despite never really have spoken before.
We made some cool shit together.
He is still one of my best friends 7 years later, even though he stopped pursuing a programming carreer.1 -
I was 17 and the class was tasked with programming a calculator in machine code! I was hooked went on to learn Java first, then C and C++. Now finished Uni having studied AI and Robotics and in my first job! I call myself a developer but I know there is still so much to learn in our ever changing industry!
-
My biggest data loss and also contributed in me getting into computer stuff was when dad formatted the computer before I was able to take a backup, felt so bad at that time it had all my photos from school with friends.
So instead of crying in the corner and me not knowing they can be brought back, at least half of them, I started learning how computers work, how software work, what type of software is out there ...etc. Though that brought more work for dad having to format my mess every month of so XD
But I ended up learning a lot of new things. Then one programming class at school sent me into the dev world2 -
So I'm studying at a university where everyone who studies electronics has to do the same "internship" where we have to program some microcontroller.
For most of us it is the first time programming with pointers and working with the register (C++). But the institute who does this shitty internship manages to FUCK up the class description and even the classes and methods they give you.
In the class description there are methods missing so you have no idea what they want you to do with that method and then they write stuff in the class description that aren't in the class and you don't need. For fucks sake how can you fuck up such a simple task.
And then their shitty template is wrong. If you expect your students to do well please for fucks sake make sure you give your students the correct classes and descriptions. Many students won't fucking know what is wrong because the never programmed in C++. The best part is that they are doing this "internship" for more than 5 years.5 -
way back in highschool, for recitation i fixed a bug in the code written on the board with a very small change. feeling proud of my work, i did a 'mic drop'-esque thing on the marker i used.
my prof apparently did not see the change i made, said to the class something about 'having guts,stagefright,etc. he thought i really did not do anything, and just erased the whole thing. i almost lost interest in programming after that.
after college though, graduating top of the class and all, the school asked me to do their website, it was kickass and the board liked it.
months after golive, i came across the same prof in a party for celebrating the success of the website.
i will never forget that "in your face" smug smile i gave him, and the obvious stumped look on his face.
sorry if its too long, here's a rant potato (:/)1 -
Those of you who did some kind of programming class in highschool, did they teach you about git?
I was talking to a friend the other day and we both said the one thing we wish we knew back then was git. Both us had projects go completely missing or fubar at T-10 seconds. I don't recall even knowing that version control was a thing10 -
My best experience is essentially being taught the creativity and adventure aspect of development.
My first second year programming lecturer (left early on for reasons) knew that our curriculum was stupidly easy and instead of focusing on it, he tried to give us a sense of wonder and exploration about the subject so that we can grow. It was well needed advice, seeing as my class fears programming because they never practice it.
IT sucked when he had to move on, but he managed to get the message across. I don't think I'd be as passionate about development this year if he wasn't around. It's not always just stringing instructions together for money. It's also exploring and creativity to find your way and build something awesome. -
So some of @ewpratten's rants just inspired me to tell my story of a somewhat ignorant teacher.
So we had an english class, it was abou Nelson Mandela or something, but I was sitting and learning about apache2(well I first learned about ncurses in python but since there was a command for restarting the apache server it got me curious, as usual). When she said something along the lines of(translated from.my language): "Then you read the text about Nelson Mandela, but other people are programming!". I was about to say that I was actually not programming, but setting up an apache server, but that would have been a dick move since she at least didn't accuse me for hacking.3 -
started programming in high school, realized during a hardware lab in my computer science class that I wanted to be a developer.
we hade to set up a network of 5 routers, and I was the last to finish because of a typo in one config. spent an hour debugging, the frustration and eventual feeling of success made me love working with computers! -
No best story, but definitely a worst human to ever exist. The first day of can class, I asked this guy what language we would be using, and he sincerely said "English". This man thought I was referring to that, legitimately. Never for one second did he think that I meant programming languages, since we ARE in a cs class. He then said that for programming languages he wanted to do Python and or html. I lost all respect for him the first day.3
-
Plz help...
I’m a student and developer, working every night my butt off for the last 2 years, not going to sleep till 2,3,4,5am, and taking tablets to keep my brain running and not fall asleep. Getting clients and about to sell my programming company in 2 months...
My programming teacher teaches the class such basic shit, she explains the topic very well, but for me she’s explaining how to do 2+2... last time I starred of to the window and almost started crying...
I’m very passionate about programming, Work sucks cause I need to make secure smart systems with math that take forever, I want to at least enjoy it In class, but it’s torture, fucking torture...
What should I do?6 -
My professor for my Intro to Object Oriented Programming class decided that using .cpp files with xcode as a PowerPoint replacement was a fantastic idea.
Each file is a different 'slide', and half of them are empty main functions full of comments.
Help me.1 -
So I'm helping my vocational school teacher with his Programming class as a graduate. While we were alone and talking about normal stuff (plans for the class and stuff like that), he brought up discord and after that I told him "I really wanna work for them, but I don't wanna move" and he continued to tell me how I have so much potential, how nothing stops me, how I am going far and that I'm going to do a lot. I wanted to legit cry inside because I've always thought the exact opposite of myself and always just thought about living a normal life, with the same dev job, nice home yknow the norm.
Idk man that talk happened in the afternoon today and Im still overwhelmed with the positivity.3 -
I like how one of my programming lecturers had never even heard of JSON before I asked whether I can use it in the assignment. In her defence (I guess), it wasn't a web dev class, but still how did she never come across JSON in her entire life?3
-
I've been creating my Typescript/C# projects using SOLID principles. Whenever someone randomly joins me in my projects at work, i feel they need a lot of help. Specially since they know programming, but are not familiar with SOLID.
Like ohhh ok you created a base class for that, or ohhh that method already exists in the base class sorry i've implemented it again, or ohhhh ok you already implemented this method in that class.
The more classes i create the more complicated it becomes, sometimes for me too!
I feel I have to write a documentation for the code I write just to keep up with the different, but code changes/augments so writing a doc is really time consuming.
However if i didnt create base classes or interfaces it would be less complicated to browse through method definitions.
I am happy with the code like that though, but in some specific times it's a pain in the ass.
Comments?2 -
so i started some new classes in school last week. the first day i walked into my new gaming development classes and my teacher says “im going to be honest with you guys i don’t know any of this and ive never taught this or programming so im just going to learn with you. the principal asked me if i wanted to teach this class and i said yes because it’d be a good learning experience and extra money. i usually only teach woodshop.” this is gonna be a great class. it makes me so mad that the teacher doesn’t even know what he’s teaching. im here to learn. why offer to teach a class you know nothing about? i could be at home watching YouTube videos and learning more2
-
This was in 1st semester and our CSE course went under some major course revision. Python was to be taught in place of C. Now the professor we had was very famous and we were excited to be in his class. But little did we knew he had no knowledge of Python at all. He used to tell the lab assistant to teach.It was so bad that I lost all interest in programming!!
But we all studied python later in our winter holidays for further courses.
Next semester we had OOP and this is what happened:
1st lab:
Professor(different): I expect you have basic knowledge in programming so I have uploaded.
Every question was related to structures in C.
In the same semester, we had data structures where we were 'expected' to know C or C++.
Later we came to know that Python was not going to be of any use in any course ! First semester went into dustbin.
/*
It was pretty long rant. Hope you didn't get bored :P
*/ -
<notarant>
Just got my class schedule for freshman Computer Science. Find out they teach C++ for Programming 101. Guess I should stop using C for the next couple months and buy a C++ book.
</notarant>1 -
My math teacher.
Simple story: His way of teaching was like bible study - he dictates the mathematical rules, the students had to write it down _exactly_ as told.
(Yes. He even dictated spaces / newlines / ....).
Had him for many years....
Since I was the rotten apple in class (I was always very weak regarding math), he had joy in mobbing me specifically.
It was one of the reasons I never thought about programming at all - or to be more precise, I _feared_ programming since everyone told me it would require intense knowledge of math.
Well. Fast forward. I went to university despite my fear, just because I was too stubborn to prove my math teacher right.
He was one of the counseling teachers too - and he made _very_ clear that I would fail in _anything_ regarding mathematics job wise.
I failed university, yes.
I gave up simply because I was too bored to learn and replay stuff by heart you'll certainly never need to remember your whole life.
Math played a role, too. Since I lacked the whole mathematical background, I barely passed the tests (mostly by a point).
But thanks to a lot of friends I learned that mathematics is helpful for programming - but not a must.
After giving up university, I started an apprenticeship.
And while I dreaded the decision for a long time, I couldn't be more happy about it.3 -
I just realized that in my company , the code review is not important.... And the source code is fucked up.... The structure is like functional programming and Oop combine with redundant function everywhere.
And in the source code there's a folder called depreciating service , I asked them what is that , they told me it is the service previously but not recommended for using it.
I was like "you mean deprecated"? Omg
They don't care about code review and clean code here.
My struggle here is they dare to create one class for the entire project and every code are in that class...
This is fucking not acceptable. -
Been programming one language or another since the 90s. So I have been exposed to a lot of things and worked on a lot of different systems. However I have never heard of Fizz Buzz before. I heard it was something they use to test people's programming skills during an interview. I figured I better look it up in case I get asked this during an interview. Of course I found a nice explanation on wikipedia:
https://en.wikipedia.org/wiki/...
I was shocked. This is being used to test programmers for competency? This is so trivial a non programmer could write the pseudocode to solve this problem. Is the bar really this low?
I remember I didn't want to pay for the C programming class in college. So I bought a book on C++ and read it cover to cover and wrote a bit of code. I then tested out of the C course (didn't know C was much different than C++ then, I started with Pascal). I didn't do that great on the written test. However for the coding test I easily passed that. I formatted the text in nice rows and columns using the modulus operator. The instructor said: "I have never seen anybody make it look this nice." Then I was shocked because that is "just how you do it".
It just seems to me that if fizz buzz is hard, then this may not be the right field for you. Am I egotistical in that opinion? None of this programming stuff has ever been particularly difficult for me.2 -
So this is about one assignment I had in my first programming class in university, I had a group which had 3 members, one saw the assignment and just quit, the other was always saying, "I Know what we have to do to complete this exercise" and I was like "great, then do it"...
Seconds later he just didn't do anything like "WT* man"2 -
So we have a course this semester called "Programming the web".
First lab:
Write a program using JS to take an int input using a alert box and then print it's multiplication table using ANOTHER ALERT BOX.
Yes, not even display on a page.
Next lab:
Print fibonacci numbers on a web page using JS. Because why not. Let's teach students JS how we taught them C and let's ignore the awesome stuff we can do with JS
Btw all this for a class that has never had a JS course and half the people don't even know what JS is. They just directly throw the program and are done with it.
I'm so gonna hate this semester1 -
I am from a third world country. Although I went to one of the better schools in my neighborhood, the education didnt work out very well for me (maybe because I wasn't the brightest kid in class). Nothing made much sense except math, but didnt do very well at that either since the number of equations I had to memorize increased every year and I hated memorizing. One day programming started to make sense and from then I got the best scores in the class for programming, somewhat decent scores in math and languages and barely made it for other subjects.
I just continued doing the only thing I was good at. I am really curious about physics, chemistry, biology and other subjects and I religiously watch youtube videos and read articles explaining related concepts. Maybe I would have followed a different career path if my science teachers made any sense. Or maybe I am too dumb for that.
Is programming for me? I am still not sure but I know this is something I like.2 -
!rant
A while ago I ranted about how the programming club in my school decided to start teaching programming with arduino and it was causing the students to drop out because they were finding it hard, well today I went to the club and got there 10 minutes late, yet when I arrived, thinking that they would have started without me, there was only 2 people other than the instructor and assisstant. And the funny thing is that although 90% of the class stopped going to the programming club because they were finding arduino hard, the instructor still doesn't want to teach anything else and is adamant on teaching them arduino.
What a fucktard3 -
What are the chances of landing any kind of job in the software field without my CS bachelor's degree completed?
Cuz I'm so tired of the impractical bullshit I've had to do in class for the last 2 or 3 years. I just don't get why the University does not prepare people to work in dev teams yet it seems to be a prerequisite for any consideration to be hired in the field.
Edit: I'm quite familiar with programming and learn quickly. But is that not sufficient?6 -
Yesterday, I started taking the new programming classes in my school. I am utterly disappointed, before even teaching my classmates who are new to programming some basic python or javascript, the teacher started the class with teaching arduino and C and because of that many of my friends have since dropped the class and we are only 3 left out of an original 20.
Although some of you might say that arduino is a good introduction to programming, I believe you should teach a kid basic python or java before getting into arduino or raspi..etc11 -
I was around 12. My mother just took a new position as Algorithmic and programming teacher (Mathematics before) for high school seniors. (Around 16-17 in Russia back in a day).
So sometimes, I waited for her after school, listening (just a bit) what she was teaching.
Then one day I was waiting while she was giving an exam of 2 hours to seniors (End of year exam). In 20 minutes, I doodled a thing on a piece of paper and showed my mother. I was correct on all questions and all flow diagrams (Was not called like this back in a day).
From this moment, I knew, programming and logic are for me.
At the end of high school (So I was 17), I received the collective message from most girls in my class saying : “ You felt in love with computers and ignored us”. They were right ☹, I realised it way later.3 -
If you use a Windows system for work and have the permissions to, I highly recommend you learn Powershell if you haven't already.
I've only started learning it a few months, but it's already improved my workflow immensely since it's a decent bit more powerful than batch scripts, but not as 'heavy handed' for small tasks as a programming language like C# feels sometimes.
I kinda regret ignoring it for so long, I noticed it installed on my high school laptop and toyed with it a bit outside of class, but then gravitated more towards python which I can't use at my current job. really wish high school me had the attention span to learn both back then.8 -
Quick background:I'm am a student at a university in Alabama. I am also working full time and have a family.
My beginning C++ class was online and the teacher was...unique to say politely.
She would post lectures while she did some of the programming examples. That wasn't so bad, except she would cough frequently in the lecture(which wearing headphones would make me jump), and the tempo of her lecture would lull me to sleep after a hard day at work.
What was worse, she would post "projects" for us to do and tell us she would give a guideline in the code.
Well most times what was asked for in the project was topics we hadn't covered fully or she never explained well. Her "guide" was randomly saying a loop should be here and an if and an else should go here, but nothing else would be referenced.
Dropped her the first time, got a Day the second because I just could not follow her lecturing. I later took the class physically and with a different instructor and had the highest grade in the class.
I later had her for web development course and she wasn't as bad on assignments, but damn her coughing still hurt.2 -
Computer society in High school
So while I was in high school, I got excited over the computer society because I thought I could learn a lot of programming stuff from them. I joined and quickly realized that that was a big mistake. They were teaching stuff that you learn from the computer classes in grammar school, eg MS Office, email clients.
I started to learn programming myself through learning online, eventually being the best student in the society. The teacher in charge chose me to teach the class next year, but it cannot be too advance as people would get bored and confused.
Why does classes have to be like this, cannot be too hard. Has to be something that clearly everyone knows. This kind of bullshit has to stop. -
My university had a Programming Fundamentals course in the first semester and we got assigned this grumpy lady who demanded respect and would always claim she was the best at programming among her colleagues, had an obnoxiously snobbish tone and had a habit of forcing unneeded nonsensical sarcasm everytime one of us stepped up to ask her a question.
She taught C++ and I'm not saying she didn't know her stuff or anything; I respected her regardless (because she was my teacher), but she would mix up C classes in and insist that that was the right way to do it and had no consistent programming style.
Once she got so fed up with our class that just to prove her point that we're all dumb and worthless (she hated us a lot, yeah) that she started explaining binary trees and recursion out of the blue and gave us assignments for them... even though they weren't going to be covered that week. It soon became a shitfest, to be honest.
But on the plus side, because I didn't wanna listen to her lectures I pulled two all-nighters and covered the semester's worth of C++ and started napping in a corner in her class. She never had personal beef with me so I was thankful for that but her being the way she was helped me learn C++ with more motivation and vigor than I normally would have and also let me earn some change because my classmates couldn't understand her classes and wanted me to explain whatever she covered. -
Update the method books and lectures, first and foremost. Nothing better than studying outdated versions of languages just because university's technical base can't accommodate anything newer.
Upgrade the universities' hardware and software (I studied CS subjects on 1998 hardware with Windows XP and Lubuntu on board).
For the love of anything holy, stop making students program on paper.
Make professors available via e-mail. A surprising number of my professors weren't teach savvy enough to use it.
Introduce programming in highschool. Use a language that is easier to grasp than Delphi or Pascal. We had informatics as a class, and it never covered anything aside from Microsoft Office. -
How did your quest into the dev world look like? That's mine:
First time: Age 12, was in a C++ evening class for like 2 weeks, I undetstood nothing.
Second time: Age 16-18
Fiddled with scripts for steam games and jailbroken my iPhone while fiddling with aystem configs. Nothing major.
Third time: Age 19, learned Python in a Cybersecurity course. Failed miserably because the tutors were shit, thought I hated programming.
Fourth time: Age 21, developed a lot of scripts in my sysadmin job, one of them needed a GUI so I leanred C# and WPF. Enjoyed it so much I eventually enrolled in a Java 10 month course.
Fifth time: Now, age 22, learning Android and Fullstack javascript by myself. Enjoying every moment.
I still work as a sysadmin though.3 -
Had my first programming encounter when I was 12 at school with Turbo Pascal and VB, I was the best in my class but didn't really got struck by it.
It wasn't until I was 19 that I discovered Arduino and Processing, started learning C++ and Java and decided to switch from Electronic Engineering to Computer Engineering.
Since I was into music and used to make guitar pedals, the first things I programmed were a bunch of audio effects with Pure Data and some controllers with Arduino since I wanted to make a digital pedal with a raspberry, but as usual I never completed it ¯\_(ツ)_/¯ -
The near future is in IOT and device programming...
In ten years most of us will have some kind of central control and more and more stuff connected to IOT, security will be even a bigger problem with all the Firmware bugs and 0-day exploits, and In 10 years IOT programmers will be like today's plumbers... You need one to make a custom build and you must pay an excessive hour salary.
My country is already getting Ready, I'm starting next month a 1-year course on automation and electronics programming paid by the government.
On the other hand, most users will use fewer computers and more tablets and phones, meaning jobs in the backend and device apps programming and less in general computer programs for the general public.
Programmers jobs will increase as general jobs decrease, as many jobs will be replaced by machines, but such machines still need to be programmed, meaning trading 10 low-level jobs for 1 or 2 programming jobs.
Unlike most job areas, self-tough and Bootcamp programmers will have a chance for a job, as experience and knowledge will be more important than a "canudo" (Portuguese expression for the paper you get at the end of a university course). And we will see an increase of Programmer jobs class, with lower paid jobs for less experienced and more well-paid jobs for engineers.
In 10 years the market will be flooded with programmers and computer engineers, as many countries are investing in computer classes in the first years of the kids, So most kids will know at least one programming language at the end of their school and more about computers than most people these days. -
I love this wk108 tag. Have a lot of stories related to it.
For me , my mentors are the reason i am what i am today. In this crazy selfish world where people only want to run faster than the others, having nice helping people around is great.
(Val titanLannister=xx)
(1)class 6-10th, xx is a curious, but poor boy with no desktop/mobile , but still loves cs classes due to various ,caring teachers.
(2) class 11th end,programming for the first time that year, hates programming, one day when everybody goes out for lunch, xx tears down while talking to his cs teacher "why can't i score good marks when i was the best till 10th? Is programming so tough?" . I remember him giving me a little but greatest motivational lecture followed by 40 minutes of the most basic concepts in which i might had asked him a 1000 questions. "You are my chaempion", he used to say😂 (bad accent) . But god, if he hadn't motivated me that day, i swear i would have left all this and go for business. Thank-you, lokesh sir💗💗
First year : tried to go for a competitive learning course. Mann, am not cool in that stuff. Again was about to break (i was among the top scorers in school boards and had designed many small games back then. I should have been good here too, but nah... the other guys were like bullets .)
Oh my, my deepest bow to this amazing teacher SUMEET MALIK (oh sir, you were so good) .
How this guy taught? Well, he first explained the concept. Fo those who understood, he gave them question 'A', for those who didn't, he repated . For those who understood , can do question a again, and those eho did A already gets an even advance question B. And this cycle went on until the weakest student(usually me) understood the concept.
And no, it never happened even once that class finished with even a single child not doing all questions he gave.he used to teach very less concepts each class and would go to everybody's desk to check they understood the concept, the question, its working, weather we implemented or not and weather our implementation is correct or not +our doubts. Hell , i even took doubts with him for hours after the class and he always just smiled💗(oh sir, am so sorry for being so dumb)
Real Doubt classes, doubts on whatsApp, revision assignments , tests , competitions,... damn, i haven't seen a teacher with this much dedication. At one point of time, that institution was famous for our Sumeet sir's classes 😂
Then last year, i got another mentor . Harshit bhiya. The guy is awesome, and a little extra swaggy 😂. He got a lot of chill, with his big AAD badge, a bag full of stickers and his every day association with people at udacity and google. As always i tried to overwhelm him with my ton of doubts in class, but he use to just give me a few pointers/links, after which i was like quiet for the complete session😂. He gave me a lot to think/work upon and i got a kind of career to work on.
I also think of mentioning a fucked up depressing-bot assholic friend of mine, but he don't deserve to be in this list of my best people. Just fuck you mann with a blockchain of dicks, if you are reading this.1 -
[Long rant about one of the worst school project I got]
I just saw that post about Lego coding, and it reminds me a project we had to do for high school.
The project was about a robot that will do volleyball services. My group decided with me that I should go on programming the robot since it was my idea to pick that subject to work on. So I started to investigate the robot and the programming software.
This was one of the worst thing si could get. For some reason I didn't find any tutorial about how to program the robot, so I had to test it out. When you don't want to break the robot, that's clearly not the best thing to do.
So what about the teachers? We had 3. Two told me they don't know stuff about this, and one MIGHT know stuff but not how to use the software. Great...
Plus I add that we were asking a teacher some help, being desperate, and literally, he came, made a joke about "how long he didn't play with Lego toys", laughed at his own joke and left. Thank you, that was really helpful while I was worrying about the project that will help us getting my degree, clearly helped us.
So I managed to do something really basic, where you input the direction for the aim with the arrows on the robot, and central button was for shooting. Basically basic stuff. Even not optimal because the robot hit its own screen but a weaker throw wasn't working, so we had to put some protection over the screen and the arm.
Another group of another class were working on the same subject, so we visited them one day to see their stuff.
They made a joystick that was fully operational, with analogic direction input, precise aiming and shooting stuff. The best way to make myself doubt about my stuff.
So we did the presentation and for whatever reason, the other class (not only the other group) got bad reviews of their projects, made by my famous joking teacher, and we got a good review. Didn't understand, but whatever.
So did I learn stuff?
Absolutely not. It was one of the worst pain in the ass to learn the programming syntax and stuff, and when I graduated, I forgot anything concerning programming stuff, my engineering school did all the stuff.
This is some experience you don't forget, the one that don't make yourself grow at all but the effort is real.1 -
How I knew programming was for me?
In high school, the special education teacher who was assigned to teach the 'Computer' class. He taught us (maybe 5 of us in the class) Basic on Apple IIe and using various apps (word processing, database, spreadsheet). One day he brought in his personal Macintosh and showed how one could write code 'underneath' clicks to perform operations. Using Pascal, I popped up messages, made beeping sounds, etc. Blew my mind.
Seeing my and other's interest, he got the board to approve a 'Advanced Comp' class for the next semester.
First day, the room was packed.
Teacher: "Raise of hands, who thinks this class is 'Advanced Composition'?"
<most of the room raises their hands>
Teacher: "That's Mr. Early's class. This is Advanced Computers. You're welcome to stay, but we're going to be writing programs and learning other computer related topics"
Next day, the class was just me. I knew then I wanted to do this the rest of my life.
Thank you Mr. Hitt.3 -
So... Portugal already have CS classes for almost 20 years. Don't know what they teach now but everyone would know how to use windows, word and excel (specially kids without computers). My course was computers (what was called back then) and we spend half an year doing logic programming in paper and algorithms...
Any class that teaches programming should always start with logic programming, because you can apply it to any language...
Example: my latest programming class was 3 years ago, I did a CNC course (to work with machines that make molds... Think a 3d printer that cuts steel instead of pushing polimers) and my first question was :don't we start with logic programming or algorithms? The teacher first teased me... Then asked what is logic programming....
Resuming... At the end I was the only one who could use functions and variables... (check g-code and heidenhein, you'll get it).
Other then that I was the only one who got a job working cnc machines, everyone else that also got a job whent for the manual labor part (the molds are finished by hand)...
So... My thoughts... Any CS class that teaches programing should start with logic programming and algorithms... That's the foundation to learn any programming language.7 -
Programming in Delphi without any concepz. Done in CS class in school. Like wtf did anyone see delphi even near production?! Teacher did not know any other programming language2
-
I am stuck in the loop of "Projects which can complete easily and effectively by programming alone, but some programme it with the team , ad we just wasted 3 months."
Because of Constantly Changing things and refactoring.... (different programmer, different methods of coding style , and it took me to understand sometimes.)
there are people who re use a method/function by copy paste multiple times instead of create one class and call the obj from it...3 -
Trying to convince the class that test-driven development + DTSTTMPW ("do the simplest thing that might possibly work") + pair programming is the way to go, our software dev prof had us split in groups of two that would each get a turn to
1. add a unit test
2. edit the code so it passes the test
3. commit the change
The goal was to write a java class that converts integers to roman numerals.
Each group had only 2 minutes before the prof made them revert their changes.
After 45 minutes the code was just 10 lines of this:
if ( n == 1 )
return "I";
else if ( n == 2 )
return "II";
else if ( n == 3 ) ... -
I just saw this rant: https://devrant.io/rants/841846/ which gave me flashbacks of my first programming class using C#.
Our professor made us write for the whole semester our code using a pen and paper (for tests).
Her grading was "easy." She would write the code in the computer exactly as we wrote it. If it compiles, you got an A, if not, you got an F.
The average test would take at least 5 pages...
Overall it was an interesting class, and I have to admit that I learned a lot.5 -
Once I realized the power of ASP.NET in my Advanced Web Dev class... It was like a culmination of all of my favorite things: web design, programming, instant gratification....
My life would be forever changed 👐2 -
Okay so I need someone to tell me if this is what its like programming for a Superior at an actual job. Background information, I go to a highschool where Im learning IT fundementals, Programming, and networking.
So I'm designing the JavaScript Project for my class. Its a simple progress bar that loads from 1% to 100% when you press the button.
So then my teacher is like "can you add a number showing what percent its at?" and I was like "yeah sure" so I did it, and today I showed him and he was like "Can you make it to where the percent is in the center so you can see what its at the whole time" so I obviously replied
yes because Im the number 1 Javascript programmer in the class and now I have to make that adjustment but it clicked when I opened devRant that this is what a lot of professional programmers go through!..5 -
Took a college class - think it was called "Programming for Designers" - and the "teacher," aka CS grad student, just sat and played Pocket Tanks the whole time.
-
Well, I'm now making apps for Android in my class. This is going to be fun. (Sarcasm, please don't make me do this)3
-
So apparently friends have access to privates.
Just some coding thoughts. Yes I'm talking about C++, not...
Indeed, programmers are tiny Gods.1 -
I don't really remember... That can mean one of two things... It was to long ago... Or don't know how to do it yet... I do remember my first programming class, when my teacher said, "you just need to do a printf ..." And I asked, "what is that?" He looks at me, eyes wide open, for a huge amount of time, and then left without answering...
a side note, it was university class.1 -
Not sure if other programming languages class a Boolean as an integer value buuuuuuut...
The amount of times I've seen people do code such as...
if(value == true) {
variable = "blah blah";
} else if(value == false) {
variable = "blah";
}
Instead of doing a simple 1D array and going...
variable = strings[value];
It drives me crazy, such a small thing that has no real benefit but... Ugh... Whyyyyyyy3 -
y'all hear those stories about people who are blind and go into computer science and programming classes because they wanna make games
i'm in a digital entertainment class geared towards game development because i wanted to code bUt gUeSs wHat1 -
Help needed!
I have learnt the basics of programming languages such as C and Python but have not learnt Algorithm and Data Structures in any exclusive way. Although we were taught little about algorithms in the class. So is it a good idea to learn these topics now from any online courses or MOOCs?4 -
React, it's declarative way of doing things, and the functional programming methodology it prefers.
Realized how much I've moved on from for-loops and class/object instance to maps, filters and immutability/observers when I worked on a Laravel project after so long and found myself forced to do things in the, erm, "PHP" way, despite spending my initial year and a half of programming working exclusively in PHP.
Sure, there's Class Components and imperative techniques in React but I had blissfully settled into using the flexible nature of doing things enabled by both native JS and React, with hooks, Lodash/Ramda and (almost fanatically) pure functions1 -
What coding at work is supposed to look like:
class myclass {
public:
void myfunc;
void.... And so on so forth.
What coding at work actually looks like:
class myclass {
pub--"Hey can get line one? <name> is asking for you."
(20 minutes later)
public:
void myfunc;
vo--"Hey <same name> wants to talk to you again."
Programming doesn't give me gray hair, distractions do.3 -
So, in "learning" programming I took some classes in school and got a start in the academic sense. But, as professors would assign projects above the position of the class I would have to learn elsewhere. So I attribute my learning to code to Stack Overflow and Google searches.1
-
I'm starting to get sick of working with handed over projects that previous devs think they are masters of programming and their code is nothing but pure chaos ....
I'm given a project written in Java & Swift, API class is initiated a million times in same view, has access to android context, custom font is applied by creating custom text view instead of applying customization in styles file ....
Still haven't yet looked into iOS code but I'm not expecting much ...
Sometimes I wonder why I chose working with code4 -
Why am I the only student that others in IT/programming class look up to when it comes down to basic c++ programming??!
It's not *that* hard. Just read the book provided to you by school, goddammit! Just because I can write and use more than one dimension in an array DOES NOT make me any better in prigramming!(or maybe it does, idk)
But, as much as I hate those lads, deep within myself I want to help them get as best of scores in finals as they can. Here's hoping they come around to realise that and pay attention when I try to give them tips...1 -
Finding a lack of courses on Web development at my university (1996) I went out and bought my own HTML and JavaScript books. Then I used my employer's servers to set up three web servers and did a PR site for them. After that, I hung out a shingle and built sites for a private eye agency and an art gallery. The university asked me to teach a continuing education class on Web design. Then I got hired by an insurance startup programming ASP/MSSQL/IIS and the rest is history.
-
Tomorrow I'll write an exam in programming. I code since I was 11 years old and as soon as I got to that stupid programming class in school I felt bored. My teacher is an former encryption expert and thinks I'm too good for that stupid school. Well at least I am ready for the exam... That shit is so boring in class 😂2
-
I started Aeronautical Engeneering (yes I know, but I love Aviation). In second semester I saw Basic Programming, and then I realized that I had an ability in programming (comparing to my other fellows).
In third semester I was in "Static" class (vectors and a lot of physics) and I thought: "WTF am doing here, I don't know what can I do with a vector in real life." So I decided to switch to Systems Engeneering in other university (I think it had been always in my blood haha).
I saw one semester and this happened: I loved the career, but the university had an old-educational method that i hated. So i moved to another university, and I'm currently finishing at distance.
I'm just tired of university. I realized that the university is about 30%. The other 70% is experience (and of course a little from Stack Overflow hahaha).
Now, thanks to a lot of Google research and experience in various self projects, I'm here in Brazil working as a Web Developer.
I've learned 1000% more here than in the university.
And that's my short-four-years-story7 -
Can someone recommend me good alternatives to draw.io to create class diagrams (UML) for programming online?4
-
I've been programming for quite a while. I know Java and C#, but I decided to pick up another language, C++, so enrolled in a class at my college. My professor is GOD AWFUL. 4 weeks in and WE DIDNT EVEN TOUCH THE #$@&% KEYBOARD. You'd think that we would at least learn inputs or outputs, right? Instead we've been busting ass learning how to format our homework. What a waste of time.
On that note, if there are any good C++ classes on Udemy, and if you've had a good experience I would love your advice since theres many choices to choose from. I'm gonna learn this one way or another, and it seems the latter looks more useful than that person I'm obligated to call "professor".7 -
I'm currently taking an intro to Java programming class and the Prof is suggesting we use Jgrasp. He's open to us using other IDEs. What are some good ones y'all use?10
-
!rant
Y'all ever heard of the Clingo language for Answer Set Programming? Fucking concept is blowing my mind. Taking a class on KRR(my graduate degree is all about A.I) and this shit is beyond interesting man.2 -
Java Background "Use interfaces for model classes"
We should basically write the getters and setters in an interface. Programming against interfaces is a pracitct that is undisputed a must. But using interfaces for your model class c'mon. -
Let me try the two sentence horror thing. Here it goes:
It's getting late, and my son is yet to return from his private programming class. I looked through his laptop, and his teacher is some guy named Carl H.8 -
I had a group project due for a object oriented programming class. I noticed my partner hadn't made any commits to our git so I asked if he had anything made. Turns out he was partying all weekend and didnt commit anything until the last day. We failed that project... At least I passed the class and he didn't. Moral of the story is, don't choose a partner at random
-
Learning Java after learning python for School and helping the new programmers who are in the class I finished last term. I see python code and get nervous because there’s no semicolons or curly brackets, but then again I’m like “Fuck I miss python!”
But I’m usually the go to guy when people need help because I make YouTube tutorials for my colleagues to help them understand what I’ve learned, and share flash cards on quizlet, and generally tell anyone if you need help I’ll help. -
Next schoolyear, we'll have to do a project in groups of 4-5, over the course of 2 weeks.
Problem is, I'm one of the 5 people, of my class, with an, at least, somewhat useful level of programming knowledge.
So if the groups get randomized, I might end up with 4 dead weights in my group.
I'm already thinking about emergency plans, to ensure a good grade for me, but I can't think of any usable solution so far.3 -
I am in school. Talking to the dean of the program he mentioned that there is a programming class that is required. Naturally I inquire about the language in the class and he responds with Python. I am ecstatic. I love Python. I eat, sleep, and breathe Python. Class comes up, and time to buy books. I am now the owner of Windows Powershell Cookbook and Learn Powershell in a Month of Lunches. :-(2
-
Oh DevRant community, I've come seeking for help and wisdom.
In my university the basic programming course uses Java and it's getting a bit outdated. The class has a lot of resources, like online videos and examples, but teachers from other departments say that the class doesn't teach students correctly.
I'm a student at that university, and I'm working in a group tasked to diagnose the class and seek for possible solutions. I need to know if some of you know about tools used to teach programming and algorithmic thinking in an interesting way at a university level. Something like Scratch or Karel, but for university students. If you have an example university I would love that!3 -
Initially,I used codeacademy in highschool, because my school didn't offer a programming class, just web design and cad. Never got into the web design class, so I took three years of Autodesk AutoCAD in highschool. I took the HTML course on code academy and thought it was alright. Ended up going to a community college not knowing what i wanted to do. I'm currently on track to getting an associate's in CS, because I was told the school said they were sunsetting the cad program. Finishing up my capstone project and presenting it in two weeks.5
-
In my native language the word Java means Week, so a couple of years ago when the second year of uni started there was an introduction to the distributed programming class and the professor had made some slides to present the syllabus. It went
Java 1 ...
Java 2 ...
Java 3 ...
.
.
.
Java 7 ...
Java 8 ...
Until here it was all good, then came this
Java 9 ...
Java 10 ...
Java 11 ...
Java 12 ...
Java 13 ...
Java 14 ...
I was like .... oh shit, I'm way outdated.6 -
When I got to high school, I started learning Java from friends who were in programming class. Started out as a comp sci major in college and got sick of it, so I switched to a digital art degree. Got interested in Java again for the creation of art and music using generative processes. Then I got into web dev and JavaScript. Years later, still learning new programming concepts and making digital art on the side.
-
aight cool so this is fucking stupid thanks Tk
my python teacher is putting us through Tkinter right after "this is how to do basic math" in a class meant for those with no programming knowledge at all
and i remember now why i only do CLI
i've got 2 lines in a func (because "command" params in Tk are fucking retarded), the first changes the text on a button and then the second does shit with os.system ("have this button change this other button then do *something*" ok sure) and yet the button's text does not update until AFTER THE OS.SYSTEM COMMAND FINISHES. I can't even insert a moment between them for it to update in case it needs a sec as time.sleep does *FUCK ALL*
fuck tk, luckily we're gonna move on to files next
(goddamn prereqs, sticking me in this shitty class...)8 -
HOLY FUCKING SHIT
WHY IS THIS CLASS SO FUCKING FULL OF INCORRENT INFORMATIONS?????????
I've started university last year ( 2017) and I got a class named "Basics of Informational Communication Technologies" and it's so freaking bad...
The book is obviously just an english book translated to our language and signed by the proffesor. I've been trying to study it right now but it's so frustrating and I'm just 15 minutes into reading. HTML is not a programming language, viruses are not always under 4 kb, source codes are not always based on classes and so on....
Not to mention so many badly explained stuff that could be explained soooo much better and simpler...
How do I deal with this? -
When you work with a "Systems Architect" that doesn't understand object oriented programming but still insists on writing code.
This particular person only uses one class in a given application and names it "Class1." He also doesn't understand ORMs and insists using inline SQL statements without parameters because he can do "just as good of a job" with his SQL "cleaner."2 -
I'm in Uni for Software Engineering, and while all my classes are currently online, I'm looking to get a laptop for class later on. Once I get it, I'm gonna pop a linux distro on it (gotta clean up the poor windows infected machine), but I'm curious if there's a distro anyone thinks would be best for programming? I used to use Fedora, but idk if there's anything better now9
-
So last semester for my English class, I had to learn a "new skill" and write an essay [the final] about it. So naturally instead of taking the time to learn something new, I just slapped together a c# (in which I'd say I'm already fluent) calculator app with winforms.
When it came time to present my "new" skill to the class, everybody was overimpressed. Then at the end of my little presentation, one guy goes "Oh! Is that all done in HTML?".
Without giving it a thought, I instinctively replied "No, it's a programming language". He just looked so confused after that. -
Let's go down the memory lane back to freshman year in college as a Computer Science student in my Intro to Programming class....
I remember I was lost as to how the professor created this simple variable below:
int a = 5;
I had no idea what was going on there. haha. looking back to it and seeing the projects I'm working on now puts a smile on my face..
I asked questions. Even the dumb ones and that's what helped me to now..programmers always ask mates or search.
Do you guys care to share yours?1 -
Unfortunately I am working in a firm where they consider QAs as some second class citizens. Also the QAs we have right now are purely blackbox testers who doesn't know shit about the system.
In my opinion a QA should know about the system and integration. They should also have decent programming skills.
What are your thoughts?2 -
In my school, We started learning computer science (Java and programming stuff, to be more specific) last year in 11th standard (I was 16 at that time), starting to learn programming and stuff like this are common in India at that age (Yes, I live in India). I m the only student in my class or in my school who knows about programming and things related to that, yes of course I know, I made my own game when I was around 12 y.o.
In school our teacher started teaching us everything from the most beginning, It was really boring and exciting at the same time for me, it was exciting because I always wanted to tell my teacher and friends about my game and other programming kinds of stuff I knew, and it was boring bcoz I had to learn those things again which I already knew.
It was obvious that I was getting good marks in the subject without even reading my book for once, and it really amazed my friends, classmates and even my teacher.
Now, since my friends have learned CS for 1 year, some of them thinks its nice and are fascinated by the world of programming and developers, and some of them think it's boring and they just need to pass the subject for good marks and nothing else.
It feels funny and bad at the same time when some of my friends come to me and ask what does a for-loop (any loop) even does... And the rest of them thinks a for-loop is just used for printing tables of numbers.
well, that's the story of my school.
The thing that will never change is that I love programming and I will never stop programming...
Thanks for stopping by Ranters,
Happy programming!4 -
Looking back I realise I had Lego Mindstorms. That had basic drag and drop programming for the robot. I could say I started there, but really only messed with it for my pretend play. Then I did data entry in HS. Never messed with until my wife made me pick a major so i would stop being a professional student. Started C++ in college. Where I work uses Excel, so I have been messing with the macros using VBA. Currently building websites for another class.
-
Some of you might appreciate this, thought I'd share.
I'm currently on the board for a new school, and one of the choices we've made is to require a basic software programming class (most likely python) in middle school or jr high.
As a board, we've decided that it serves a couple great purposes: teach critical thinking and understanding (even a little bit) how software is written, since that's the axis of the world.4 -
I'm in highschool, and I have this class about science. We are soon going to do our own project/study for half a year or so. It could be in any subject, and I wondered if you guys had any suggestions to a project related to computer science / programming etc.3
-
I was in Chemical Engineering and had a class about algorithms. The teacher barely knew about C but learned some basic programming. Afterwards I switched to Systems Engineering and learned Java. I feel old... xP
-
Started with flow chart programming in a robotics club after class in middle school.
Joined another club where I spent the first 3-4 weeks learning Python and JS basics on freecodecamp.
Programming classes on algorithms and frameworks in high school and college.
Beyond that, mostly reading documentation, stackoverflow and some udemy courses. -
I am considering which CS elective to register for this coming semester, and I am not happy with many of the choices. Basically, I can choose between Android programming, a web programming class in the grad school, and maybe Linear Algebra for CS majors class. I am trying to figure out what is worthwhile to take in college, and what I can learn on my own. Advisor thinks I should take a web class, because it's important to know, but I am not too into web and I feel like I can just learn that on my own. I would rather take a class that will help me understand how things work, rather than just how to use a specific technology. What do you guys think?3
-
Couldn't figure out why I had to make so many cats meow to learn how to program. I wanted to move things on the screen and create sounds. Then, dug up an old c64 and programmed myself a monitor and got into assembler which was a breeze compared to programming dumb text outputting felines.
After learning computers from the ground up, I started realizing that C++, C#, Java etc. actually wasn't at all about constructing and deconstructing cats or its base class animal.
I had one final go and it all just clicked! -
Getters and setters vs property accessors?
The instructor of my Android development class is manually and purposefully using setters and getters when the Kotlin language and Android Studio is strongly pushing for this property accessor way of handling private data fields. He says that it goes against the philosophy of hiding the data and keeping data fields private.
I’m all for property accessors, but I’m struggling to come up with a response for what he says. Modern programming languages like Kotlin and Swift have been strongly encouraging the use of property accessors.8 -
Coursemates tried to convince me that putty was the programming language we were learning in our Intro to Programming class, not C. I thought they were joking, turns out they were dead serious.1
-
My housemate (we are college students) once said he was finding it weird his name wasn't in the list of students to take the exam of a programming subject he had but he couldnt find a reason to explain it.
A few days later he came into my room frustrated as hell but laughing at the same time. "I have to stop taking headphones to class... I've figured it out. I failed already for being absent because when the teacher registered the students present I had my headphones on e every time and couldn't hear him..." 😂😂😂 -
How do explain to a student taking computer science in their second year what programming is. She wants to do what I do.. But she doesn't know what a variable is practically. She doesn't know what program entry is... 😡😡😕😕. They expected to be taught all this is class2
-
In my university there was a programming teacher who taught the basics "algorithms and data structures". This was the first subject about programming ever.
He mostly just showed us the idea behind each and sometimes showed a slide of an algorithm or data structure in C. He was also supposed to carry out lab classes where he would teach us the basics of C.
Guess what?
He thought that programming could not be taught in class but only self learned... so he didn't do a single computer lab class the entire year. The rate of students who passed his subject the first time was low. We ended up talking to the dean and the teacher was given an assistant for the lab classes the next year. Fun right?1 -
Theory should be minimal courses, just something to think about and not something that expands through the entire curriculum as if anyone was to use it. Theory and fundamentals are enough, after that have career paths over what students want to focus on depending on a class that takes them through each different field: web development, db development, micro controller programming, os programming networking programming etc etc etc.
Basically, not :hey! here are some shitty basic programming classes, ok now let us move into calculus 1, 2, 3 etc etc. Most people come out of schools with no knowledge of what happens in the real world.3 -
Top 12 C# Programming Tips & Tricks
Programming can be described as the process which leads a computing problem from its original formulation, to an executable computer program. This process involves activities such as developing understanding, analysis, generating algorithms, verification of essentials of algorithms - including their accuracy and resources utilization - and coding of algorithms in the proposed programming language. The source code can be written in one or more programming languages. The purpose of programming is to find a series of instructions that can automate solving of specific problems, or performing a particular task. Programming needs competence in various subjects including formal logic, understanding the application, and specialized algorithms.
1. Write Unit Test for Non-Public Methods
Many developers do not write unit test methods for non-public assemblies. This is because they are invisible to the test project. C# enables one to enhance visibility between the assembly internals and other assemblies. The trick is to include //Make the internals visible to the test assembly [assembly: InternalsVisibleTo("MyTestAssembly")] in the AssemblyInfo.cs file.
2. Tuples
Many developers build a POCO class in order to return multiple values from a method. Tuples are initiated in .NET Framework 4.0.
3. Do not bother with Temporary Collections, Use Yield instead
A temporary list that holds salvaged and returned items may be created when developers want to pick items from a collection.
In order to prevent the temporary collection from being used, developers can use yield. Yield gives out results according to the result set enumeration.
Developers also have the option of using LINQ.
4. Making a retirement announcement
Developers who own re-distributable components and probably want to detract a method in the near future, can embellish it with the outdated feature to connect it with the clients
[Obsolete("This method will be deprecated soon. You could use XYZ alternatively.")]
Upon compilation, a client gets a warning upon with the message. To fail a client build that is using the detracted method, pass the additional Boolean parameter as True.
[Obsolete("This method is deprecated. You could use XYZ alternatively.", true)]
5. Deferred Execution While Writing LINQ Queries
When a LINQ query is written in .NET, it can only perform the query when the LINQ result is approached. The occurrence of LINQ is known as deferred execution. Developers should understand that in every result set approach, the query gets executed over and over. In order to prevent a repetition of the execution, change the LINQ result to List after execution. Below is an example
public void MyComponentLegacyMethod(List<int> masterCollection)
6. Explicit keyword conversions for business entities
Utilize the explicit keyword to describe the alteration of one business entity to another. The alteration method is conjured once the alteration is applied in code
7. Absorbing the Exact Stack Trace
In the catch block of a C# program, if an exception is thrown as shown below and probably a fault has occurred in the method ConnectDatabase, the thrown exception stack trace only indicates the fault has happened in the method RunDataOperation
8. Enum Flags Attribute
Using flags attribute to decorate the enum in C# enables it as bit fields. This enables developers to collect the enum values. One can use the following C# code.
he output for this code will be “BlackMamba, CottonMouth, Wiper”. When the flags attribute is removed, the output will remain 14.
9. Implementing the Base Type for a Generic Type
When developers want to enforce the generic type provided in a generic class such that it will be able to inherit from a particular interface
10. Using Property as IEnumerable doesn’t make it Read-only
When an IEnumerable property gets exposed in a created class
This code modifies the list and gives it a new name. In order to avoid this, add AsReadOnly as opposed to AsEnumerable.
11. Data Type Conversion
More often than not, developers have to alter data types for different reasons. For example, converting a set value decimal variable to an int or Integer
Source: https://freelancer.com/community/...2 -
I'm currently writing a discord bot using the discord.py library and I cannot decide how to structure my code.
I was thinking of writing it in modules, with a core script that would load any valid module class that would include an array of all the event hooks it wanted, whether it wanted to send messages and so on.
It's a nice way to practice python after my last working bot that I wrote in (Sit down for this) PHP using an outdated and abandoned wrapper (Yeah, event-based programming in PHP, I know)
Are there any better ways to do this? I really don't want to hardcode all the functions in, only to have it fall apart later after adding another feature...1 -
Week 2 of learning Scala in my Programming Paradigms class. Is it just me or is Scala plus IntelliJ the best thing ever?1
-
My friends were talking about modding their brawl to give them weird powers, so I signed up to take a programming class in high school. After that, I was hooked.
-
My programming class kinda sucked. Here's why.
1. They taught C++. To students who had never seen a line of code in their lives. The language with 90+ keywords.
2. The teacher. We had to use switch statements to do something. It took around 300 loc. I used an array and shortened it to 5. He took some points away for not doing it correct. IT LITERALLY WORKS THE SAME AND IS SHORTER. This was not the first time I had shortened something/made it more readable and been docked points on the assignment.
3. Commenting. He told us to comment as much as possible, which is not correct. Comment what needs commenting. Not everything.
4. The compiler. We worked on windows with an online compiler. He decided teaching us to set up a compiler was too hard. We used onlinegdb, which isn't inherently bad. However, onlinegdb is based on Linux. He compiled our programs with a windows compiler.
Maybe these are just problems because I've programmed before that, but I still think they are red flags. What do you think?3 -
I was in junior college working on a mechanical engineering degree taking Calculus 1, some other classes, and a beginner level C programming class.
I decided being a ME wasn't for me as I couldn't handle the math, but the programming was a lot of fun. I ended up dropping Cal 1 and changing majors only to find out that I needed to transfer to a 4 year school to continue on the developer track. A few years later in December of 2013 I graduated with my BS in Computer Information Systems and a couple of years after that I had a great job as a dev. -
Studying a programming focused studyprogram.
Having to do minor software projects spanning about 2 weeks on average on a regular basis with regular classes in between.
Projects more often than not involve coding knowledge we haven't been teached prior during class.
Literally get told most of the stuff we needed for certain projects right after we already finished them and therefore already teached it to us ourselves.
Sitting in class bored because of this right now and will be probably again and again...1 -
In high school I had a digital media class, where we mostly learned Adobe design software and video editing and whatnot, but one project was to actually code using Programming (the software) and I loved it. Later that year I used a free project in the class to learn arduino per my teachers recommendation. Absolutely loved every second of that project, and have been coding ever since.
-
I am starting to teach competitive programming in my college. And now I am tired of people asking me if they should bring their laptop or not. I mean seriously. I wrote pdfs on tutorial and notes for them and they are like laptops are heavy.
And I am getting irritating at questions like first class if we will be doing something important in first class or not.
How can I say if it will be important or not. It depends on how good you already are in competitive programming and CS concepts.
I upload every pdf for class on githubs and shared it. Why don't you just check it for yourself.
Damn irritated. -
Someone in my programming development class at college asked "is php or c++ lower level" and after having worked with a large php codebase for over a month at work I wanted to laugh in pain1
-
Having to take Intro to programming with Python and being told I can't use tools that haven't been taught in that course yet. It's hard to go backwards. Had to do comparisons between 2 lists, can't use zip(). Things like that. It was a good class, just frustrating.1
-
As soon as we got into the actual coding part of my first college programming class, I loved it. The next semester, I took two more programming classes and an introductory web development class, and about halfway through that semester, I knew this was what I wanted to do for a living. 2 1/2 years later, I've worked as web developer, both for a small company and a freelancer, I have a web development internship lined up for this fall that I'm excited about, I've written a few smaller programs in a couple languages just for fun, and I wouldn't want to do anything else at this point.
-
!rant
So I am quite good in learning a programming language while doing a project with it. But I am really bad in "classical learning". I learned English in school from grade 3 and had three years of Spanish in my highschool but I learned absolutely nothing in my Spanish class. Now I would love to learn some other languages but my brain is kinda blocked. It seems like I first have to learn how to learn. What are some learning practices that you guys use? Especially for topics where you have to memorize things instead of understanding the logic behind it. And how do you train your brain to become a better learner? Thanks in advance!1 -
Week 1 Day 2
Today was an eye opener. Tried to make a simple class to model a fraction, and forgot pretty much everything. I realized it's been close to one and a half years since I did any serious programming. All I did today was spend a few hours going over all of the basics, and double/triple checking my OOP skills. Tomorrow I plan on familiarizing myself with Android studios and Android device basics. The day after I'll start the actual curriculum. Still feeling really good about all of this and hopefully it'll stay that way. -
My journey along Java continues and so I have discovered something I didn't know before:
If a subclass tries to call a method on its parent which it has not overridden, then it will call the method as if you hadn't used the keyword 'super' (and I think it will try to find it in the classpath and SDK).
Example 1:
public class SuperParent {
public String test(){
return "SuperParent";
}
}
public class Parent extends SuperParent {
}
public class Child extends Parent {
public String testChild(){
return super.test(); // same effect as test();
}
}
public class TestInheritance {
public static void main(String[] args) {
System.out.println(new Child().test()); // returns "SuperParent"
}
}
Example 2: with getClass():
public class Parent {
@Override
public String toString(){
return super.getClass().getSimpleName();
}
}
public class Child extends Parent {
}
public class TestInheritance {
public static void main(String[] args) {
System.out.println(new Child()); // prints "Child"
}
}
This here is of course a special case: .getClass() will always return the class name of its caller, so naturally in this case it returns Child and not Parent.
You would expect it to return "Parent" since you use 'super' in the overridden toString() but it returns the Class name of the Child (then there's something in programming languages such lexical scope and execution scope, which I'm not sure if it applies here).
The solution for this example is of course .getSuperClass().
Inheritance isn't always straight-forward.
References:
https://stackoverflow.com/questions...
https://stackoverflow.com/questions...2 -
!rant
Once I was in a programming class, and the teacher was explaining the subject for the class, and this guy asks something (about using an else after an if condition, because of efficiency, I think) and he replies with something like "yeah, you know, I like to live dangerous". I kid you not (yes, he said DANGEROUS instead of DANGEROUSLY). I had to try not to laugh out loud. -
We had to choose a workshop class for middle school and I chose computing because I was already familiar with all the components, but the last year we learned QuickBasic so that's where I learned programming logic. Later in highschool we had a bit of Visual Basic and HTML. Then learned some C and Java in college.
The truth is that I never learned any language in-depth and I've been winging it with the basics for longer than I should. A good understanding of loops and control flow lets you get away with a lot of things. -
For the people investing in crypto: http://imgur.com/a/C32Taqt
A small reminder I made in IT class of course using the best programming language of all times about the best coin of all times. -
All my life I have been interested in tech. But I'm really struggling on my main programming class. I am really doubting whether or not this is the right field for me, especially since my instructor asked me whether I'm interested in programming. I'm in my third year and can't afford to change my major. What do u guys think?1
-
Addition to
https://devrant.com/rants/2227936/...
So my programming teacher knows his shit, but is pretty bad at explaining it.
I can already see some of the other students, especially the ones without prior programming-experience, flunking this class.
Today spent most of the class talking about 2-complement and the functions in math.h.
I think we didn't even learn about reusing code with functions, or structs.
I use some of my time, helping the other students getting through this somehow.3 -
programming:
cc hello_world.c -o hello world
object-oriented programming:
cc -c hello_world.c -o hello_world.o
cc hello_world.o -o hello world
some weird shit:
class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}4 -
Just finished my final assignment in my intro to programming class (req to take others) a week early. Had to read in 2 files: car model's mpg city & highway,
convert both lists to float,
find the average mpg for both files,
Count the number of 'gas guzzlers',
Then print out the data from the 4 functions.
Feels so good! Not turning it in yet. Gonna make it fancy with all this extra time.2 -
1 - To be able to use string for my class homework.
2 - A one-stop-shop that explains everything I've ever wanted to know when it comes to programming.
3 - A job as a software developer. -
The worst documentation had to be students work in the sophomore programming course I was a TA for in college.
What was even more tragic was the actual code, but that's what you get for reading Facebook when you are in class. -
I was in EE Engineering dept. I got A1 from programming class despite failing at all other EE classes. Couple years later of failing EE classes, I switched departments without hesitation.6