The past year and a half has seen AI fervor continue to mount, and for good reason: there exists myriad excellent use-cases for AI within business applications. Because there's so much money -- and so much in the way of vested interest, as a result -- within the AI field, the hype factor has created a problem for those looking to take advantage of LLMs: the signal-to-noise ratio is quite bad. With that being said, I wanted to write a bit about where AI, as it currently stands, really shines -...| www.jamessimone.net
Setting delays programmatically within Apex represents a unique challenge. We don't have access to the current thread instructions that are being carried out, nor do we have any kind of higher-level `delay` function. While this is frequently fine for internal usage, where the last thing you would want is for your compiled code to be slow, that's not always the case when interacting with external APIs. It's common for APIs to be 'rate-limited' - go over the number of requests you're supposed t...| www.jamessimone.net
The abstract enum class in Apex can be very helpful as a class-like object, but there are a few things you should keep in mind to avoid getting bitten by the use of enums.| www.jamessimone.net
We often hear the word idiomatic applied to programming languages to express the language-specific way of accomplishing routinely encountered problems. In this post, we dive into how to write idiomatic Salesforce Apex to make the most of each line of code.| www.jamessimone.net