NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Show HN: SymDerive – A functional, stateless symbolic math library
viraptor 1 hours ago [-]
> The "Pipe" approach (Cleaner for agents

How did you verify the benefit?

OutOfHere 3 hours ago [-]
Please never use `from something import *`, not even for a demo. It is not explicit, not maintainable, and goes against all Python guidelines. Certainly never expect any user to use it either.
cl3misch 3 hours ago [-]
FWIW the afaik most common symbolic math Python library sympy does that on the first page of their tutorial. I think in this space it's pretty common.

https://docs.sympy.org/latest/tutorials/intro-tutorial/intro...

I have to admit that I still like to use the ancient

    from pylab import *
in scripts that only I will ever see. It makes it so much easier to use numpy in a "tool of thought" way. I would never do this in a library, though.
OutOfHere 2 hours ago [-]
Two wrongs don't make a right. It risks significant ambiguity in longer snippets or files, and is therefore bad practice.
marcelbundle 2 hours ago [-]
You would be suprised on how many large scale project I saw this beauty lamao, not saying that this is okay, people just dgaf
Confirm2754 3 days ago [-]
[dead]
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 22:34:24 GMT+0000 (Coordinated Universal Time) with Vercel.