« first day (1513 days earlier)      last day (3420 days later) » 

fge
2:02 PM
=javadoc Splitter
 
@fge Sorry, I never heard of that class. :(
 
fge
Boo
 
Guys, what, aside from Constructor and Getter/Setter are the most basic OOP patterns there are?
 
OOP Pattersn?
 
Yes, Constructor is a pattern
It's not strictly part of OOP, but it's considered a common good practice to use practically everywhere.
So are getters and setters.
 
fge
2:07 PM
Uh, not really
 
Hmm....
 
fge
It entirely depends on the language you use
 
So naming convention is a good pattern too then if constructors & getters/setters are patterns
 
fge
As to getters and setters, uh... Overusing them is a bad thing
 
Singletons, Factories, Builders, prototypes, object pools, commands, interpreters, iterators, mediators...
Observers, template methods, visitors, null objects, adapters, bridges, decorators, proxies...
 
2:07 PM
@Unihedro No, too advanced.
 
fge
... static factory methods, composition, delegation...
 
Then I have no idea what you're asking for, are those even "OOP patterns"? :p
 
I'm not looking for design patterns
I'm looking for common things that are considered good practice on top of very basic OOP
 
fge
@SecondRikudo I then suggest that you start by learning the core mechanisms of Java itself
OOP is a paradigm, it is not about mechanisms
You can do OOP in C
 
@SecondRikudo so you want good code?
 
2:09 PM
@fge Not necessarily Java. It's for a blog post
 
I'm writing the second post in the series
 
Does it have anything to do with Java?
 
That is too honest!
 
Is it wordpress? Looks like one
 
2:10 PM
@Unihedro Ghost
 
Getters and setters are pretty specific to Java.
 
@Unihedro Not necessarily. It's about OOP in general.
 
@SecondRikudo Ahh, I love that framework :)
@Michael C# has them more natively
 
@Michael Not really. PHP has them too, so does JavaScript if you want to.
 
But the idea of hiding private members is a good, generic practice.
 
2:10 PM
fields are like:
value { get; set; }
 
@Unihedro Yeah.
 
@Michael Yes, I plan on explaining visibility in that post (and then introducing getters and setters as a pattern used on top of that)
 
That is, if the language supports the concept of private members...xD
Javascript does not.
 
@Michael Sure it does.
 
fge
@SecondRikudo I guess you are speaking about things such as encapsulation and polymorphism then
 
2:11 PM
@fge That would be in a later post.
 
fge
Uh, I give up, I don't know what you want at all
 
Still too advanced a topic. I'm explaining what constructors are in that post, think that level.
 
@SecondRikudo Not directly it doesn't.
Constructors aren't really a pattern...they are more of a necessity.
 
@Michael Not directly, but you can still do it pretty simply.
 
Type casting?
 
2:12 PM
The Builder pattern is a nice one.
 
@Unihedro That implies inheritance.
Hmmm
 
5 mins ago, by Second Rikudo
@Unihedro No, too advanced.
 
