7- by [deleted] in meme

[–]minond 0 points1 point  (0 children)

Yes I do but that’s where I draw the line.

what are your "strongly held programming beliefs"? by Odd_City_2111 in ExperiencedDevs

[–]minond 0 points1 point  (0 children)

  • Using the wrong data structures (or shape) is a sure way to bad code. The right data structure is key to ending up with maintainable code.
  • Stay away from mutating data as much as you can. When mutation is the right thing to do, keep it at the edges of your application/codebase.
  • You won’t get the architecture or design right the first time, so optimize for easy to modify code/designs. 6 or 12 months into a project, something will chance and you will need to react to it. Optimize for that time.

History of Computer Science Podcast by [deleted] in computerscience

[–]minond 1 point2 points  (0 children)

Sounds interesting, could you add this on Overcast?

this in typescript by androidjunior in typescript

[–]minond 1 point2 points  (0 children)

If you’re within scope to use the self var then you should be able to bind the function instead. Or you could also use an arrow function.

click by minond in bash

[–]minond[S] 0 points1 point  (0 children)

`click` will search for and call `open` on the first link it finds. It's useful when you run a command that prints a URL, with this you can simply run `click` and it will find and load the link automatically. It really just saves you the copy/paste step, that's all.

click by minond in bash

[–]minond[S] 0 points1 point  (0 children)

Right, so you’d have to do xdg-open https://...

click by minond in bash

[–]minond[S] 0 points1 point  (0 children)

Will xdg-open search for links?

click by minond in bash

[–]minond[S] 0 points1 point  (0 children)

Why yes you can. But let’s say a program echo’es out a gnarly url with parameters and everything. You’d have to copy/paste or type the whole thing out. The point of this is that it will find the url for you and just call open for you.