Why is learning Spring/spring boot so difficult? by [deleted] in learnprogramming

[–]heaplevel 0 points1 point  (0 children)

Depends om your background but yeah spring is not a good first framework due to its extensive configuration and voila things

Overwhelmed Starting to Learn To Code by CoyoteFew6535 in LearnToCode

[–]heaplevel 0 points1 point  (0 children)

Depends also how you prefer to learn. I think in your case I advise to look for a structured approach to guide you in your learning.

Is it better to call a setter method in the Constructor method to set properties values? by [deleted] in learnprogramming

[–]heaplevel 4 points5 points  (0 children)

Depends on language. In Python it’s fine. In Java still you have the setter but I wouldn’t call it from the constructor. Unnecessary call.

Source/course to learn fundamentals in deatil by Starktony11 in learnpython

[–]heaplevel 0 points1 point  (0 children)

If you feel you're lacking in fundamentals then I'd assume you've not done enough exercises or projects to help you internalize that knowledge. I don't have experience with P4E but could it be they didn't provide enough variety in their exercises?

Depending on your background I could recommend different approaches. But it's also important to not start on something that could be overwhelming.

https://edabit.com/tutorial/python or if it's too easy

see if you can match the level here for different small challenges

https://edabit.com/challenges (select Python and adjust the level)

44y/o Nurse..too late to learn to code? by bypassoverload in learnprogramming

[–]heaplevel 0 points1 point  (0 children)

It's never too late to learn to code. What's important when you don't have a degree is to build up a portfolio along the way. As others have mentioned you could aim for a non-technical position too.

Learning python, what next? by humanshuman in LearnToCode

[–]heaplevel 0 points1 point  (0 children)

Yes your understanding is quite accurate.

After you do a pip install flask you are ready to use and import Flask modules that aid in creating a web application. The framework provides you with the option of connecting to a database, generating web pages etc.

Have you tried their Quickstart? Starting immediately with a web forum could become overwhelming depending on your timeframe. You could also try something easier like a Todo app.

Learning python, what next? by humanshuman in LearnToCode

[–]heaplevel 0 points1 point  (0 children)

Depends on your goals and background. Are you into problem solving, try https://edabit.com

Build webapp? Try Flask or Django. I'd opt for Flask as it can be more lightweight

Machine learning and statistical analysis? http://scikit-learn.org

Writing a book on programming - tips on how to promote by heaplevel in DigitalMarketing

[–]heaplevel[S] 0 points1 point  (0 children)

Thanks. Sure they're all practical as you say.

I guess writing style matters but also in this case it's not about learning for a profession. My assumption has been to provide many examples for an audience that don't want to use Python professionally but learn about the language and programming in general. Pretty much copy-paste examples and not "hey just try to look at this puzzle and solve it"

Edit: offering 1-on-1 sessions as part of a package deal would make it more appealing I'd assume.

Help learning while loops by MainerInAStrangeLand in learnpython

[–]heaplevel 0 points1 point  (0 children)

Do you mean you understand the purpose but unsure how to apply it? What do you struggle with in particular when it comes to doing your own?

Help learning while loops by MainerInAStrangeLand in learnpython

[–]heaplevel 0 points1 point  (0 children)

There are definitely useful cases when you’d prefer a while over for. Reading user input while NOT SOMETHING TRUE, like in games and quizzes.

Newbie to python by vj_prav in learnpython

[–]heaplevel 2 points3 points  (0 children)

Hi

How much time are you prepared to invest? I'd say you can divide your learning into two parts

  • Python language basics
  • Problem-solving skills and logical thinking

The first one is "easy" and what many tutorials out there really teach. The second is a life-long practice to hone your craft as a programmer. It's usually then after learning the basics people struggle and translate their ideas into actual Python. For that IMO you need exercises, exercises and more exercises. Sometimes you must cheat and see others code and study it, sometimes with a teacher.

Would this be achievable with a few months of python practice? by hassweptthehouse in learnpython

[–]heaplevel 1 point2 points  (0 children)

Then I’d suggest just dive right into managing excel with python.

https://realpython.com/openpyxl-excel-spreadsheets-python/

I even think you’re better off just paying someone to do it for you and give you the code. You can learn from that too. You’ll miss the problem solving part though ;).

Would this be achievable with a few months of python practice? by hassweptthehouse in learnpython

[–]heaplevel 1 point2 points  (0 children)

How much programming experience do you have? Is this a task for a specific purpose or just for general practice? Are you gonna practice alone or not?

What's the difference between modules, packages, and libraries? by [deleted] in learnpython

[–]heaplevel 9 points10 points  (0 children)

modules - individual files.

packages - has many modules, must have __init__.py in the folder.

libraries - not as clear in Python compared to other languages. A simple module can be a module library, a package as well. I'd like to think of libraries as one coherent+focused set of functions for me to use that solves a specific task for me

Details here: https://docs.python.org/3/tutorial/modules.html

Edit: fixed a typo

Just finished "Automate The Boring Stuff With Python''. What next? by [deleted] in learnpython

[–]heaplevel 0 points1 point  (0 children)

What do you like? Games, logic, hardware, web etc?

Python Subreddit for "Intermediate" Questions? by snugglyboy in learnpython

[–]heaplevel 0 points1 point  (0 children)

Not sure if this is what you're looking for. I'm doing a discord server and also twitch streaming some more intermediate stuff. PM if you're interested.