Oh. :(
 
@Michael Read the first blog post, it's not too long.
I'm currently planning the second post in that series.
 
Singleton is a common one, but many developers are saying now that you should avoid using it.
 
2:14 PM
Design pattern, polymorphism, etc. are still too advanced.
 
@SecondRikudo "oop sucks, all coders should code in assembly"
 
@Michael Singleton is pointless.
If you need to use the same object throughout the app, just use the same object throughout the app. Don't enforce it's singularity status.
There are some memory benefits for global objects, but they very rapidly get outweighed by the technical debt you incur.
 
@SecondRikudo Yeah, exactly. The hard part is getting access to the that object throughout the app.
 
@Michael That's where a dependency injection container comes into play.
 
Ahhh.
 
2:16 PM
I could add inheritence
But how do you call "constructor, visibility and inheritance"?
 
You should describe inheritance and polymorphism.
 
@Michael I think polymorphism is too advanced a topic for someone who doesn't know what a constructor is.
 
fge
@SecondRikudo again, constructors have nothing to do with OOP
 
@fge Yes, but it's a very common pattern associated with OOP
 
fge
They are just a mechanism that some languages use to build objects
No, it's no pattern at all
 
2:20 PM
"It's something you should be familiar with when doing OOP"
 
fge
Again: you can do OOP in C; C does not have constructors
 
It's definitely something you need to know about, but it's not a pattern.
 
Easy. Just search for "phpoop" on codereview.SE, and you'll see all the OOP elements.
 
fge
@Unihedro uh, I sort of skipped the two first letters of that when I read "php"
 
@Unihedro github.com/…
2
SQL Injection? That's for the weak XD
 
2:22 PM
Poop pretty much describes PHP. xD
lol jk
 
@SecondRikudo Oh my. Kill me now.
 
fge
@Michael freenode's javabot definition of PHP: "the solution of choice for relaying MySQL errors to web users"
 
haha
@SecondRikudo Haha! Wow...
I think the first search result is a joke xD: github.com/ButtNet/poos/blob/…
Super SSH...lol
 
2:40 PM
Shutting down. See you later.
 
stackoverflow.com/q/11880185/3622940 WTF? Since when do list initializers like that exist?
 
@Unihedro I think that's pseudo-code.
 
@Michael look at the original revision
 
@Unihedro Wow, that's hard to read. xD
 
fge
This is certainly not Java
 
2:46 PM
OakBot Online.
 
4 mins ago, by Unihedro
=javadoc java.awt.Robot
 
@Unihedro java.awt.Robot: This class is used to generate native system input events for the purposes of test automation, self-running demos, and other applications where control of the mouse and keyboard is needed. The primary purpose of Robot is to facilitate automated testing of Java platform implementations.
 
Oh.
 
Whoa cool. I didn't know that existed.
 
Confession time: Me neither.
=BitSet
 
2:51 PM
@Unihedro I don't know that command. o_O
 
=javadoc BitSet
 
@Unihedro java.util.BitSet: This class implements a vector of bits that grows as needed. Each component of the bit set has a boolean value. The bits of a BitSet are indexed by nonnegative integers. Individual indexed bits can be examined, set, or cleared. One BitSet may be used to modify the contents of another BitSet through logical AND, logical inclusive OR, and logical ...
exclusive OR operations.
 
By the way, where's JavaBot? :(
 
I have to set up his home, which I've been procrastinating about it lately and went to code JCE, so.
I'll do that soon! Like really soon.
 
You had better!
;P
 
2:54 PM
@Unihedro You should create a free AWS account. That's what I'm running OakBot.
It basically gives you a free Linux machine that you can do whatever you want with.
 
I like amazon.
 
I hate them with every fiber of my being.
But that's just because I had to deal with their crappy advertising API.
eBay is much worse.
 
Hehe.
 
Maybe I'll run JavaBot on it too.
 
@SecondRikudo Why is that bad? Do you have to implement the ads?
 
3:00 PM
@Gemtastic I just wanted to query item details from it.
 
@SecondRikudo Ah
 
And it's spectacularly stupid, the API
 
Why?
 
Their documentation is horrendous, and their API results are not deterministic.
 
Ah
At least Facebook is easy to deal with :')
 
3:01 PM
Sometimes I'd get the prime version of an item, sometimes I'd get the non prime version, with a higher price and worse shipping conditions, for no apparent reason.
 
It returns a nice little JSON
 
Did I mention they work with XML?
 
^^^
 
@SecondRikudo Lol?
 
I despise XML so much it hurts.
 
3:01 PM
At least it's RESTful.
 
@Unihedro It is not.
 
I don't know more about XML than the POM and the FXML >_>
 
Well... It must've changed since I've last used it. It must really suck then.
 
@Unihedro Their general clouding services are RESTful
But the advertising API is not.
It's a SOAPy translation to REST that didn't get very well.
eBay still has example screenshots with IE6 and links to w3school for support on XML.
 
:O
 
3:29 PM
Hey, javaroom.website domain is really cheap for the season! Should I buy it?
 
what do you want to do with a domain name?
 
@Unihedro What's the yearly cost for the domain?
 
$4.88/year
 
Wow go with it. If you are low of budget, I can share
 
and $0.18 ICANN fee, which is nothing
 
3:31 PM
RESTful is what we're learning in school
 
@Gemtastic Using jersey?
 
using spring?
 
:D
 
There's also javaroom.shoes, but let's not take that
 
@ItachiUchiha @Mr.77 Spring
 
3:31 PM
Nah javaroom.website is fine
 
@Unihedro javaroom.ninja
 
Double ping :P
 
@SecondRikudo $14.88/yr
 
@SecondRikudo seriously? .ninja
 
3:32 PM
It's kind of new though, not very mature to take
 
@SecondRikudo .ninja is cool for your or my own website, but for a room, I would vote for .website rather than .ninja
 
@Unihedro Just create a Google Site. It's cheaper. :P
And it's better for collaboration
 
@Michael Meh, good thinking, but I kind of don't like Google. ;)
 
@Mr.777 my bad; happens when the chat moves up while I try to click >_>
 
in Java and Android era , Nov 20 at 16:28, by Unihedron
Unihedron - Bashing Google, Windows and casual questions since 2013
Ohh, javaroom.coffee
 
3:34 PM
xD
There we go. xD
 
XD
 
xD
how about javaroom.java?
 
Since JS and Python have one, I might as well fund our everyday-purpose cloud and domain names :P
 
:P
too much of java in it
 
@ItachiUchiha No TLD of "java" exists.
 
3:35 PM
ahh
 
@Unihedro javaroom.club
@Unihedro Well, I think that is up to debate :P
 
well true
 
@SecondRikudo It's on special offer! One extra month!
 
lets vote :P
 
3:40 PM
Sure :)
So far these are the most "conventional", "cheapest" and "popular" TLDs I can think of, so.
 
