Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
hackbunny
Jul 22, 2007

I haven't been on SA for years but the person who gave me my previous av as a joke felt guilty for doing so and decided to get me a non-shitty av
NextStep, OS X's pre-transition deadname

Adbot
ADBOT LOVES YOU

Wheany
Mar 17, 2006

Spinyahahahahahahahahahahahaha!

Doctor Rope

hackbunny posted:

I really have to learn to read documentation rather than hammer at the code until it behaves, but it bores me so much

epic this

Valeyard
Mar 30, 2012


Grimey Drawer
Hammer at it till it works, then clean and tidy it up, then come to code review and someone asks "why is this line here and what is it doing'

"Errr dunno, I saw it being used elsewhere in the code'

hackbunny
Jul 22, 2007

I haven't been on SA for years but the person who gave me my previous av as a joke felt guilty for doing so and decided to get me a non-shitty av
pretty much yeah. a lot of my code consists of transplanting existing code elsewhere, changing it as little as possible

Wheany
Mar 17, 2006

Spinyahahahahahahahahahahahaha!

Doctor Rope

hackbunny posted:

pretty much yeah. a lot of my code consists of transplanting existing code elsewhere, changing it as little as possible

you could replace 85% of what i do with a bot that copies the top answer from the first stackoverflow answer after googling the problem.

the other 15% is renaming variables so the code compiles.

Valeyard
Mar 30, 2012


Grimey Drawer
Judging jira estimates at sprint planng meetings based on "how much existing code can be cribbed for this"

Progressive JPEG
Feb 19, 2003

Wheany posted:

you could replace 85% of what i do with a bot that copies the top answer from the first stackoverflow answer after googling the problem.

the other 15% is renaming variables so the code compiles.

you check that code compiles before submitting it? lol

Bloody
Mar 3, 2013

Valeyard posted:

Judging jira estimates at sprint planng meetings based on "how much existing code can be cribbed for this"

lol if you plan your sprints rather than just starting them and changing the scope a dozen times over their duration

Progressive JPEG
Feb 19, 2003

lol if your sprint board from October isn't still the one in use today

oh no blimp issue
Feb 23, 2011

reusing code is good

oh no blimp issue
Feb 23, 2011

is Direct2D an alright 2D rendering library to use or is there something else better?

hackbunny
Jul 22, 2007

I haven't been on SA for years but the person who gave me my previous av as a joke felt guilty for doing so and decided to get me a non-shitty av

Wheany posted:

you could replace 85% of what i do with a bot that copies the top answer from the first stackoverflow answer after googling the problem.

gently caress you, you wrote half of this loving app, the worst half. I'm glad I punched you in your potato face even if for unrelated reasons

(sorry, venting)

but no, I don't copy code from SO, I use it as a documentation shortcut when the official documentation is too impenetrable or a function has a stupid name (I will never ever remember that ios/osx calls it -[NSString hasPrefix:] instead of beginsWith). I never copy code, I try to recreate it because I have Opinions on naming variables and code formatting. I was referring to legacy code, which is not to be touched until the day it breaks catastrophically, and then I'll have to spend days reconstructing flows and call stacks, and drawing circle and arrow state machines on a notebook... and usually find a way to fix the issue with a minimal intervention that doesn't touch the ~problematic architecture but works within it

oh no blimp issue
Feb 23, 2011

source your quotes

hackbunny
Jul 22, 2007

I haven't been on SA for years but the person who gave me my previous av as a joke felt guilty for doing so and decided to get me a non-shitty av
it's me, I'm the terrible programmer. I should work smarter but I'm an ox

Valeyard
Mar 30, 2012


Grimey Drawer

Bloody posted:

lol if you plan your sprints rather than just starting them and changing the scope a dozen times over their duration

even with planning this happens

stuff just gets shifted to the side, deffered and deffered, and its stacking up

Wheany
Mar 17, 2006

Spinyahahahahahahahahahahahaha!

Doctor Rope

Progressive JPEG posted:

you check that code compiles before submitting it? lol

holy poo poo, with productivity tips like these i'll soon be making deece five figgies

Valeyard
Mar 30, 2012


Grimey Drawer
i might seriously start looking at jobs in the state, once ive been here for a year or two

id like to "always be interviewing" but i dont want to waste their time and mine

Wheany
Mar 17, 2006

Spinyahahahahahahahahahahahaha!

Doctor Rope

Bloody posted:

lol if you plan your sprints rather than just starting them and changing the scope a dozen times over their duration

look, it's every "scrum" project i have ever worked in.

Wheany
Mar 17, 2006

Spinyahahahahahahahahahahahaha!

Doctor Rope

Wheany posted:

look, it's every "scrum" project i have ever worked in.

except now we're doing SAFe

you know what's the difference between scrum and safe in my experience?

at team level: nothing

at management level: nothing

JimboMaloi
Oct 10, 2007

