Python Programming Leftovers
-
The best frontend JavaScript framework for Django
A question I've seen asked a lot is "what's the best frontend JavaScript framework to use with Django".
Django itself doesn't make any recommendation on which frontend framework to use, or even assumes you're using a frontend framework at all.
So, which frontend framework should you be using? And which one "plays well" with Django?
-
Ned Batchelder: You should include your tests in coverage
This seems to be a recurring debate: should you measure the coverage of your tests? In my opinion, definitely yes.
Just to clarify: I’m not talking about using coverage measurement with your test suite to see what parts of your product are covered. I’ll assume we’re all doing that. The question here is, do you measure how much of your tests themselves are executed? You should.
-
Is Java and Python similar?
I don't think python and Java have anything in common. I enjoy the simple clean utilitarian nature of python. As long as simple pep8 guidelines are followed it is very easy to read any strangers code. Most people write python in an OO sort of way. However one can get pretty far in writing with an FP lite methodology. Many people complain about indents. To me it is just different and something easy to get used to. Python has idioms that values being clean and concise. It is trivial to deploy. My main critique of python is that if one uses too much python it is easy to get dumbed down by all the magic. It is important to use other languages in addition to python just to keep ones skills sharp. Thinking about writing high performing Python usually means thinking about doing it in some other language.
[...]
Note: I recognize Java is the most popular language in the world. Many great successfull applications use Java. One can eventually use Java to solve almost any problem. That doesn't mean I like it or think it is good for the industry.
-
Real Python: Identify Invalid Python Syntax
Python is known for its simple syntax. However, when you’re learning Python for the first time or when you’ve come to Python with a solid background in another programming language, you may run into some things that Python doesn’t allow. If you’ve ever received a SyntaxError when trying to run your Python code, then this guide can help you. Throughout this course, you’ll see common examples of invalid syntax in Python and learn how to resolve the issue.
-
PSF GSoC students blogs: Weekly Check-In #6 (2nd Aug - 9th Aug)
-
PSF GSoC students blogs: Weekly Check-In #11
-
PSF GSoC students blogs: Week 10 Check-in
-
PSF GSoC students blogs: Week 10
-
PSF GSoC students blogs: GSoC: Week 11: InputEngine.add(paths)
- Login or register to post comments
- Printer-friendly version
- 2424 reads
- PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
digiKam 7.7.0 is releasedAfter three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release. |
Dilution and Misuse of the "Linux" Brand
|
Samsung, Red Hat to Work on Linux Drivers for Future TechThe metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world. Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility. |
today's howtos
|
Static analyzer for Python code and more
Facebook open-sources a static analyzer for Python code
Edit images with Jupyter and Python