@Unihedro I'm from the most cheapest redundancy department of redundancy.
 
O-o
I'm leaning towards javaroom.website because it's on sale & sounds better overall, please do voice which one we should use! Or I can buy them all. I don't know.
 
I vote for the cheapest because Uni shouldn't have to pay too much
 
True
+1
 
Sure, get the cheapest.
 
3:42 PM
though things may change, if we all decide to contribute :)
@SecondRikudo lolz, the first ping was IMBA :P
 
checks paypal
 
I agree with @Ita
I am in for contribution
 
I have enough to keep a ~$30/mo infrastructure for this room!
I also have a small cloud on atlantic.net right now.
 
Just because you have the money it doesn't mean you should "waste" them on this
As in you shouln't have to pay for something more expensive just because we think it sounds cooler
 
Afraid to say anything else
 
3:46 PM
@Gemtastic It's not really that much when it lasts a span of the entire year, so don't worry about it. ;)
 
@Unihedro More like your sempai in life teaching you how to not be a doormat :P
 
Cool, my ancient promo code still works
 
/me is working with fge :P
 
:D
 
@Mr.777 You should be named Mr. bragger ;P
 
3:50 PM
am glad that Mr.777 finally gets to write actual, productive code with a master jedi
 
/sincerely jealous b*tch
 
@Gemtastic What? :O Am I?
Yep really @Uni thanks
 
I wanna work with fge too, but I'm not good enough
 
@Mr.777 She just envies you, since she's still learning the ropes :)
 
@Gemtastic Neither am I.
 
3:51 PM
@Mr.777 good enough to be his padawan
 
padawan?
 
@Mr.777 you pinged me yesterday for some design related stuff, I went offline
 
@Mr.777 Jedi-in-training
 
> padawan
An apprentice or student Jedi; Any apprentice or student
http://en.wiktionary.org/wiki/padawan
 
yeah so until when you will stay online tonight? @Ita
Right now, master is checking my horrible work :P
 
3:52 PM
I don't have timings in my life
 
@ItachiUchiha That's unfair with your life
So should we create a separate room or this one is fine? to discuss @Ita
 
yeah I know
but I haven't been able to change since coll
 
Don't worry, no one's going to throw you out of here unless you go severely off-topic or offensive :)
 
haha
yeah true
 
:P
 
3:55 PM
unless you really want something off the topic to discuss @Mr.777
 
By severly I mean like discussing TOR or how to ddos reddit.
 
As long as you talk Java, I'm actually interested in what you're gonna say
 
@ItachiUchiha Do you have any idea of @fge's largetext work?
 
largetext?
 
guyzzzz question how do i ddos reddit with tor plzzz answer me now kthxbye
 
^ Brave???
 
thumb of approval
for @Second 's question
 
@Mr.777 Tangled
 
I can;t even remember the name of movie
 
3:59 PM
 
@Gemtastic Yeah, gone old coding java
 
@Mr.777 gone old?
 
When ever i start asking question, @Ita disappears :P
Yes @Gem
 

« first day (1513 days earlier)      last day (3420 days later) »