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 - "classes"
-
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.48 -
Friend : Dude I have mastered Object Oriented Programming. I work only in classes now.
Me : That's nice! Only a Few people manage to master it. Which language do you prefer though?
Friend : CSS
Me : :/9 -
Another rant about my gf
She tried HTML and well, cause there are h1, h2, h3... instead of classes, she used div, div2...17 -
She: "I am not getting anything out of these classes!!"
Me: "Try making some Objects first"
*Awkward silence*8 -
Yes, that's an 18 arguments constructor.. there's 21 other classes and I'm afraid of looking into them.52
-
Researching to making a small 2D game using constructor classes and while building out classes, was working on my Tree method using fractal geometry and made a wallpaper out of the tree 🌳13
-
I love coming home from classes to get some work done on my setup.
My thought is; if I'm going to be sitting here for hours at a time working, may as well make it a comfortable environment.45 -
Just finished writing a script with all the classes and variables named after the characters from Sherlock Holmes. I regret nothing.7
-
Finally i had an idea for a personal project.
I sat down, started sketching up the classes i'd use.
3 hours later, im finished.
Now i have no personal prjects running and im bored again.11 -
Volunteered to fix a brittle component in our app. Turned out to be 26 classes of mostly copy pasted code that is riddled with todos and void of feedback for the user. Here's a pretty representative sample of this code's quality:5
-
Playing Warcraft and similar games prepared me for understanding Classes and Instances in Object Orientation later.5
-
Googled "prevent memory leaks in delphi".
Came across a library called TCondom.
Talk about naming your classes aptly.4 -
Mr. hacker kid from one of my classes has just upgraded his 1337-ness
(I'm pretty sure this is illegal in Canada)25 -
Why the fuck would people use non English html classes and IDs, or just randomly mix languages. Please don't fucking do this13
-
Introduce a subject called "proper use of search engines" and make every kid attend it regularly, just like gym classes.5
-
You know what?
Fuck Webpack and Babel, too.
They're way too complicated and finicky to set up.
I want to write a simple library, not a freaking research paper.12 -
The time I had to explain to my CS professor that HTML elements can in fact have multiple classes.6
-
I go to college online and I was really excited to start my classes for my major as I finally wrapped up general ed classes. This is a week 1 assignment for Introduction to Computer Science....14
-
Excuse me, What the fuck?
This happened to me. some guy (or gal) rated my app 2 stars just because it couldn't download my app.
later on it replied me with a sorry message and said that app is really good. but it did'nt increased the stars 😑7 -
The bane of my existence is people who get into computer science classes because they just want to make video games and get angry when they actually have to learn things6
-
OMFG BOSS STOP CHANGING MY INTERFACES INTO CLASSES WITH REDUNDANT CODE AND IF ELSES BECAUSE "IT DIDNT DO ANYTHING" OMFG WE ALREADY WENT OVER IT YOU STUPID FUCK!!!2
-
The only way to feel comfortable coding on PHP is using classes and methods, I feel like home (Java)9
-
Once in college I was walking around campus when I noticed that one of the classes were still teaching Fortran to their students as an introductory programming language.16
-
Sometimes I don't give a dam naming my classes since I know not a lot of people will see this. At least I'll make a dev laugh!3
-
* !rant *
So I've been working since the summer on an app that uses NLP to record audio (I was thinking of using it for school classes), transcribe it and summarize it automatically
I've been using it at school and it WORKS
IT WORKS
I've actually put an app that I made to make my homework and sum classes up and IT WORKS8 -
Just found the comment
// Wins a prize for the longest class name.
in a class with a 36 character name.
Didn't believe it and checked all classes: We do have a class with a 68 character name.4 -
JavaScript classes don't need private fields. JavaScript doesn't even need classes.
STOP TRYING TO TURN JAVASCRIPT INTO JAVA.16 -
If naming classes, methods and variables in your (not english) native language seems like a good idea, please get another job.9
-
The only good thing about morning classes is going back home to sleep and still waking up at a reasonable time.4
-
That moment you realise that naming classes by their XML data structure is not as practicle as you hoped it was... 🤔4
-
I have a crush on my Zumba instructor (whose classes get booked out immediately) soo bad that I made a bot to ensure that I get my spot as soon as bookings open up3
-
When you're working on a very complex client/server project in 7 open Solutions and changes in about 100 classes and your project manger gives you a "very important text align issue" that you have to fix immediately 😒1
-
Confession time.
I mix naming styles in my code. Some variables will be camelcase, some will have underscores, some will be all lowercase.
Classes are always title case though. Anything else is barbaric.undefined sorry not sorry it's a real problem some variables feel camelcasey some variables feel underscorey it's worse in javascript for some reason4 -
No IntelliJ, just because my API CLASS has an unused method, doesn't mean IT SHOULD BE MADE PRIVATE!2
-
Best exp:
( ͡ ͡° ͜ ʖ ͡ ͡°)
\╭☞ \╭☞ learning python and working with big data
Worst one:
(╯°□°)╯︵ learning php and visiting classes of programming at my college1 -
Dear fellow frontend devs: either name your classes like-this or like_this, but don't mix the two, because I will punch you.10
-
I regret that I didn't start learning to code before I went to university and that I never had Computer Science/Programming classes before in school (which is not really my fault but I always wished for this)7
-
Step by step here:
1. Choosing a stack
2. What to put where(folder structure)
3. Naming stuff(variables, classes etc etc)
4. Finish what I started.2 -
Somebody made a fake review on my app! That's how I dealt with him 😂
The app is "My Classes" on app store6 -
So c# has its own system.collections.list and system.collections.generics.list<type> classes. And this guy wrote his own list (no generics) using an object[] array which always had same size.5
-
Ever find when you're working on a personal project that you spend more time trying to think of good names for classes than actually writing code?6
-
I should have known this job would be bad in my first week when they told me most of the classes are just copy-pastes of each other with different names7
-
Sometimes naming variables and classes. Because the name should be relevant, short and understandable. 😊2
-
Has anyone felt the astonishing effect that is writing a whole bunch of test classes, hitting run for the first time and they all pass.
I'm kinda sitting here staring at my screen in disbelief, either these tests all passed, or I've really missed something and they passed anyway, or it's just a lying piece of shit trying to question my own abilities... all are possible right now.
And no, they are not " assert(1,1) "rant i think it's lying to me tests classes first go all pass i'm a run these again to be sure i don't believe it4 -
So my old friend was in introduction to computers about 5 years ago.
My Teacher: Alright, go to the Desktop and start Photoshop.
My Friend: Where is the Desktop?
My Teacher: It's the Start Screen, like when you log on.
Everyone died laughing and he still hasn't lived it down.2 -
I just corrected my CS teacher about 5 times while explaining generic classes.
WHAT THE FUCK, EDUCATIONAL SYSTEM?!7 -
Got rebuked by the Java teacher today at the University for using proper long names for variables in the code. She though I was just wasting time being lazy in the lab. "If something can be achieved by a single character, why type that long variable again and again?". *Everyone in class laughs*
Then, there was an error in my code [turned out to be long long int in Java is weird], and I had no clue what was going wrong [I'm a week old in Java]. So, I had initially called her to help. She made me change all private methods and attributes to public. When asked "why?", got trolled again.
Now, I know it's okay, and not that I really care about what my classmates think of me, but getting this kind of treatment really sucks. And if this is how future software developers are crafted today, maintainability is surely going to be an issue tomorrow.
Maybe staying in this stupid country was my worst career choice. I should have tried harder and gone abroad.12 -
Just found out that IE11 doesn't even support ES6 classes...
I couldn't care less about but still...6 -
Trying to investigate why the team of new Devs are reporting a particular set of modules is not properly maintainable, found this little gem at the root, written in 2014.5
-
You lousy fucking test class of an ass wipe,
TLDR; it fails and it passes all at the same time.
So during a deployment, one of the pre-deployment test classes fails, not something anyone has worked on so figured I run it manually to see what’s going on, but no the shit of a thing passed second time around.
Now because we can’t deploy without 100% of the test classes passing so I have to organise another deployment which it fails again. Fuck this,
Unprotects master
Git checkout master
Git merge dev
Git push master -f
Protects master
Skrew this!
Well would you look at that, it works now 😰 -
That moment when you don't attend classes coz you already know what is been taught in the class and then you get a warning letter for low attendance... Fml4
-
after 20 years of programming i finally understand objects, classes and methods. what a waste i am!9
-
7 page resume
13 jobs, some only lasting 3 months
TONS of grammatical and spelling errors.
Descriptions of each job has several lines just saying he "created functions; interfaces; abstract classes; classes".... For a jr/senior level developer job? Why are we interviewing him?8 -
There are not enough words in the English language to describe how much I fucking hate general education courses and math.
I don't even want a CS degree anymore just to escape the hell that is called required general education courses.
Like why do I need two fucking lab based science classes? Sure, if you were doing the Computer Science with a focus in Chemistry, that makes sense. But I wasn't doing that.
Why do I even need a lab science of CS to begin with, let alone two.14 -
I remember when I first started programming and used to be scared of classes. I was thinking about it after I wrote several today like it was nothing.3
-
React developers, What do you think about the new hooks api?
Will you refactor your codebases to use functional components or just stick with classes (even though the react community is moving towards removing classes completely)?
I think its awesome as it reduces the bundle sizes if you use function components though. I have been working on an awesome project for a while and I'm being tempted to refactor the whole codebase to use functions instead of classes. What do you think?19 -
Our 10th grade computer classes in school consisted only of writing 1 printf statement in C, which earned you an A.1
-
Im 17 and Im studying IT in Norway. I started learning to program when I was 9 years old (web design) and then later moved onto Object oriented programming. Now in some classes we do web design, I can watch Netflix in programming classes6
-
The struggle of being a gay CS major is that all of my classes are 95% guys but all of them are painfully straight. Send help7
-
So I was trying to start learning Unreal engine. Created two classes, added 3 lines to one.
The engine crashed and now also crashes when I try to open the project. Learning is on track!1 -
I was talking to a CS student here at my University the other day. We were discussing our high school careers. He had the opportunity to take 6 different CS classes, but he cheated his way through most of the classes.
Meanwhile, I had the opportunity to take a huge total of 0 CS classes. But boy did I desire the ability to take CS classes.
It's kind of sad that students who desire to learn get left out in the rain, while people who can take classes just cheat their way through the courses.2 -
When you start using CSS classes like this: class="fontsize-16 fontweight-700 height-100 text-center button-border padding-2 color-red display-block lineheight-3"1
-
I have an interface implemented by 11 classes, coz u kno, it's "SOLID". But today i felt my life is a lie when a developer refactored my code and deleted all those classes and placed them in a Utils class with static methods, and slapped me with "Let's make it simple".14
-
that moment when you have to learn Docker at work, so you convince networks teacher to do that in classes.2
-
For the first two years of college or so, my dad would often ask when I was going to start taking apart computers in classes.
"Dad, we don't do that."
....
"No, I'm learning about the software aspect."
...
"Never."1 -
!rant
I just remembered some joke I said while we had C++ classes.
To see who will actually listen to me, I said : "Hey, I heard you can malloc a dynamic array."1 -
Y'all know those classes where you get 100s on the assignments and understand the material, and participate in class discussions, but get low 50s on the tests?
yea. Fuck those classes.4 -
So I'm tryna register for classes using my college's portal, and I click on "add/drop classes", and an entire Java stack trace gets dumped on my screen, with a warning at the bottom not to expose these errors to production in order not to let potential attackers know about how your backend works. I guess nobody at the college ever read that message.3
-
In my classes whatsapp group
*posts a ppt*
person 1:how do I open it?
person 2:use adobe reader
me:*bangs head in the wall*1 -
Just wanted to admit that when I was in school, first learning about web, my first website used only IDs -- no classes.
I was so proud though.10 -
!rant
I didn't think about it too much while I was studying. But my old university uses PuTTY for class enrollment and other stuff.
Meaning a student would log in, view what classes are available. Make their schedule, and then add them.
Through PuTTY.3 -
By far the biggest challenge is naming your classes and variables in your native language instead of using english. And obviously you end up with a hidious mix of english and native terms 😂2
-
I always hated CSS.
Then I realized it's not CSS's fault, it's the fault of the initial developer who wrote the HTML code and CSS classes in a weird way.1 -
Teacher: "Classes and methods are pretty similar in java and c#. But in c they are a little different"
Me: "u cereal?"
Never say something you don't know shit about5 -
I've became sort of an introvert over the years, because of bad relationships.
I started uni this year, and I thought I could make some good new friends.
Totally wrong.
The majority of them are 18+, but they seem like 10...
Stupid and dumb conversations, and during classes they are always laughing and talking...
Fuck!
And I have concentration problems, and with everyone talking is hard to concentrate.
This is going to be a hard year.....7 -
I missed half of the Algorithm classes because of sleep but managed to keep the highest marks.
Faculty members that don't force on attendance are a blessing!2 -
When you start a new project and you think that you will no longer have problems with git.... after one week you see yourself sending classes to your colleagues via mail to push them for you. Shit man1
-
All classes (with a few exceptions) have nothing but static methods just so that I can call them like "Class::Method()" from anywhere in the project...5
-
1.)Not defining functions and writing the entire code everytime needed.
2.) Initialising objects if classes and using them only for next 2 lines and then destroying them. -
When three out of your five classes at school have to deal with computers or programming you almost want to go to school5
-
An example of bad documentation? Unity. It has a list of poorly described methods of deprecated classes. The only reasonable documentation is the community. Docommunitation.10
-
You add a pure virtual function to a abstract class and then you realize that class have have been inherited by 23 other classes and you add implementation to all of them. 😕😕😕
-
I always recite borg quotes in my head when my classes need to inherit properties. Your technological and biological distinctiveness with be added to our own. Resistant is futile.
-
Used ES6 classes 'cus I really like doing things the classy way..
...nice shit you can do there...
...
FOR FUCKS SAKE WHO THOUGHT IT IS A WICKED IDEA TO SPECIFICALLY NOT IMPLEMENT PRIVATES IN THAT SHIT.7 -
Hiii devRanters, I have a TypeScript question for you...
How do I dynamically import classes?
I have a class like this:
export default class Foo implements Bar {
...
....public getName(): string {
........return this.name;
....}
}
and then I have another file with this:
import(`./class-cmd/${file}`).then((command) => {
....winston.debug(command);
....winston.debug(command.getName());
});
the first command spits out something like this:
debug: default=class Foo {
....constructor() {
........this.name = "foo";
....}
....getName() {
........return this.name;
....}
}
and I would expect that the second command will work, however it throws this:
UnhandledPromiseRejectionWarning: TypeError: command.getName is not a function
Any idea what I might be doing wrong?18 -
Reading Python code written by Java programmers. I have no words to describe the horror. CamelCase everywhere...undefined fuck java why are there so many files have you ever heard of mixins? why do you write java in python who told you to put everything inside classes2
-
So I'm required to take an intro Java course at my university, and can't test out...
My professor actually just described constructors as classes, not analogous to, or metaphorically. He said they were classes. All of the students are now confused out of their minds. Should I say something?7 -
When you generate code to generate code (boilerplate classes and functions) you realize you're talking it a little too far 😄9
-
Referring to this, about best programming languages,
https://devrant.com/rants/1322105/...
I’m more disturbed about Go didn’t make the list. At all.1 -
My colleague just did a commit with random method additions to the models classes in order to show to our teacher that he did "something".
This makes me cringe.6 -
I'm boutta make a scripting language with classes, trait generics AND two kinds of value types
Call me Mr. Dangerous 😎14 -
Struggling to go to meetups between classes, my internship, and far-teaching. It's only about 45HR/week between the 3 but the constantly changing focus makes it all the more tiring.1
-
So out of curiosity, does anyone here with a computer science degree actually use any of the non-programming classes you had to take for your degree?
All those damn hours studying calculus and discrete math (ugh, I hated induction).. Not to mention biology, organic chem, history... Ugh11 -
"The MVC framework is just a hype, we dont need to refactor our ASP.NET webshop" - former CTO
Dudeee, its a pattern not a framework, ever heard of 'single responsibily' instead of these monolithic 8000 line helper classes!3 -
For those of you that went to college or are in college currently, what programming language is the language of choice used in your classes?14
-
Has anyone else struggled with CS classes that teach very low-level stuff like in Computer Organization and Architecture? I'm in that boat right now.2
-
Python abstract classes... Looks like a pain in the ass...
I'm just gonna create a class filled with methods that just pass or throws NotImplementedException
Good enough?2 -
I was ranting about overusing classes on python, then I noticed I'm a person that creates new functions for 2-3 lines of codes for no reason..5
-
This class adheres to the single responsibility principle: it is singularly responsible for the entire application.
-
Code completion in Magento 2 can be a nightmare.
One reason for that, is that there are always so many classes with the same name.
For example, there are currently 56 classes named "Product" in my vendor folder.4 -
(Day 1 of Database Class)
Database Prof - "Your final project is a program or app that deals with big data and showcases data analysis. Make something that can be used by consumers and has real-world application."
(After the Day of Showcasing Projects)
Database Prof -
(What he should have said on Day 1) - "Make something that makes me laugh with added data." -
If professors that teach programming classes are experts, why are they teaching instead of working for multimillion dollar companies?8
-
It would have to be variable names for classes. I mainly use C#, but I'm sure this applies to other languages. You need a name for the instance variables, the parameters for the constructor, and properties.
-
Social life? Do aikido/japanese classes count?
...Hanging out on discord and/or MMOs DOES count, right? Right?! -
Scanner scanner = new Scanner(...);
Which is fine until you're in a corporation where the (many) classes are so detailed that each one is 30 chars long...5 -
When your business classes curriculum hasn't been updated in over 15 years...
Today let's learn about folders! The "internet"!
Introducing Windows XP, the best OS yet! -
Looking at an old Java project, running java 1.6, test folder doesn't even exist and the "old but gold" java.utils.Date class is used throughout the whole thing. How do I initialise a new date again...? I actually just googled that :D At least the constructor parameters are named nicely... wait.. what...1
-
Freaking out!!! I am trying to stuff as many AP courses as I can into my schedule. I can handle it but I can't take everything I want!! I also have to make some great projects so that I can put it on my github and feel like a Real Dev, and I have to study for my SATs. And then I have to apply to college. In 2.5 years.
Yay!! Which means I have to go to sleep at 12 wake up at 4(Which for dev standards is a lot of sleep). Which means I have to zombie through school. Going to be a great 3 years folks.20 -
U've seen one dev creating Java-Classes like 'GetLevel' which contain only one method that is called 'getLevel'. And it wasn't even a static method.4
-
Any devs out here who are into martial arts training ?
It's been a month since I joined kickboxing classes. However , I have never met a fellow dev who is into martial arts. What about you guys ?15 -
Me: //trying to fix bugs
IntelliJ: hey you have 2 typos
Me: Where? I can't see typos anywhere what the Hell
Me: //looks up and down my classes/interfaces. It's my name
Me:
Me: Well isn't that delightful -
To Android developers:
ALWAYS use annotations for service classes when using minifyEnabled option in build.gradle!! I learn it in the hard way 😐 -
In PHP, strings are classes, functions, whatever you them to be. I feel so filthy, I need a shower after typing this.3
-
I think for my next project I will give my classes and variables interesting names, so when anyone views the source - they can be entertained.4
-
Feeling kinda ashamed.. I couldn't implement a graph in python using classes without resorting to a library.
Wanted to test my skills but I guess I'm not quite to that level yet :/2 -
> Teacher uses a for loop to draw random dots
> Teacher explains we can't adjust the individual dots after the loop
> Teacher says we need to use classes
> Teacher creates classes
> Teacher doesn't show a solution to the initial problem
> Me is triggered as fuck3 -
"Stop using mixins in your SASS it's complicating the code for the team.
Extend your classes instead"1 -
Rant.
Our dev tooling is not in order.
Names of classes do not represent what they do.
Filename is different from class name and there are multiple classes per file.
I try to fix this hot spaghettis mess and off course our outdated source control gives another barrier! FFS6 -
I hope this book finally makes me understand factories that make builders that make classes that make fucking objects.
Sorry for the bad light btw.8 -
My first software boss who didn't like sharing the source code...
OR using built in classes
and insisted on using frames because "they prevent caching" 😂2 -
i wish i had no university classes (or at least, only programming classes) so that i could learn more about different technologies and had more time to code :(3
-
How the fuck do classes work in Python? Why, exactly, do people make them for themselves? I get doing it for like making modules other people will use, but just for your own shit...?25
-
Last week of classes and this semester is history. One step closer to attaining my dream job of being a software engineer.
-
Just been on a like 4 hour no pause coding session (which is fairly long on my terms) trying out random stuff in Java.
-Interfaces
-Classes but weird
-Weird Interfaces with weird methods
-Weird methods
-Custom types, essentially classes
-Depression
-Its 00:13 help8 -
Part time job, that involves coding. Going to classes and also doing coding.... going on devrant... and also doing coding... I'm really amazed that I get anything done.
-
Me looking for motivation to get out of bed and go to class in the morning.
"Devrant will be faster with the college WiFi when you browse in class rather than in your room".1 -
So past week our Web Design teacher proposed a little HTML5 project for the class to make. I have been since that day until today trying to implement an OBLIGATORY drag and drop functionality to reorder a list and back it up to localStorage, but for some reason it wont work as it should. But what a surprise, today I arrive at class and he has changed the specifications of the project, allowing us to not implement that, or implement it differently. That singlehandledly made my day.2
-
When your professor doesn't know how to set their PATH and you have to do it for them. God, I hate intro CS classes.
-
Hotswapping/replacing classes on the production server
We call it "russian deployment" .. No offense -
All is see is people ranting about college lectures/classes , am I the only one who learns in most of my classes?2
-
That moment when the code that was supposed to be removed in only commented out!!! The guy butchered a bunch of classes by commenting out about 1000 lines of code
-
Was looking forward to this week, since classes were cancelled, was going to begin working on some iOS projects I’ve been holding back on.
Wake up today, and guess what, classes aren’t cancelled anymore.
Fuck the University.3 -
Attending classes on English literature at 8am while coding all night. What am I doing at uni again 😶😶3
-
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 -
Anyone else take online classes in college for programming and find several of your courses not having lectures and completely relying off a book, even for assignments?
Week X:
Read chapter x
Do end chapter assignments x x, and x -
Anyone else here who really enjoys writing pure functions or domain classes?
It's so amazing to be able to write dependency-less classes that have such simple, elegant logic and sometimes just a bunch of getters and setters. Pure functions with type hints are also one of my favorites.1 -
Working in an open space environment.. why not discussing as louder as you can about "why eclipse doesn't show the list of classes which implements the interface X"!!
-
When you spend ages making a really nice for loop for handling multiple classes similar functionality, only to have it all messed up by one overloaded method1
-
Realizing my currently degree plan will not transfer to a 4 year university where I can get my bachelors, I have decided to stop taking all tech classes and focus on the classes that will transfer such as English, Calc, History and Government.5
-
Currently learning programming (c#) and I can't wrap my head around classes can anyone give me some tips?9
-
It makes me so sad to see such vast amounts of copy and pasted code at my new job :(
3 identical classes with only a few strings different 😡1 -
This is Node.js FYI
Exporting a single class from a file called util.js. This class only has static methods. Each method is a util function. No fucking way of importing a single method. Class abuse?6 -
I don't like classes and I will fight anyone that over uses them for no logical reason what so ever !! 😐6
-
So apparently friends have access to privates.
Just some coding thoughts. Yes I'm talking about C++, not...
Indeed, programmers are tiny Gods.1 -
So, in my second semester of CS I had a class about OS and the way they work. The professor made us do presentations every two weeks (we were basically giving the class...).
For full points we had to have the presentation, an example (video or pictures), and an activity.
My team was one of the last presentations of the first round (iirc there were 5 rounds). I was in charge of the activity, so I decided to create a program to make it fun (and leaned a new language in the way). Thanks to this the professor gave us extra credit because we were the first team that ever did that.
My classmates decided that it was a good idea to follow my idea and a couple of teams started to code their activities too. At the end of the semester almost every team had a program as their activity...
But the professor didn't gave them extra credit because it wasn't a novelty anymore. :D
In another round, my team got as a topic encryption. By the time I was already a Linux user and I knew a thing or two about encryption, so I decided to do the example in real time showing how to encrypt and decrypt using command line. Once again we received extra credit because of it. :D
At the end of the semester the professor offered me a job as a developer, but I couldn't take it since I moved out of the country the next month :( -
when u see a bootstrap template use !important on multiple classes and id's u know someone kinda fucked up😅🙄5
-
CSS has no parent selectors... and the codebases' element I'm working on has no classes nor an id...
kill me8 -
Lol, devRant good move by converting all the likes that one had received into binary system.
Rejigged old memories of converting binary to decimal at undergrad classes. 😂😂😂 -
Why does java have so many nonsensical limitations? Why? Why can't we have multiple heritage? Why can't we have friend classes? Why can't we make static abstract methods? Oracle, PLEASE.9
-
When you spend a couple days cleaning up and refactoring a bunch of classes, then someone else comes in and places needless and empty return's at the end of every method 😒🔫
-
Adding a new feature to a mobile app that has a bunch of classes for getting URLs! Want some examples?
FallbackUrlProvider
CompositeUrlProvider
CompositeRouteUrlProvider
CompositeBaseUrlProvider
RootUrlProvider
I was half expecting to find FallbackRootBaseCompositeUrlProvider!
Not only that, but there were a load of interfaces that sometimes didn't match the name of the class!!!
For example,
class RootUrlProvider : ICompositeUrlProvider
Ugh! But I managed to get the new feature in... Somehow... After trying something... Throwing it away... Trying something else... Throwing it away...
😭😭😭3 -
Why Android uses so many quirky features in Java, like inner and anonymous classes, callbacks and nested generics?
I searched everywhere for the reason but can't find why, only how.
I rarely use these features outside of Android development.4 -
My college is doing a "practice run" of conducting all classes online because just in case they have to shut down the school eventually, they want to be sure that everything works. So I'll be taking classes from home this week. See how that goes, I guess...
-
Rushing to get a feature completed for a client presentation tomorrow has turned my Sass sheets into a nightmarish hellhole of classes, nesting, and questionable specificity. This is taking a huge liberty with "if it works, ship it."
-
Secondary school: 3,5 years teaching C# without the slightest clue of OOP. Literally only had 2 classes, where he presented us an example code(which wasn't even written by him), than we rather moved on to HTML and CSS.
-
!rant
Just finished a backlog item that got rid of redudant code in about 10 classes and almost done with a feature that the marketing people will like
Who knew fridays could be this productive 😎1 -
!!shortRant
Took over a project of someone leaving the company. 5k loc in 1 File. 40 classes, mccabe average is 12.
FUCK THIS SHIT1 -
so close yet so far :(
anyone got any tips for how to remove unused css? is there any tool that can remove classes from bootstrap i don't use?14 -
We are learning a method for reflecting on our progress.
The teachers use a wedding as an example in front of 5 classes of guys only.
Lost all interest -
Of all the browsers required to complete mandatory classes online for the USMC you would think they would support a modern browser and no IE6 or flash heavy courses only...2
-
For my BS, I paid people $70-90 to write essays for GE classes..
Is this wrong of me? Should I have written that paper about earthquakes myself?5 -
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. -
Can someone plz tell me that are subjects like OOAD(object oriented analysis and design) or requirements engineering actually useful in real projects and jobs...?3
-
Microsoft Foundation Classes - MFC. Spent 1 month to make a fixed column on a grid. Counter intuitive APIs.
-
No classes at uni today means full day of just debugging my private Projects :D And lots of tea ofcourse!2
-
JavaScript decided it wanted to be a Prototype based language because it needed to feel special.
Freaking Prototypes.
Classes > Prototypes3 -
A few people have posted about their Linux teachers/classes. Please excuse my ignorance, but what do you learn in these classes?
(Linux was still pretty new when I was at university, and, besides I was studying law and Humanities)5 -
What was/is your plan to make the most of your college time ?
(You know lots of unnecessary classes , homework, etc)
I mean a plan to be acceptable in classes but also make money / or at least learn cool things4 -
First rant;
First of all I am an applied computer science student in the second semester.
We've got a few assignments and the first set went fine but this last week boy ohh boy - first of all today I got noticed by one of my two teammates that the other one won't get stuff done in this assignment (he also did next to nothing in the first)
Also the the assignment is unclear and the given methods and parameters don't care about naming conventions (for one method I don't even know what it should do). Also we have to use new liberies (java.io etc.) and learn them on our own so far it would be okay, the time limit is two weeks, also doable
BUT the same chair also made one assignment for web development with the same deadline and also no explanation how to do stuff.
I don't say I am perfect but the expectations are too high, while also studying for other modules1 -
Is storing-of-data-in-classes-as-static-variables-to-access-them-later-on-from-one-page-to-another a good practice? It always seemed fishy to me...5
-
Fuck school. Fuck AP classes. I don't even have a job yet, and I still have hardly any time for my own projects.8
-
Making classes and functions without commenting what I expect each class and function to do. Which means that my classes and functions have really long names.
Example Code:
Class ReallySpecificClassToWorkWithThisFramework { ...
public void DoThisActionInTheFramework (obj TheKeyToTheWholeFunction) { ... }
} -
Colin Rickels [10:24 AM]
i know im nerding out but this alone is one of the reasons i think node is byfar the greatest platform to write an app on. In one line, it checks how many cpus your machine has, makes sure your running currently on a master process and not a child spawn, forks child processes for each core you have so that your now running a cluster of node.js servers (one per cpu sharing the same port) and then spins up the server. Its brilliant! And even though your writing simple javascript thats easy to understand, your also thinking about low level mechanics of server functionalityrant brilliant underestimated it would take 7 more classes in c# node.js javascript try this in php try this in c#5 -
Any recommendation for good naming convention for methods and classes ? I'm looking for article or book.1
-
Original class has 185 LoC, unit test class have 315.
But it's one of the most important classes, with most states and corner cases.
And, thanks to unit tests, one of the few classes I'm almost proud of. -
Had a Word doc to format for our so-called CS class. A classmate submitted my file under his name, but didn't realize that my name was in the metadata xD. The teacher almost failed him on the spot.1
-
Damnnn my Team lead is hinting that i write a test for the feature I paired with a team member.
But the large django code base is ridden with abstract classes and classes and inheritance etc...its going to be a long night -
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?4
-
TIL the definition of Favela Architecture.
The blue spots are (copied) helper classes and everything is static. -
I'm amazed how much git f***ed up my project since i opened it the last time.
It just overwrote my local project with the Upstream, but also deleted my local classes completly. 2 days worth of coding almost gone.3 -
After seeing how big several abstract classes to write will be for some group work then just thanking the DevLord for IDE's that generate your getters
-
Is there a definition for the feeling of fulfillment and joy that occurs, when reading through a rewrite or something overly complicated and messy legacy into a neat and tidy set of classes?1
-
Hi, so currently in my Java course, I'm learning about abstract classes. I noticed how a method in an abstract class can use an access modifier, however, interfaces don't use them.
In addition to this, I noticed that IntelliJ didn't give me an error stating that adding an access modifier was redundant or useless. So I wanted to know if there is a point in adding access modifiers to abstract methods.
Thanks so much for anyone who can help me out with this!1 -
After the instruction given by project manager to use snake_case names for CSS classes, now he tells everyone his contribution in project. -_-
-
FYI Free weekend at CodeSchool! https://codeschool.com/free-weekend...
I don't work there I just like their classes.1 -
Talking to friend from school on Discord, and he asked for help with a Minecraft mod. I told him he should learn basic Java, and he said he had taken a couple classes already.(turns out they were small Minecraft modding classes) I was like ok, whatever, and after listening to him work on it, it's now obvious that he knows nothing about Java :/2
-
Hey guys,
I´m trying to create a generic class, which inherits from an Interface, which is also an generic.
My problem is to instantiate the interface with the correct type, cause the new class should use all classes from the instantiated interface.
Is this possible? It´s a bit complex ^^ but that´s just my thought :)3 -
Macromedia Authorware. Wasted 3 months of my life on a course assignment and classes for this. Shame really cuz I was hoping it would improve after Adobe took over.
-
Im learning Javascript, where can I find some documentation about the methods and classes of this language?7
-
I got a friend in the older class. He has C++ classes now. I’m constantly helping him, even though I don’t know C++ much 😂1
-
Second year computer science starts today, this semester is going to be awesome, there's almost no theories classes and there are a load of projects to be made.
Finally some actual real work 💪4 -
Allright, to settle a debate what is the more incorrect way of getting the last elememt of a std::vector?
Is it this:
auto i = myVec.at(myVec.begin() + myVec.size() - 1);
or:
auto i = *(&myVec.at(0) + (myVec.size() - 1));
I think the second method is better(worse) because it has more brackets and only works on Implementations where the vector's data is laid out concurrently (that is in the c++11 spec, but I've seen some shit)
My friend argues for the first method because it takes more time. (If IO is not a bottleneck)1 -
TFW 'this' in functions loses its context when in promise chains and none of the blogs mentioned it :^)1
-
Adding extensions to Swift classes so that all methods have exact equivalents with anonymous parameters so you don't have to use parameters names when invoking which goes against the spirit of the language. #douchebagdeveloper
-
What are the pros and cons of creating a builder (and a dozen related files and classes) vs using a partial shared view?
For what is basically 2-3 html elements reused a few times in a single page. -
While developing whatever website that uses Boostrap, my boss always says:
"PLEASE JUST USE BOOTSTRAP CLASSES to make it easier for everyone else to actually operate on that after you're done"
I'm now working on a project started by him and OMG the mess.
The only bootstrap classes he's using are col-* and text-*, the rest is all custom classes like nopad, which is the equivalent of p-0 m-0.
I mean, I might get you use less bytes writing nopad, but be consistent with what you say8 -
val true : bool = isFrustrated(me : Human)
1) Honestly fuck SML. Who's goddamn idea was it to make a useless fucking programming language that does absolutely nothing relevant unless you're trying to learn recursion. Who's fucking idea was it to not be able to even have side effects. And who gives a shit if you can explicitly declare the type of variables on every single fucking line that's what comments are for if you really need it. All this is aside from the fact that nobody ever has been like "OH UNMUTABLE TYPES? WOW IM SO HAPPY THIS IS SO USEFUL". At this point I feel like SML is basically a DFA - ABSOLUTELY FUCKING USELESS
2) Aside from that, who's idea was it to duplicate two classes. There's 15-122 (Principles of Imperative Computation) and 15-150 (Principles of Functional Programming). So far the ONLY fucking thing different is we learned about work and span in 15-150 - OTHER THAN THAT ITS LIKE TAKING THE EXACT SAME COURSE. BUT AGAIN. So then I have to fucking sit in lecture and pay attention for that tiny bit of information that is new amongst the giant cesspool of information that isn't. BECAUSE I ALREADY LEARNED IT.
Oh and did I mention that both classes are required to graduate as a CS major? Fuck me.
Thanks devRant for helping <3
Edit: We are 4 weeks into the semester so you'd expect we'd have gotten into the new stuff by now right????5 -
So it's a basics question I know, but is the main difference between abstract classes and interfaces is just that you can use non-abstract methods in abstract classes but not in interfaces ??3
-
I have to let it out :
- Javascript is not Java
- classes in Javascript are bad
- Yes OOP can be done without classes2 -
Android studio,
I'm in love with the multiple cursor
And with the thing that you can right click +Ctrl vars/classes/files/functions
And it will take you to them/to where they are mentioned -
Spending hours troubleshooting with a customer, nothing works, until eventually it comes out that the customer lied in response to one of my first questions.
Congratulations, asshat, you played yourself.
This happened across multiple companies, multiple classes of products, multiple classes of customers. It is how my “rule 1” came to be (see previous rant). -
Stayed up doing all the projects for my CS class the day before the last day of classes. It was simultaneously worth it and not worth it
-
compareTo(Obj obj) !!
For me !
Most of the custom classes are written with a distinction on defining this method. -
Really taken aback after seeing my semester attendance is 93.43%. There was a time it uses to be 40%, online classes doing wonders.
@MicrosoftTeams -
June 2017:busy with oop in my cs101 course
August 2017:Still busy with oop
And I continue to hit my head against the desk when he says writing classes in Python is exactly the same as classes in Java.1 -
I just started a web dev course.
I definitely hate bootstrap, jquery-mobile and all their fucking classes.
Does it exist a good reference poster (or something else printable) with all these classes and what they do?3 -
I'm new at coding and im learning java but i can't quite figure out, how many classes is too many?4
-
I once wrote a whole lot of classes with lots of functions and pushed them to the live server without testing... There were no errors 😎1
-
My first time developing a C# project with a friend. He decided it would be a good idea to put 15 classes into a single .cs file. Ever had a person do that to you?1
-
Start working with ZK framework. When I download some examples from their site I get a lot of errors because of missing classes and jars. Help me pls!4
-
Design question for y'all
Context: python lambda
Better to make classes for dictionary objects holding strings between methods
Throw strings around separately
Throw the dictionary around6 -
I need to pick one terminology for shipping so I don’t forget my function names, css classes and labels.
I’ve used a mix of “Shipping”, “postage” and “delivery” and now I’m confused :-/1 -
What is your opinion on multiple classes per file?
and having the filename not the same as the class
names?15 -
I have been writing a bunch of classes, but I don't know how to write test. At this point, I don't know where to start.
-
Back in school! Happy to say i'm taking classes i genuinely like, which are useful and challenge my brain.
Classes include (but aren't limited to)
SQL (and MS SQL Server, no MySQL sadly)
HTML/CSS/JS
Java2 -
Weekends
Before lockdown: Yay...Weekend is here...Time to go for social events, hobby classes and have dinner with friends outside
After lockdown: Yay...Weekend is here...Time to attend social events, hobby classes online and talk with friends on video calls... -
task: building classes for "yes, everything done and tested, okay"-API-Request1
result: the undocumented shit is broken, what a surprise.
alt.task: classes for request2
result: there is no controller named "ABC"
-.-*** -
Okay, so I had an object consisting of tables (basically classes) and structs (classes with only scalars as their properties).
I was about to serialize the object with vectors of classes and structs and wrote some nice tests for it wondering why they fail to validate the data after deserialization and why I only got garbage for the vectors of structs whilst the tables worked just fine.
Turns out there is an undocumented function called CreateVectorOfStructs which shall be used for structs instead of the regular CreateVector ...
There go three hours of blaming memory issues and running Valgrind over and over again ... -
I have to make a domain-specific language for one of my classes (we will be working on it for the next two semesters) but I can't think of anything to do, do you guys have any ideas?5
-
How do come up with good names for classes and interfaces? Mine always seem stupid and I want to change them, but cant think of anything better.2
-
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.7
-
Emphasizing on:
-creative thinking
-good exercise systematic approach to problem (breaking down problem in to smaller workable pieces)
-open source
Far way better than text book based boring classes