This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-02-26
Channels
- # aleph (4)
- # announcements (3)
- # babashka (31)
- # beginners (74)
- # bitcoin (7)
- # calva (11)
- # cider (17)
- # clj-kondo (5)
- # clojars (11)
- # clojure (81)
- # clojure-australia (3)
- # clojure-dev (73)
- # clojure-europe (136)
- # clojure-nl (5)
- # clojure-spec (10)
- # clojure-uk (41)
- # clojurescript (30)
- # core-async (1)
- # cursive (19)
- # data-oriented-programming (4)
- # datascript (5)
- # datomic (6)
- # docker (6)
- # emacs (1)
- # figwheel-main (1)
- # fulcro (6)
- # jobs (1)
- # jobs-discuss (17)
- # lsp (23)
- # malli (6)
- # off-topic (35)
- # pathom (2)
- # re-frame (56)
- # reitit (2)
- # rewrite-clj (3)
- # shadow-cljs (10)
- # spacemacs (6)
- # sql (11)
- # vim (16)
- # xtdb (3)
måning!
Morning!
How do you tolerate w/code or not well implemented features by junior devs that management want to take it into production without a proper code review?
difficult one.... sometimes shipping it and fixing it later might be the right thing to do... but most of the time it isn't. I guess the best advice that I can give you is that management can at least make informed decision. So let them know.
Is it “technical debt” bad, or “won’t work properly” bad?
@chokheli is this software running in a nuclear plant? And... where is it located? 😁
I sometimes wonder if we as DEVs are too quick to judge sometimes. My current project is going on for 2,5 years now, and the mood in the DEV team is bad. Pressure is quite high, we deliver all the features, but not “properly”, there could be more tests, could be more docs, more quality overall. But … the users love the software, we are in time and budget, can react to quick changes… What exactly is so bad? Sure, I’m fixing performance bugs now for 4 weeks, but the software is usable and running
Indeed. The presure is coming from externals - the C-levels, the project managers, not from internal pressure.
It's the relentless drive to deliver new things, new features, new new new new - when all the customer wants is just working software.
@ramart not yet, most likely soon it’ll be deployed into broadcasting company in the US soil :D
Something that I recall from years ago, which I'm sure most people here can relate to, is that we didn't get into programming to increase the bottom line.
> "term used to describe https://en.wikipedia.org/wiki/software which over-emphasizes new features to the detriment of other design goals, such as simplicity, compactness, stability, or https://en.wikipedia.org/wiki/software_bug reduction."
speaking as someone trapped on both sides, it depends a bit on what is stopping sales from happening
I think devs can also help suggesting alternatives to "more features" like offering "decomplected" features instead, which do not always require you to build more
the problem with building a product is that your knowledge is always partial, so making decisions is difficult
I often find however that very often programmers know the business much much better than the customers (internally/externally) because we write the software that makes the business work!
I read this the other day
about a boss who has no HR or IT departments (he runs a uk start-up for energy).
I was very doubtful that there is no IT department - it may be outsourced for sure, but I'm very doubtful that a company in a regulated industry, has no IT support.
That’s why many companies were successful with moving the developer teams closer to the customers
Personally I don’t love PR reviews. To me it’s just a symptom of lack of quality gates and/or enough communication when the feature was build. But that is my opinionated 2 cents 🙂 (saying this as someone who use PR reviews because of the same reasons…)
I also don’t like PR Reviews, I also advocate for trunk-based development and against feature branches in all smaller teams
I like developing on master/main* (pick your perference). Branches, unless carefully curated, have a strong tendancy to be long lived.
Had many discussions about this. If they get stuck, I hit them over the head with Martin Fowler 😄 https://martinfowler.com/articles/branching-patterns.html
Once had a three day consulting-gig to create a new branching strategy for a shop switching from “Code on Network Drive” to Git. They were bummed when the strategy was “You are only 5 people, push to main” (of course, for releasing etc. there was a lot more defined, it was not only that)
Dropping PR Reviews does not necessarily mean dropping code reviews altogether!
some stuff gets quite complicated, I wouldn't trust today ml with that, especially some obscure domain rules
it's moving the problem to the specification part, which has to be good anyway, but by nature never is 100% complete
CodeScene is doing interesting work around some of these problems, but I don't think they're into automating code reviews
At work we do PRs if the dev in question feels like they want a PR review. Else it's just commit to the dev branch
we are relatively strict here: 2 approvals and approvers also have some ownership on the code reviewed. But there are exceptions (bump deps & trivial stuff)
Does anybody do pair programming? Might be an alternative to code reviews
@borkdude kinda, I mean you can wreak havoc if you are careless, it's true for any directly client facing/used service, especially when money/owned resources/privacy is involved
@ericdallo Wow, that’s strict
We have good QA before everything is deployed to prod, it has at least several people looking at it (from a user standpoint)
depends with who, I am not a fan but it can work if there's some synergy with the other set of hands/brain
Talked to a guy doing mob programming, “Pass the keyboard” on with 4-5 devs. Every commit (after test suites) at their project goes directly to Prod. Super uneasy feeling at first, but they say that their quality actually improved
we do something else, it's strictly something I personally do with another dev at work, we basically stay on the same meet all day and share issues/problems when they arise and sometime brainstorm on solutions on the spot, but no pairing involved.
makes you have an office feeling without the bad parts imho. again it's something quite personal to like or not I think
We have done pair programming at times this and I think that is why I don’t enjoy PR reviews. To me, doing pair programming puts the second pair of eyes in the moment were the most important decisions are made. Thinks like architecture etc. Things that is often too late to point out when work is done and packaged in a PR review and small bike shead items are changes when value could already have been in front of users. But I think there is no fixed solution. All depends on context or the situation 🤷
I've had really good mob programming experiences. Mixed pair programming experiences (some amazing, some awful, some meh)
I like branches as I commit and push my WIP to github as I go and then do an interactive rebase and force push before asking for a review. It isn't down to a single commit, but preferrably one that tells a good story of what I was trying to do
London Clojure Dojos (inspired by London Python Dojos) were either one big or multiple small mobs
re: bad temper in code reviews or pairing - that is really an independent thing that should probably be tackled
same w/bikeshedding. Just get right at what is going on there and see what the issue is
I enjoyed pair programming but couldn’t make it work in async context. I’m trying to take the best from that though - I encourage everyone to do small commits and PRs, and ask for feedback early and often. Again, the async context means that perhaps you won’t get feedback when you want it but much better than waiting for a PR
If I need pair programming, I just use partition
.
https://borkdude.github.io/re-find.web/?args=%5B1%202%203%204%5D%202&ret=%5B%5B1%202%5D%20%5B3%204%5D%5D&more=true
so my favourite BI tool (chartio) just got acquired and is shuttering... have any of y'all had good experiences with any others ? we use it for redshift queries serving embedded dashboards for lots of end-users
I've recently used metabase with postgres and it has worked quite well. Never used redshift but according to the metabase docs it is supported: https://www.metabase.com/docs/latest/faq/setup/which-databases-does-metabase-support.html
nice - will metabase do multi-database queries - e.g. join a redshift table to a google-sheets table ? not a dealbreaker, but chartio's ability to do this is really convenient