Numpy is good for that. But, I gravitate toward naturally faster langs where I don’t need to import a library for speed. I use Python for simple, dumb scripts.
Numpy is good for that. But, I gravitate toward naturally faster langs where I don’t need to import a library for speed. I use Python for simple, dumb scripts.
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.
I use it for scripting too. I don’t need Python as much as before nowaday.
Uh, that would be infuriating to see. (Yes, I can see tabs in KDE Kate)
What if you use tabs for indentations and space for alignment?
What if you prefer a DSL? I use G’MIC for image processing tasks.
I use states, but no classes. G’MIC is my main language. I do appreciate the functional way of thinking after writing in it for so long. States are just variables that defines the mode of something, right?
I dislike Python as well, but it has it place. I only use it for quick code tests before doing it in other languages.
I use Levels filter tool for that in Krita. Already non-destructive.
I’m just glad I have other options than just Python. Am not afraid of writing my solutions either. I rarely use Python these day.
I kind of like it. I can understand where it start and end.
This is what I prefer too! I also some times prefer to use bitshift when it comes to division or multiplication of power of 2.
Also, highlighted the way you expect when you click next to braces works too.
I know there’s a lot of downvotes because there are people reading this as hate toward Python. On one hand, one can make the case that it is overused and this doesn’t bold well for those that simply can never like it’s syntax. On the other hand, Python is perfect for small scripts that isn’t tailored for a Domain or just quick codes.
I’m using G’MIC for raster-graphic image-processing, but I can do other things in it too with ease. I feel this post so much.
Not what I’m saying. Just saying if I need speed, I’d use a naturally faster language.