@qcoding@iosdev.space
@qcoding@iosdev.space avatar

qcoding

@qcoding@iosdev.space

Technical agile coach at Industrial Logic. Author of iOS Unit Testing by Example. Over 20 years of #TDD. Code with joy, drive down your cost of change. he/him

This profile is from a federated server and may be incomplete. Browse more on the original instance.

itsjoshbruce, to php
@itsjoshbruce@phpc.social avatar

Had a developer moment updating a project: "Man, this is no good; I should do something about it."

That's the judgy part. The part that wants to throw everything away and start over using my current knowledge, patterns, and understanding.

This is the distracting part.

The site still works. The code is well crafted for my knowledge, patterns, and understanding at the time. Time to start making notes of how to get "there" from "here."




qcoding,
@qcoding@iosdev.space avatar

@gdinwiddie @itsjoshbruce Mikado Method looks like Discovery Trees, but functions differently. It has a workflow:

  • attempt thing
  • discover prerequisite step
  • reset the code

Now repeat from the prerequisite.

The "reset and try again from the next node" is what makes the Mikado Method powerful. Discovery Trees don't prescribe that (but could use it).

qcoding, to random
@qcoding@iosdev.space avatar

Anyone work on Microsoft Teams? I'd really like you to copy Zoom's "optimize for playing video" because I can't play instructional videos for my teaching.

qcoding, to random
@qcoding@iosdev.space avatar

