Members in Shoutbox
None.

Shoutbox Search
Search for:


Shoutbox Commands
/w [name] > Whisper
/r > Reply to last whisper
/me > Marks as action

Shoutbox Information
Moderators may delete any and all shouts at will.
Global Shoutbox
Please log in to shout.
Pages: < 1 « 1568 1569 1570 1571 1572 … 3578 >

[2016-7-18. : 8:29 pm]
Vrael -- u h8rz
[2016-7-18. : 8:29 pm]
Generalpie -- I dislike having to have both versions installed. I just avoid python applications in general nowadays because a lot of times I would have to manually point applications to the right versions.
[2016-7-18. : 8:28 pm]
Roy -- That conversation definitely went down.
[2016-7-18. : 8:28 pm]
Roy -- I was talking about how I was trying to get something that had a Python dependency to work, and it refused. The issue was related to having the wrong version of Python.
[2016-7-18. : 8:27 pm]
Vrael -- yeah probably between me and roy too lol
[2016-7-18. : 8:27 pm]
Roy -- https://www.xkcd.com/353/
[2016-7-18. : 8:27 pm]
Dem0n -- This 2.7 vs 3 conversation has definitely happened before lmao
[2016-7-18. : 8:26 pm]
Vrael -- basically
[2016-7-18. : 8:26 pm]
Roy -- Isn't it that some pretty popular packages haven't been updated, and so a lot of projects choose 2.7 just for the sake of compatibility?
[2016-7-18. : 8:26 pm]
Vrael -- biggest difference is the string/byte stream/unicode thingy
[2016-7-18. : 8:26 pm]
jjf28 -- Roy
Roy shouted: I tried to install it and gave up because I don't know the difference between 2.7 and 3 and why they're both in circulation, and that makes me angry!
you can't just have characters announce how they feel!
[2016-7-18. : 8:25 pm]
Vrael -- 2.7 and 3 are approximately the same with a few minor (and one or two major) details. 2.7 is still around because some packages havent been sufficiently updated to 3 yet
[2016-7-18. : 8:25 pm]
jjf28 -- :rage:
[2016-7-18. : 8:25 pm]
Roy -- I have a friend who picked up both Scala and Go.
[2016-7-18. : 8:25 pm]
Roy -- I tried to install it and gave up because I don't know the difference between 2.7 and 3 and why they're both in circulation, and that makes me angry!
[2016-7-18. : 8:25 pm]
Vrael -- Just do me a favor and don't pick up Scala, Julia, or Go. Those python-wannabe-bitches
[2016-7-18. : 8:24 pm]
jjf28 -- I prefer Sapphire
[2016-7-18. : 8:24 pm]
Vrael -- How dare you vehemently oppose my language of choice despite probably having completely different uses for coding than me. Completely ridiculous.
[2016-7-18. : 8:24 pm]
Dem0n -- Use Ruby instead lel
[2016-7-18. : 8:24 pm]
Roy -- C# is boring enterprise stuff, kinda like Java.
[2016-7-18. : 8:23 pm]
Roy -- I've been meaning to convert over to Python one day. Right now I'm vehemently against it, but it's definitely a cool language that can persuade me once I actually give it a shot.
[2016-7-18. : 8:23 pm]
Vrael -- maybe when his primary tasks involve scientific computing like me and not embedded design or whatever the heck he does with his C# nonsense
[2016-7-18. : 8:22 pm]
Vrael -- I'll convert Roy to python someday
[2016-7-18. : 8:22 pm]
*Roy checks the implementation and sees that it's empty*
[2016-7-18. : 8:21 pm]
Vrael -- What does it do? It does something.
[2016-7-18. : 8:21 pm]
Vrael -- Best code: DoSomething()
[2016-7-18. : 8:21 pm]
Roy -- I'm not a fan of boilerplate code in general. The best code is no code.
[2016-7-18. : 8:20 pm]
Dem0n -- I personally don't mind writing small, 3-line methods for getters/setters
[2016-7-18. : 8:19 pm]
Roy -- lil-Inferno
lil-Inferno shouted: Roy Any decent IDE can do it for you IMO.
Sure, they can generate them, but that doesn't make them any more appealing.
[2016-7-18. : 8:18 pm]
Roy -- That's fine too, Vrael. As long as it's a tangible reason, I can't hold it against you.
[2016-7-18. : 8:18 pm]
Vrael -- I oppose it mostly because you were talking about it and I was feeling dickish
[2016-7-18. : 8:18 pm]
lil-Inferno -- Roy
Roy shouted: Honestly, it's a fault of the language if getters and setters are a pain to write. C# handles it really well with auto-properties.
Any decent IDE can do it for you IMO.
[2016-7-18. : 8:15 pm]
Roy -- I think people who oppose it mostly oppose the Java Way™, which is hideous.
[2016-7-18. : 8:15 pm]
Vrael -- to change the implementation of a class attribute
[2016-7-18. : 8:14 pm]
Roy -- That wouldn't break anything referencing it, because you get/set things the same way you would with a public property.
[2016-7-18. : 8:14 pm]
Vrael -- I suppose I have used getters and setters once in python
[2016-7-18. : 8:13 pm]
Roy -- Since all you do is add the little { get; set; } after the property name.
[2016-7-18. : 8:13 pm]
Roy -- Well, at least in C#, where getters and setters are sane.
[2016-7-18. : 8:13 pm]
Roy -- Converting a public property to a getter/setter when the time comes is a viable solution in some cases, but it causes problems if you're doing serialization of any sort.
[2016-7-18. : 8:10 pm]
Roy -- In fact, if you don't mind the extra costs associated with refactoring and can accept that risk for the sake of sparing a few characters in your source file, you can choose not to use them. And this goes for any language, including Java.
[2016-7-18. : 8:09 pm]
Roy -- If everything you write is its most optimal from the very beginning, you can get away with not using getters and setters.
[2016-7-18. : 8:09 pm]
Vrael -- you should probably give me some severity for that
[2016-7-18. : 8:09 pm]
Vrael -- yeah now I'm just being a dick
[2016-7-18. : 8:09 pm]
Roy -- If your code never changes, yes.
[2016-7-18. : 8:08 pm]
Vrael -- so I still don't need them
[2016-7-18. : 8:08 pm]
Roy -- When the implementation changes.
[2016-7-18. : 8:08 pm]
Vrael -- Roy
Roy shouted: You don't change a getter. Changing the public interface breaks code. Therefore the best solution is to hide the implementation completely, so that no matter what changes, you can still fulfill the contract of the public interface.
so what do we need getters and setters for again?
[2016-7-18. : 8:07 pm]
zsnakezz -- verbaw - city
[2016-7-18. : 8:07 pm]
Vrael -- but its verbose so it's probably "s"
[2016-7-18. : 8:06 pm]
Roy -- You don't change a getter. Changing the public interface breaks code. Therefore the best solution is to hide the implementation completely, so that no matter what changes, you can still fulfill the contract of the public interface.
[2016-7-18. : 8:06 pm]
zsnakezz -- verbo - city
[2016-7-18. : 8:06 pm]
Vrael -- I feel like verbosity should have a c in it somewhere
[2016-7-18. : 8:05 pm]
zsnakezz -- Verrrbosity
[2016-7-18. : 8:05 pm]
zsnakezz -- it's a fun word to say though
[2016-7-18. : 8:05 pm]
Roy -- Verbosity is not a good thing, as you say.
[2016-7-18. : 8:05 pm]
Vrael -- if you change a getter in java or w/e from returning an int to returning a float, and that breaks something that expected an int, all you've got is a bunch of extra crap
[2016-7-18. : 8:05 pm]
Roy -- Sorry, but you need to learn what "spaghetti code" means. You might not like getters and setters, but it's plain as day that they decouple code.
[2016-7-18. : 8:03 pm]
Vrael -- yes, getters and setters are unnecessary spaghetti code that add frivolous lines of code to otherwise clean beautiful python
[2016-7-18. : 8:01 pm]
Roy -- So... Spaghetti code. Touch one thing, fix the whole codebase. That's a design issue that scoping solves.
[2016-7-18. : 8:01 pm]
Vrael -- now if you needed to change a calculation or something that should actually be encapsulated, you of course can change the underlying internals without breaking the agreement
[2016-7-18. : 8:00 pm]
Vrael -- in python if you need to change from an int to a float you just do it, and if anything breaks that needs it to be an int that's your fault for breaking the agreement that we were supposed to be exchanging an interger-like object
[2016-7-18. : 7:59 pm]
Vrael -- I will admit that I am being unrealistically argumentative though
[2016-7-18. : 7:58 pm]
Vrael -- python is mostly magic so probably yeah
[2016-7-18. : 7:57 pm]
Vrael -- " I just explained when you should use them." when you are forced by your language to write them
[2016-7-18. : 7:57 pm]
Roy -- Or does Python have a magic bullet that solves the refactoring problem without getters and setters?
[2016-7-18. : 7:57 pm]
Roy -- You don't need getters and setters in any language. I just explained when you should use them.
[2016-7-18. : 7:56 pm]
*Generalpie yawns and flops over*
[2016-7-18. : 7:56 pm]
Vrael -- oh wait I wouldn't have to write anything because it's python and you don't need getters and setters for attributes
[2016-7-18. : 7:56 pm]
Vrael -- I didn't agree, it was painful because in python I'd have to write this:
[2016-7-18. : 7:55 pm]
Roy -- Nice sarcasm, and thanks for agreeing.

Pages: < 1 « 1568 1569 1570 1571 1572 … 3578 >


Members Online: EstelleDrouin337, ihjel, AdrienBoisvert285