greptilian logo

IRC log for #friendlyjava, 2014-11-18

##friendlyjava on freenode

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
08:01 aditsu joined ##friendlyjava
08:48 mr_lou joined ##friendlyjava
14:11 pulsar_ ohboy.. please somebody shoot me.
14:11 pulsar_ parentRepository()._findById(getParentId())
14:11 pulsar_ i just had an argument with our developer why i thing that our code hygene / styleguide sucks
14:11 pulsar_ i think even.
14:12 pulsar_ at least there seems to be a consensus about upper/lower/camelcase.
14:29 mr_lou Judging from News and such.... I've gotten the impression that coders generally focus too much on "code hygene" compared to actually producing stuff that works.
14:47 pulsar_ mr_lou: depends. in this team we have 4-7 developers
14:47 pulsar_ so some common ground is necessary
14:48 pulsar_ for instance i will be looking for readable properties accessible via bean patterns, and if some dev decides this is obsolete and we do not need a bean pattern - as long it is widely communicated and accepted as a general styleguide i am perfectly fine with that
14:49 pulsar_ but this line i posted contains 3 different approaches of which two are fighting eachother.
14:50 pulsar_ considering this is a 1.5 years project with many developers involved some code hygene is required and abominations like that are to be avoided.
14:55 mr_lou 3 different approaches? I see 2... what's the last one?
14:57 pulsar_ _method()
14:57 pulsar_ property()
14:57 pulsar_ getProperty()
14:58 pulsar_ one could argue that _ is necessary do differentiate from property calls, but that was not the reason for this prefix behind the scenes
14:59 pulsar_ it was to work around some polymorphism issues i guess. not even to signal some "pseudo private" methods.
15:01 mr_lou Well, we do agree that any team has to agree on using the same code style.
15:01 mr_lou Doesn't matter that much what style though.
15:01 mr_lou Mixing styles is a no no.
15:01 pulsar_ exactly.
15:02 pulsar_ but this code line is actually from live code
15:02 pulsar_ and i had a dispute with the architect why i should stfu and write it like that.
15:03 mr_lou I found the solution many years ago:
15:03 mr_lou Don't work in a team. Work alone.
15:03 mr_lou I get stuff done much faster now.
15:04 pulsar_ yeah, i need to learn that ppl are taking this personal when they occupy a lead role
15:04 pulsar_ when i say "i think this code is crap" they understand "i think your work is crap"
15:04 pulsar_ had to clarify this today
15:04 pulsar_ i hope it helps.
15:06 mr_lou Everyone takes everythign personal.
15:06 pulsar_ nah, at some point you should grow out of this
15:06 mr_lou You can't visit a forum today, and discuss a certain topic, without a lot of people taking it personal that you have a different opinion than they do.
15:07 mr_lou Yea... you'd think so. When I'm using various forums, I'm thinking... "But... these people are same age as me.... why are they behaving like kids?".
15:07 mr_lou Never changes.
15:07 pulsar_ some but not all.
15:07 mr_lou There are some on all forums.
15:07 pulsar_ but i agree, these some tend to group in clusters on forums.
15:09 mr_lou But I'm thankful that I can work alone.
15:09 mr_lou I get to decide everything.
15:09 mr_lou And the result is several systems running and working great.
15:09 pulsar_ i usually work on projects too big for one dev
15:09 mr_lou Too many chefs.... just don't work.
15:09 mr_lou What kind of projects?
15:10 pulsar_ two main categories, enterprise "portal" apps, so intranet stuff with b2b / b2c stuff in the backend
15:10 pulsar_ and more exciting big data stuff
15:12 pulsar_ technology buzzwords currently on my table: angular js, spring, hadoop, hbase, nodejs, rest, puppet
15:12 pulsar_ among many others, but this should give you an idea ;)
15:14 mr_lou Since 2010 I've been developing the one system we use at work for storing customer data, customer orders, internal tasks, time registration on customer orders and internal tasks using different time-categories, keeping track of each employees time-account, ressources to use for orders, history entries for customers or orders, show statistics of all kinds.
15:14 mr_lou A typical project that would typically require a group of developers.
15:14 mr_lou But it would have taken much longer to develop then, is my claim.
15:14 pulsar_ always depends on the team.
15:15 pulsar_ i have a couple of guys i am used to work with since... 15 years
15:15 mr_lou Of course. You can get lucky, but it's a rare case in my experience.
15:15 pulsar_ so usually we have not much to discuss to death
15:15 mr_lou Yea, gotta stick with those you do work well with.
15:15 pulsar_ except some greenhorns doing architecture for the first time and being very defensive about their desicions ;)
15:17 mr_lou Not their fault. They've been taught to do it a certain way.
15:17 mr_lou And there's no wrong way. There's only "wrong to do it different ways".
15:18 pulsar_ yes, as i said. i need to learn that ppl can take critique like that personal and defend a stupid position just to prove their point / authority.
15:19 pulsar_ you can deescalate that quite easy if you are aware of that. i am not used to that anymore as most ppl i work with have a healthy self esteem in terms of code skills and take critique as a challenge to improve their skills and not an attack on their authority.
15:21 mr_lou It's not easy.
15:21 mr_lou We once has a newcomer join the web-section.
15:22 mr_lou She'd been taught by her teacher, that doing websites in Flash was a good idea.
15:22 mr_lou So I said: "Doing websites in Flash is not a good idea. We'll not be doing websites in Flash herE".
15:22 mr_lou And she said: "Yes it is!"
15:22 mr_lou She was so convincing that I noticed my boss doubting my words.
15:23 pulsar_ but she is an expert and can do anything ;)
15:23 mr_lou Right
15:23 mr_lou Work alone. Problem solved.
15:23 mr_lou :->
15:23 pulsar_ https://www.youtube.com/watch?v=BKorP55Aqvg
15:23 pulsar_ been there, done that btw.
15:23 pulsar_ one reason i do not work for huge companies anymore.
15:26 mr_lou lol
15:26 mr_lou Looks like a very familiar situation! :-)
15:26 mr_lou Yea, been to such meetings many times.
20:46 aditsu joined ##friendlyjava
23:15 ChanServ joined ##friendlyjava

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

##friendlyjava on freenode