2 tools I didn't think I needed as a Mac user but now find sooo helpful:

  • window manager (keyboard shortcuts to do things like "Slap this window on the left half of my screen. Actually, a little bigger.")

  • clipboard manager (like "Copy this, and that. Now paste one, then the other.)

qcoding, to random
@qcoding@iosdev.space avatar

Many offer opinions on whether they like/dislike , or whether it’s effective/wasteful.

@stevekuo has conducted a lot of interviews. From his dataset, only 2% are proficient. And that’s a sample of devs applying for jobs where TDD is required!

Some takeaways:

  1. Be skeptical when people offer their opinions on what they call “TDD.”
  2. Stay open, always be learning.
  3. There is a lot of potential for your organization if you bring in an experienced TDD trainer and coach.
qcoding, to random
@qcoding@iosdev.space avatar

I miss Objective-C. So let me point out two Swift features I think are a big improvement:

  • Closure syntax. The ease-of-use means we use it more.
  • Enums with associated values. I didn’t understand what folks meant by algebraic data types until this.
qcoding, to SwiftUI
@qcoding@iosdev.space avatar

How can we bypass the normal SwiftUI app launch sequence during testing? We've done this for app delegates, so let's also do it for apps. https://qualitycoding.org/bypass-swiftui-app-launch-unit-testing/

qcoding, to random
@qcoding@iosdev.space avatar

I've never been on a "bridge call" that wasn't a colossal waste of my time. You know what's better than having a meeting about work? Actually working. Together.

qcoding, to random
@qcoding@iosdev.space avatar

Join me as I live-code setting up GitHub Actions for Continuous Delivery on an Xcode project — all to support fast, continuous feedback.
https://www.twitch.tv/qcoding
Starting 24 hours from now (9:30am Pacific, 17:30 UTC), and lasting roughly 1 hour.

qcoding, to random
@qcoding@iosdev.space avatar

Anyone have a way to disable shadows on Mac window screenshots by default? Command-Shift-4, space, Option-click works, but I want to avoid it.
defaults write com.apple.screencapture disable-shadow true does not seem to work.

qcoding,
@qcoding@iosdev.space avatar

@mlevison What do you use?

qcoding, to random
@qcoding@iosdev.space avatar

Since I wrote this, I learned that the most likely reason for the Return-To-Office push is declining real estate value, which means less loan leverage.
But no one is brave enough to say so. Instead, they talk about collaboration.
I'm all for increasing collaboration. And that has little to do with whether you work in-person or remotely.
https://www.industriallogic.com/blog/collaboration-beyond-back-to-office/

qcoding,
@qcoding@iosdev.space avatar

@ratkins And eating together! You can build a considerable amount of social glue and trust by collaborating in real time remotely, but eating together is a strong bonding activity.

qcoding, to random
@qcoding@iosdev.space avatar

A friend got hacked on FB and lost control of their account. They’ve been locked out by the hackers. What can they do to regain control?

qcoding, to random
@qcoding@iosdev.space avatar

XP

qcoding, to random
@qcoding@iosdev.space avatar

The absolute winner in our favorite Christmas music is and remains Handel's Messiah: A Soulful Celebration
https://open.spotify.com/playlist/1NEhVZrE5HToMBheplYYkr?si=6be760e2091f413b

qcoding,
@qcoding@iosdev.space avatar

@paigewatson FIGHT

qcoding, to random
@qcoding@iosdev.space avatar

I know folks enjoy Advent of Code for the coding puzzle challenges. And if that's you, go for it and have fun!

Meanwhile, there's a separate set of skills called software crafting. So I'm curious what this Advent of Craft will be like. https://github.com/advent-of-craft/advent-of-craft

qcoding, to random
@qcoding@iosdev.space avatar

Man. I went to look at my original Twitter account, when my posts were mostly personal and spiritual. I wanted to see my very first tweets.

But probably because it's been an inactive account, those fuckers deleted my early tweets. I can't go down memory lane!

qcoding, to swift
@qcoding@iosdev.space avatar

Measuring and visualizing file dependencies was quite easy with Obj-C, as long as folks didn't commit the sin of stuffing their own files into the precompiled headers. You only needed the import statements.

For Swift, they made the decision to eliminate imports except for module dependencies. This can help prevent dependency madness. It can also hide it.

Where are the tools for visualizing component dependencies and measuring fan-out/fan-in (efferent & afferent couplings)?

qcoding, to random
@qcoding@iosdev.space avatar

Using the FB Messenger app is quite difficult for my elderly mother-in-law. Some controls don't get bigger. Many actions rely on gestures, which are hard for shaky hands.

But I don't think there's a public API, is there? So that I could write her an app? I doubt it, otherwise I'd expect quite a few client apps.

qcoding, to swift
@qcoding@iosdev.space avatar

I have expertise in for UIKit code. What will it look like for modern and ? The start of a new series. "" https://qualitycoding.org/tdd-for-swiftui-lets-begin/

qcoding, to random
@qcoding@iosdev.space avatar

Did my GTD "weekly review."
And by weekly, I mean every 6 weeks or so 😛

qcoding,
@qcoding@iosdev.space avatar

@derickr Oh, so that's your physical inbox? 😅

marick, to random
@marick@mstdn.social avatar

I had gotten the impression that Swift was an awkward, kludgy, fiddly language like (bias alert!) C++ or Scala, rather than a language that has that undefinable coherence that languages like Ruby or Clojure or Elixir have. I’ve been pleasantly surprised so far.

Of course, I haven’t gotten to reference counting yet.

qcoding,
@qcoding@iosdev.space avatar

@itsjoshbruce @marick Swift folks decided to go the route of "Let's make it really hard to create bugs" which means the language is becoming more complicated.

qcoding, to random
@qcoding@iosdev.space avatar

Trunk-based development works well with small commits when you only have a few groups committing. As the number of groups climb, the "push wars" ensue.

Traditional CI used a commit token of some kind, like a plush toy. "I have the commit frog, it's my turn."

What do folks use these days? Where are the remote commit tokens, where you wait in line for your turn to commit?

qcoding,
@qcoding@iosdev.space avatar

@ratkins @GeePawHill It's not just toe-stepping, though. You can have group A working on file A, group B on file B.

I'm on C. I want to push. Oh, my code is out-of-date because A pushed. I get their changes, so everything is now integrated on my machine, and all tests pass. Ready to push.

Crap. B pushed before I had the chance.

This is where a queue for the token would be helpful.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • everett
  • mdbf
  • Durango
  • magazineikmin
  • InstantRegret
  • rosin
  • cubers
  • Youngstown
  • slotface
  • thenastyranch
  • tester
  • kavyap
  • DreamBathrooms
  • JUstTest
  • ethstaker
  • khanakhh
  • osvaldo12
  • ngwrru68w68
  • modclub
  • GTA5RPClips
  • normalnudes
  • tacticalgear
  • provamag3
  • cisconetworking
  • anitta
  • Leos
  • lostlight
  • All magazines