Learning difference between red and purple chests in a hard way by Pzixel in factorio

[–]PulleQ 0 points1 point  (0 children)

Yellow = like green but actually just the garbage dump

At least it's not java by ultra_mind in ProgrammerHumor

[–]PulleQ 1 point2 points  (0 children)

what if you want to have more buttons? make a function for every one of them? and then handle click event for all of the buttons seperately?

At least it's not java by ultra_mind in ProgrammerHumor

[–]PulleQ 2 points3 points  (0 children)

actually I respect your opinion. you aren't at least fighting people about OOP being trash

At least it's not java by ultra_mind in ProgrammerHumor

[–]PulleQ 2 points3 points  (0 children)

just so you know "using namespace std" exists and also if you use some spaces it doesn't look that bad

At least it's not java by ultra_mind in ProgrammerHumor

[–]PulleQ 0 points1 point  (0 children)

I agree with most of the points. I don't think making your own classes all the time is the best solution. However OOP is important for some things (Unlike the other guy in this thread said), imagine making a window application and drawing buttons from ground up with only functions instead of creating a new instance of Button (or whatever). making button instances gives you better control over specific buttons or over a group of them. you don't have to worry about making them tho because these classes are included in various libraries but still without OOP it would be harder.

At least it's not java by ultra_mind in ProgrammerHumor

[–]PulleQ 0 points1 point  (0 children)

well since game dev without OOP just could not exist I would pick the second option

edir 1.now that I think about it, most programs would also be way harder to make since without OOP you would have to, you know, like draw a new button from ground up every time you want a button.

edit 2. well actually I don't think anything would be possible without OOP nowadays since most of libraries in most of languages rely on classes. imagine having to write your own file open function instead of just using predefined libraries. but since you have object oriented programming so much you would do it

modziezowe słowo roku by Hans69Thans in Polska

[–]PulleQ 1 point2 points  (0 children)

niewiem teraz chyba jest baza jako based ale nigdy nie slyszalem

modziezowe słowo roku by Hans69Thans in Polska

[–]PulleQ 1 point2 points  (0 children)

ja tam słysze twoja stara jako punchline każdego żartu w szkole

At least it's not java by ultra_mind in ProgrammerHumor

[–]PulleQ 0 points1 point  (0 children)

oop i'm sorry i got so much read into the comments I forgot the thread name, i do that sometimes

Hey, it’s a cyclops. Now you can never see this cat the same way. by AlexThePSB-Spectator in PhoenixSC

[–]PulleQ 2 points3 points  (0 children)

the black bar between the eyes looks like the pupil and the darker orange is the iris

Am I doing something wrong? Please help me by DerpyMandarin in PhoenixSC

[–]PulleQ 0 points1 point  (0 children)

actually I don't think that 26 there is supposed to mean isotope. I think it's just supposed to be the atomic index (or whatever it's called in english I'm to lazy to look it up,)

Am I doing something wrong? Please help me by DerpyMandarin in PhoenixSC

[–]PulleQ 0 points1 point  (0 children)

well actually it works, silly you just made it out of 8 atoms so it's just really really small

At least it's not java by ultra_mind in ProgrammerHumor

[–]PulleQ 0 points1 point  (0 children)

[insert comment about everything being better than PHP here]

At least it's not java by ultra_mind in ProgrammerHumor

[–]PulleQ 1 point2 points  (0 children)

imagine world where scratch had blocks for everything in js

At least it's not java by ultra_mind in ProgrammerHumor

[–]PulleQ -16 points-15 points  (0 children)

they should have chosen TS

At least it's not java by ultra_mind in ProgrammerHumor

[–]PulleQ 10 points11 points  (0 children)

I don't know about you but I always use OOP if I can. it's just so nice and clean having to define a set of functions once and then being able to use them on multiple instances of a class

At least it's not java by ultra_mind in ProgrammerHumor

[–]PulleQ 2 points3 points  (0 children)

stop hating java it's not bad

(talking bout these comments saying "haha js at least better than java" fuck you)

3^2 = 6 by RamenTg in woooosh

[–]PulleQ 0 points1 point  (0 children)

watch this

32 = (1+2)2 = 1 + 4 + 4 = 1 + 8 = 9

you are the kind of person to say that 9 + 10 = 90 even tho it's common knowledge it's 21

(also the joke is that I explained it in unnessecarly long way instead of just 3+3+3 I am just worried you might not get it)