[-] Reptorian@programming.dev 5 points 1 month ago

I'll admit I did used AI for code before, but here's the thing. I already coded for years, and I usually try everything before last resort things. And I find that approach works well. I rarely needed to go to the AI route. I used it like for .11% of my coding work, and I verified it through stress testing.

[-] Reptorian@programming.dev 15 points 2 months ago

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

[-] Reptorian@programming.dev 9 points 4 months ago

Sometimes, I just rewrite my code until it is good enough. Other times, I leave it to my memory, so I can figure it out later. And others, I'm just not happy about it, like the times I did bigbin2dec and it would only work well with something like thread-ripper.

[-] Reptorian@programming.dev 6 points 4 months ago

As always, I do image processing. I'm a G'MIC filter developer. Recently, did some code changes to my combinatorics tools to be insensitive to multi-threaded strategy.

[-] Reptorian@programming.dev 14 points 4 months ago

What if you use tabs for indentations and space for alignment?

[-] Reptorian@programming.dev 7 points 7 months ago

Interesting, but I never needed AI for coding. Well, twice, and I had to do changes, but would not use AI to generate code.

[-] Reptorian@programming.dev 6 points 2 years ago

You mean a interpretative language with similar role to Python, but more like Rust/C++ style? I actually want that so that I can ditch Python even if I learned it and use this instead.

[-] Reptorian@programming.dev 6 points 2 years ago* (last edited 2 years ago)

For raster graphics image processing, I'd highly recommend G'MIC. Otherwise, Python and especially for string using regex library. I wish there was a vector graphics version of G'MIC.

[-] Reptorian@programming.dev 7 points 2 years ago* (last edited 2 years ago)

Every languages has their own pitfalls. The answer on picking a language is to pick whatever works for you. There may be even domain-specific languages if you're interested in a domain, and it can be way more flexible than general-purpose solutions for that domain too.

I use 4 languages.

  1. C++ for adding features to a program.
  2. C# for making .dll for an application (Paint.NET). Kinda similar purpose to what I do with G'MIC, except so much more limited.
  3. Python for processing strings
  4. G'MIC for creating/editing raster graphics images (volumetric too)

Now, I wish there was a vector equivalent to G'MIC, but there isn't.

[-] Reptorian@programming.dev 6 points 2 years ago

From some one who used Python as it was the easiest solution to few of my problems, and having to experience languages with brackets and/or endif/fi/done as ways to limit scope, I find that having things like brackets and/or scope terminators easier to parse and less error-prone. I'm thinking about moving on to Ruby whenever I had a need where Python would be a good choice, but the time it takes for me to understand a new language is blocking me from that.

[-] Reptorian@programming.dev 7 points 2 years ago* (last edited 2 years ago)

My crazy take is that there needs to be a interpretative language alternative to Python which uses brackets to define scope and/or things like elif/else/fi/endif/done. Much easier that way in my opinion, and the ";" shouldn't be necessary. I'm used to Python, but if I had another language which can be used to serve similar purpose to Python with those features, I would never code in Python again when it comes up.

Having to code in Julia and G'MIC (Domain-Specific Interpretative language that is arguably the most flexible for raster graphics content creation and editing), they're the closest to there, but they're more suitable for their respective domain than generic ones.

1

Basically just the title said. The situation is basically I use a Domain-Specific Language called G'MIC, and to this day, I haven't found a satisfactory answer to the issue of lack of syntax highlighting. At the moment, I am using KDE Kate as it's pretty good at structuring the code with their find/replace feature, tab indicators, and multi-window support.

[-] Reptorian@programming.dev 7 points 2 years ago* (last edited 2 years ago)

In my opinion, it depends on your goals and scope. If memory manipulation (Probably not the correct words), and/or every bit of performance matters, or it has a large scope, then one would pick Rust/C-lang. If development time and scope is small, something like Python is better.

Source: I used C++, C#, Python, and I use G'MIC (language very much geared for raster graphics processing).

view more: next ›

Reptorian

joined 2 years ago