spreadLink

u/spreadLink


r/SuggestALaptop•
  • Total budget and country of purchase: Germany, I'd like to stay below 500€.

  • Do you prefer a 2 in 1 form factor, good battery life or best specifications for the money? Pick or include any that apply. 2-1 (as in surface like) would be great, but is not necessary. Otherwise, good battery life is fairly important as it will be used on-the-go.

  • How important is weight and thinness to you? Not the most important, but lighter is better.

  • Which OS do you require? Windows, Mac, Chrome OS, Linux. As long as i can put linux on it, I'll be happy :)

  • Do you have a preferred screen size? If indifferent, put N/A. Between 12 and 14 inches would be perfect.

  • **Are you

10


r/ponylang•

I've noticed that the % methods on builtins behaves quite unfortunate (imo) when applied to negative numbers

Now, i am aware that mathematically it is undefined how it should behave with negative numbers, however basically every language i have worked in agreed that -1 % 10 should evaluate to 9.
This has the benefit that, when e.G. calculating a random ISize in a range 0 to 100, one would get away with rand.isize() % 100 rather than the more awkward rand.usize().isize() % 100 or (rand.usize() % 10).isize()

Similarly, when moving on a taurus positions could be calculated simply by something like primitive Up fun apply(x, y): (ISize, ISize) => (x, (y - 1) % 10)
compared to the

31

r/terralang•

Please make this popular, Rust makes me sad and Go has no generics.

All i wanted for christmas was a lisp with manual memory management and this is the closest thing we got

10

r/Common_Lisp•

More specifically, what do you guys like and/or dislike about it?

Personally i think CL does a good job with namespacing and the like, but i think a ML-Modules-like system (specifically, sub-packages that are accessible via pack1:pack2:symbol) might have been better than hoisting everything into the toplevel.

Thoughts?

317

You've reached the end of this feed.