Reptorian

joined 2 years ago
[–] Reptorian@programming.dev 2 points 6 days ago

I just write in a language few people really knows well. Not like I expect AI to do a great job of basing off my code.

[–] Reptorian@programming.dev 2 points 1 week ago

I only used LLM-generated code once. I tested and made modifications to see if it was I want. It worked out.

[–] Reptorian@programming.dev 2 points 1 week ago* (last edited 1 week ago)

In G'MIC, there's repeat(num_of_iters,_var_name,code();); on JIT code, and repeat code_block done outside of JIT. It has while, for, dowhile on JIT too. Other than repeat, there is only do while, and for which is while outside of JIT.

Note: _var_name, can be omitted. So, if you need to just repeat a code N times, that can be removed.

[–] Reptorian@programming.dev 15 points 1 week ago

Eh, I rather write code by hand no matter how long it takes.

[–] Reptorian@programming.dev 3 points 1 week ago

I use KDE Kate for my coding. Scripting more accurately to some users, but I don't find a meaningful distinction.

[–] Reptorian@programming.dev 2 points 1 week ago

Yeah. repeat() is unique to a few language. I think just Scala, and G'MIC has it. I use the second one. It's more convenient than say for(p=0,p<5,++p,);. Sometimes, repeat(5,); suffice.

[–] Reptorian@programming.dev 2 points 2 weeks ago (2 children)

I actually use repeat(iterations,index_name(optionall),);. No need for i++ or ++i for loop in many cases.

[–] Reptorian@programming.dev 3 points 3 weeks ago (4 children)

I had this problem only once. Luckily, I do not need recursion. I know my way using iterative process.

[–] Reptorian@programming.dev 1 points 1 month ago

Ok, I kind of like this.