SAFe is v bad. it tries to be agile for the enterprise but its super kitchen-sink in its approach (like the bit on the site where theyre all "its scrum and kanban and also xp") and it ends up coming across as an incomprehensible mess because really its a whole lot of weird artifice intended to make middle managers feel like they have a concrete system they can mindlessly apply to solve their org level problems.

i guess in that respect it does a good job of being enterprise level scrum

Wheany
Mar 17, 2006

Spinyahahahahahahahahahahahaha!

Doctor Rope
i attended some agile method course at the university when i was getting my master's and when they talked about getting extra people to remove bottlenecks in kanban, i thought that's adorable

Bloody
Mar 3, 2013

Valeyard posted:

even with planning this happens

stuff just gets shifted to the side, deffered and deffered, and its stacking up

its me, im the test code that will never be written!

oh no blimp issue
Feb 23, 2011

we have to prove that our stuff is tested otherwise customers won't take it

Valeyard
Mar 30, 2012


Grimey Drawer

Awia posted:

we have to prove that our stuff is tested otherwise customers won't take it

lol if you make software that is external facing

Wheany
Mar 17, 2006

Spinyahahahahahahahahahahahaha!

Doctor Rope
the only thing about scrum that is idiot proof and "just works" are the daily standups, in my experience.

Soricidus
Oct 21, 2010
freedom-hating statist shill

Bloody posted:

its me, im the test code that will never be written!

i wish it was your posting instead

gonadic io
Feb 16, 2011

>>=

Wheany posted:

the only thing about scrum that is idiot proof and "just works" are the daily standups, in my experience.

yes i love spending 30-40 mins listening to the entire tech team trying to make it look like they do lots of work while i struggle to remember what i did yesterday. what an agile tactic

Shaggar
Apr 26, 2006

Bloody posted:

lol if you plan your sprints rather than just starting them and changing the scope a dozen times over their duration

true agile development

Valeyard
Mar 30, 2012


Grimey Drawer

gonadic io posted:

yes i love spending 30-40 mins listening to the entire tech team trying to make it look like they do lots of work while i struggle to remember what i did yesterday. what an agile tactic

every one of our sprint retrospectives has an item on it, usually added by me, of "lets try to keep the standups shorter"

but it neer happens. Towards the end of our sprints they trend longer and longer

oh no blimp issue
Feb 23, 2011

all our standups in my last department were bants and nothing got done

Wheany
Mar 17, 2006

Spinyahahahahahahahahahahahaha!

Doctor Rope
sometimes they go on for too long, and people tell jokes and talk about irrelevant stuff, but the main point of "what i did yesterday, what i'm doing today, are there any problems" works in my experience.

but every other kind of meeting and planning is just mindblowingly boring and useless.

JimboMaloi
Oct 10, 2007

the most successful attempt at agile ive seen in the wild was in the ecommerce division of a clothing retailer. small teams, sub 10 minute standups actually at the start of the day, cultural norm of pair programming and tdd, release to production every other week, product owner-y person who actually signed off on stories as they were played, tech leads who didn't let things go to production without tests, something vaguely approaching continuous delivery pipelines. by no means perfect, but it was pretty nice

kitten emergency
Jan 13, 2008

get meow this wack-ass crystal prison
so how do I learn how to do tdd or w/e

how is test formed

is there something I can read on it because on one level I get it but on the other level I just don't get it at all

like, let's say I have a function that gets some data from a rest api. is my test just making a blob of json that conforms to the expected output then writing a test that takes that data and plops out the expected output?

lord funk
Feb 16, 2004

just spent 20 minutes working on a subclass and trying to figure out why it wasn't working

OH HO HO HO turns out it wasn't used anywhere at all in the app. just some rancid dead code hanging out in the project

Valeyard
Mar 30, 2012


Grimey Drawer

Awia posted:

all our standups in my last department were bants and nothing got done

ounds good to me

oh no blimp issue
Feb 23, 2011

uncurable mlady posted:

so how do I learn how to do tdd or w/e

how is test formed

is there something I can read on it because on one level I get it but on the other level I just don't get it at all

like, let's say I have a function that gets some data from a rest api. is my test just making a blob of json that conforms to the expected output then writing a test that takes that data and plops out the expected output?

yes
the upside of tdd is that to actually write the tests before you write any actual code is that everything has to be pretty concretely speced and designed
the downside is that no one ever does this

mocking frameworks are your friend, so in this case you'd mock the api and your functions would never know

oh no blimp issue
Feb 23, 2011

i love mocking
in both senses of the word

triple sulk
Sep 17, 2014



tdd is great in theory but your most useful tests are the ones written against edge case bugs you don't come up with until they show themselves

Jerry Bindle
May 16, 2003
to me, the main value of TDD is that it forces me to think about the API design from the client's perspective.

Adbot
ADBOT LOVES YOU

fritz
Jul 26, 2003

Soricidus posted:

I don't think I'd be very comfortable entrusting my data to an :nsa:rray

what about a 'national socialist' one

  • Locked thread