Hot answers tagged


Actually, the code is terrible, but I don't think its purpose is to illustrate a stack so much as to illustrate in a very rudimentary way how heap allocation works. (Worse than "terrible", it isn't "pythonic"). But you are wrong about the efficiency. Only the initialize function is O(n). Push an pop are O(1) as should be obvious. But no serious code ...


Visual Studio Code. Easy to set up and designed to be simple. I used to use PyCharm and PyScripter with good results. VSC is more versatile. Eclipse is a management pig for beginners. You have to learn Eclipse along with learning Python. Eclipse is great for pros.


I'm not a fan of full IDEs for beginners. A few years ago I switched my first year students (Java) from NetBeans to an online tool without any autocomplete or helpers for most assignments and found that they've gotten way stronger at writing code. I think the automatic stuff that helps out while programming becomes a crutch for newbies. Our intro teacher, ...


Java has a Streams API that works with all of its collections. You create a stream with a source, transform or filter it with intermediate operations, and do something with it using a Consumer. All Collections in Java have a .stream() method that creates a stream from the collection. You can also create streams from files, as well as creating streams of ...


My preference might be different from most, but some of the things you seem to be asking for are inconsistent. For me, an "IDE for beginners" is one that doesn't need to be abandoned for a different language. Once you spend the time to learn it, you can adapt it to anything. For me, also, that means a professional level IDE like Eclipse, which I now use for ...


I start my students on Blockly for coding, as I find it is really useful to develop some algorithmic thinking. There is a developer section where you can create code with blocks (like Scratch) and "see" the equivalent Python/Javascript/Lua/PHP/Dart. We use NotePad++ for html and css but will swap to next year (most like Sublime Text but free). When ...


I would really recommend Pyzo(formerly known as IEP) especially because of these three reasons: it's lightweight, so it works with any laptop if it is fast enough for the operating system it's simple and NOT too packed with features it includes an IPython console which uses the major advantage of interpreted languages that they are, Hello Captain Obvious, ...


If you’re interested in developing algorithms, I’ve found Jupyter Notebook to be a great way to develop Python (or R). It lets you develop in a “web page” and everything displays in a browser.


Why would you use an IDE anyway ? You can go directly with command line, either with Linux or Windows, you'll just need a text editor and a command line terminal and here you go. (I recommend Sublim Text)

Only top voted, non community-wiki answers of a minimum length are eligible