|
MeruFM posted:C# is kinda nice in some ways but using getset syntactic sugar as the reason is p bad snipe
|
# ? Jan 10, 2014 23:51 |
|
|
# ? May 13, 2024 15:53 |
|
I CAME FOR THE SNYPES edit; MOTHER FCUCKAD;SLJFHASDLKUFHBASDLKFUB i'm a terrible programmer so this missed snipe is perfect.
|
# ? Jan 10, 2014 23:51 |
|
terrible poster zone
|
# ? Jan 10, 2014 23:52 |
|
page -0 snypah
|
# ? Jan 10, 2014 23:52 |
|
bobbilljim posted:y do u bother with getter and setter methods if there's no logic in them u could just use the public field directly this is a No Trolling Zone.
|
# ? Jan 10, 2014 23:53 |
|
thx for the proxy snipe
|
# ? Jan 10, 2014 23:53 |
|
Werthog 95 posted:this is a No Trolling Zone. setters are usually an indication of awful! getters mean you don't care about OO which might be okay but probably isn't if you think setters are fine
|
# ? Jan 11, 2014 00:11 |
|
yeah why are getters and setters a thing also what are properties
|
# ? Jan 11, 2014 00:20 |
|
properties are things which you get or set
|
# ? Jan 11, 2014 00:21 |
|
isn't the point of no-logic getters and setters that you can put some logic in them maybe at somepoint in the future without breaking everything for ever more you idiot?
|
# ? Jan 11, 2014 00:24 |
|
they're nice if you gotta go fast
|
# ? Jan 11, 2014 00:27 |
|
properties are for when your program is a pile of transaction layers that makes histograms for people who don't read them
|
# ? Jan 11, 2014 00:29 |
|
Werthog 95 posted:this is a No Trolling Zone. e: just use structs
|
# ? Jan 11, 2014 01:23 |
just let everything be public, who cares. if you gently caress up its your fault
|
|
# ? Jan 11, 2014 01:28 |
|
public int foo public int getFoo() hell yeah private sucks
|
# ? Jan 11, 2014 01:35 |
|
gucci void main posted:just let everything be public, who cares. if you gently caress up its your fault unironically this
|
# ? Jan 11, 2014 01:46 |
|
the public/private debate is like people who are worried about polluting global in javascript yeah it can technically be a problem but come on
|
# ? Jan 11, 2014 02:00 |
|
Bloody posted:unironically this write all things in c, that way you can be punished or rewarded capriciously for any transgressions
|
# ? Jan 11, 2014 03:03 |
|
git clone trooper posted:the public/private debate is like people who are worried about polluting global in javascript one day future-shaggar will replace you with future-xaml
|
# ? Jan 11, 2014 03:07 |
|
Brain Candy posted:write all things in c, that way you can be punished or rewarded capriciously for any transgressions pretty much all the code i write that matters at all is written in c so ill take this happily
|
# ? Jan 11, 2014 03:29 |
|
i have a dream of a c compiler that recognizes undefined behavior and replaces any main with tetris
|
# ? Jan 11, 2014 03:41 |
|
I'm a terrible OO programmer, I end up using classes as modules/interfaces and end up writing in a nearly functional style
|
# ? Jan 11, 2014 04:39 |
|
write a bunch of code under the assumption that case statements are the enemy
|
# ? Jan 11, 2014 05:05 |
|
MononcQc posted:I'm a terrible OO programmer, I end up using classes as modules/interfaces and end up writing in a nearly functional style same - i've spend the last day writing c using uthash and the code structure seems to be entirely the same as when i wrote the code in haskell except the folds and maps are now loops and i've inlined some stuff
|
# ? Jan 11, 2014 12:38 |
|
Brain Candy posted:write a bunch of code under the assumption that case statements are the enemy case statements apparently lead to cyclomatic complexity
|
# ? Jan 11, 2014 12:44 |
|
prefect posted:case statements apparently lead to cyclomatic complexity doesn't matter for toy projects, which is a reason why when you dabble in OO it seems dumb
|
# ? Jan 11, 2014 13:44 |
|
MononcQc posted:I'm a terrible OO programmer, I end up using classes as modules/interfaces and end up writing in a nearly functional style What you need is Agda. Class instances /are/ modules.
|
# ? Jan 11, 2014 15:00 |
|
terrible progeammer checking in what's a good java alternative for "requests" python library? i don't want connection management or streaming or cjing my packets or whatev i want to with cookies (giving/receiving) i am doing an android thing
|
# ? Jan 14, 2014 13:52 |
|
i dont really know ehre the yospos hangout general is so ill post this here. started a web dev class today and the lecturer unironically said that people that cant code are losers, "users are losers", walked around mocking designs, starting ragging on PHP for some reason and called it Pretty Horrible Programming and some other weird poo poo, he is also 6 foot tall with an australian accent and italian name
|
# ? Jan 14, 2014 15:16 |
|
hmm sounds like a programmer
|
# ? Jan 14, 2014 15:18 |
|
he advised us to never undersell the difficulty of tasks and always make it sound like it is harder than it really is. pretty good advice imo even if dishonest. also said that "computer scientists are the gods of the future" and asked if anyone wanted to disagree with him, they did not
|
# ? Jan 14, 2014 15:20 |
|
beep boop i wasted my entire life in front of a computer now I'm neitzches ubermensch
|
# ? Jan 14, 2014 15:21 |
|
Valeyard posted:i dont really know ehre the yospos hangout general is so ill post this here. started a web dev class today and the lecturer unironically said that people that cant code are losers, "users are losers", walked around mocking designs, starting ragging on PHP for some reason and called it Pretty Horrible Programming and some other weird poo poo, he is also 6 foot tall with an australian accent and italian name hangout is cjs thread he was right about php
|
# ? Jan 14, 2014 15:23 |
|
Valeyard posted:also said that "computer scientists are the gods of the future" and asked if anyone wanted to disagree with him, they did not everyone learned their first lesson: ignore the sperg with a toxic attitude
|
# ? Jan 14, 2014 15:24 |
|
I wouldn't call it "underselling the difficulty" but many times when I think "oh this is gonna be piece of cake" it ends up... not being easy at all. gotta be on the safe side, I'm a retard full of poo poo.
|
# ? Jan 14, 2014 15:27 |
|
always pad your estimates is project management 101
|
# ? Jan 14, 2014 15:29 |
|
I know what you are saying about giving safe estimates, its better to finish something early than to run out of time and have someone asking why its not done. that is definetly not what he was alluding to though, he kept referring to himself as godlike
|
# ? Jan 14, 2014 15:32 |
|
Shaggar posted:always pad your estimates is project management 101 but yeah most importantly, MononcQc posted:ignore the sperg with a toxic attitude
|
# ? Jan 14, 2014 15:32 |
|
Shaggar posted:always double your estimates is project management 101
|
# ? Jan 14, 2014 15:53 |
|
|
# ? May 13, 2024 15:53 |
|
Valeyard posted:i dont really know ehre the yospos hangout general is so ill post this here. started a web dev class today and the lecturer unironically said that people that cant code are losers, "users are losers", walked around mocking designs, starting ragging on PHP for some reason and called it Pretty Horrible Programming and some other weird poo poo, he is also 6 foot tall with an australian accent and italian name ur lecturer sounds pretty yospos
|
# ? Jan 14, 2014 16:34 |