> `setup.py` / `setup.cfg` / `requirements.txt`
Yeah... no. Considering there are tools like Poetry and `pyproject.toml` superseding setup.*, I wouldn't call the aforementioned "modern"
357 karma · joined January 27, 2014
https://github.com/yedpodtrzitko
---
meet.hn/city/vn-Da-Nang
Interests: Digital Nomad
---
> `setup.py` / `setup.cfg` / `requirements.txt`
Yeah... no. Considering there are tools like Poetry and `pyproject.toml` superseding setup.*, I wouldn't call the aforementioned "modern"
- how does it know you're not doing that on purpose?
recent addition into `typing_extensions` allows that:
from typing_extensions import Final immutable_str: Final[str] = "cant change me"
mypy will then notice you in case the variable has been changed somewhere.
> Also, I think type hints aren't a in the right direction, comparing it with type inference...
that's quite vague statement, but mypy supports type inference to some extent - if you'll initalize a list with some strings in it, it will infere the type as list of strings etc
That's what Air is (was) for. Converging both Pro and Air into a single machine seems like a solution no Pro user is really happy with.
...unlike doing the same thing with TouchBar (?)
All this feels like they deprecated the Pro series, and replaced it with... this. Honestly - what is the difference between Macbook and MBP now - the touchbar?