87 karma · joined Feb 20, 2018 (8y ago) · 47 submissions
comment 6y ago · link · parent
Unfortunately, because of the way Java handles checked exceptions, I can't feed the supplier with a lambda or any other method reference that I'm aware of that throws a checked exception and let it be passed up to the original caller directly. So I need to catch my checked exceptions and wrap them in an unchecked exception to catch. Not pretty.
There's probably something I'm missing but the language certainly doesn't go out of its way to help with this sort of thing.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
[0] https://en.wikipedia.org/wiki/The_Hitchhiker%27s_Guide_to_th...
comment 7y ago · link · parent
Does the UI viewer work with dynamic content such as that loaded from a back-end (or say, from a sample .json file in the event that we want to skip the API call)? I've done a lot of work in WPF/MVVM applications where everything ends up becoming a ResourceDictionary and breaks the Visual Studio UI viewer, so I'm curious how you handle it.
Also, do you have any plans to incorporate a compatibility view? It would be really cool if I could select an item from a combo box and see what my UI would look like in (say) IE or Opera
comment 7y ago · link · parent
My response to a self-diagnosed or clinically diagnosed person that was having a behavior problem would be the same, so why question? Why not just be kind and understanding?
comment 7y ago · link · parent
I can only imagine that this would be even more important for individuals with more severe vision impairments.
comment 7y ago · link · parent
I like Sourcetree for this particularly because its buttons map fairly well to the actual CLI commands that it will be executing, and makes it painless to open a CLI terminal for instances where I want more fine-tuned control.
comment 7y ago · link · parent
- In the main projects I'd be working on, how many new files are necessary to consume data from an outside source (say JMS) and log the result.
- What is the frequency of your releases
- How long does it take for a minor feature request to make it from initial conception to delivery to the user
These aren't actually specific to a startup largely because I haven't been burnt by a failed startup. YMMV
comment 7y ago · link · parent
One of the parts of Lombok that really works well for me is that its notations are completely optional and fit many different levels of granularity as you see fit. Don't want sneaky exceptions? Don't use them!
I mostly end up using it to make my Java code feel like C# though...
comment 7y ago · link · parent
All anecdata, but I expect those of us who read these sorts of lists will likely understand them quickly without needing examples. There's a large number of developers that are not reading software blogs and lists and are not applying much thought to their programs beyond "how do I meet the minimum requirements put forth in this user story". As long as those sorts of developer continue to be prevalent it's partly on the business to specify these requirements explicitly.
Tragically I don't see this changing any time soon.
comment 7y ago · link · parent
Last year I tried to solve at least the first few days in a bunch of different languages, doing Red/Green TDD so I could learn how to set up a basic project and do tests in languages I was less familiar with. Still trying to decide if I should take that approach again this year or focus on getting every day done in a single new language.
comment 8y ago · link · parent
comment 8y ago · link · parent
For helping the interns, I'd talk to them about what they learned, what their next career steps are, and what subjects they're most interested in. Ideally, you have a mentorship program setup already where this has already been discussed, so this may end up being very brief. But even without a mentorship program, having good discussion about how you can help the interns aside from just having an extra line of experience on the resume is healthy for both sides.
For improving the program for future interns, I'd also ask them what they wished they knew when they first started their internship. For all of the above, make sure that it's a safe environment to have honest discussion - for instance state outright that they're not going to burn bridges by pointing out process flaws or talking about working at other companies in the future.
comment 8y ago · link · parent
I usually recommend:
* Code Complete (Steve McConnell)
* The Pragmatic Programmer (Andrew Hunt and Dave Thomas)
* Clean Code and The Clean Coder (Robert Martin)
* The Mythical Man-Month (Fred Brooks)
* Test-Driven Development By Example (Kent Beck)
I also recommend blogs for more bite-sized knowledge. Jeff Atwood's blog at https://blog.codinghorror.com and Joel Spolsky's at https://www.joelonsoftware.com in particular have been helpful to me.
comment 8y ago · link · parent
Now that I'm becoming more comfortable with the new hobby, I've started listening to audiobooks or streaming music while I knit - it seems to strike a nice balance.
Certainly the phone has enriched my life - it enables me to stream music and listen to audiobooks easily, but in my experience it's a dangerous tool as well, since it enables you to check social media more than is healthy. Everything in moderation I suppose.
comment 8y ago · link · parent
Alice Goldfuss' recent talk on containers[1] is a really good example of what I'm talking about - she spends a good amount of time talking about what containers are, and why and when it would appropriate to use them, but she spends an equal or greater amount of time preparing the audience for what challenges they will encounter when implementing containers and talks about when you're probably better off without.
comment 8y ago · link · parent
So for a little passthrough/orchestration class, it probably doesn't make sense to do much testing. For something that actually performs business logic, that's a prime candidate for testing. I've seen plenty of tests that just seem to aim to increase coverage, heck, I've written plenty of those myself - but at the end of the day, the benefit they serve after being written is probably minimal.