http://coldfusion.com logo
#cfml-general
Title
# cfml-general
a

Adam Cameron

02/03/2022, 9:42 AM
@abram can I make a feature request for trycf.com pls?
a

adam.euans

02/03/2022, 9:43 AM
Nobody's gonna stop ya.
🤔 1
a

Adam Cameron

02/03/2022, 9:45 AM
This works fine: https://trycf.com/gist/21afd62ea386c486f3ae2cc8eade049e?setupCodeGistId=816ce84fd991c2682df612dbaf1cad11 This doesn't load the setup code: https://trycf.com/scratch-pad?setupCodeGistId=816ce84fd991c2682df612dbaf1cad11 I got that URL from going scratch pad > scratch pad editor, which seemed to be the clearest way to get to an empty / new editor My workflow here is that when I start a new scratch pad, I want my micro test harness already there and loaded. I might not necessarily ever want to save the code I'm scratching about with.
This is trivial and easy to work around, so I expect you to necessarily do anything about this unless you feel like it 🙂
Oh and more context... as the workflow here is TDD, the exercise will always start with no code, and a need to write tests. Plus I am wanting to encourage ppl asking for help here to be a bit more clear in what they re asking us, by providing a/some test(s) that demonstrate their requirements, and we can use to test our suggested solutions
1
We had a situation y/day where two of the three answers provided for a question were incorrect as the scope was articulated in a fairly woolly fashion. If we encouraged the questioner to ask in the form of a test, we'd all be on the same page. Also I went on to experiment with the "accepted" answer, trying to refactor it slightly. It'd be great to be able to do red / green / refactor out of the box in trycf.com in these cases.
👍 1
4 Views