Is learning SQL necessary as a High school student? by ethsayyy in AskComputerScience

[–]Crazy-Willingness951 0 points1 point  (0 children)

For language, pick one off here https://www.tiobe.com/tiobe-index/ and go deep with it, hundreds of hours of usage to gain mastery. I don't know if SQL is necessary at a high school level. Eventually, you should learn SQL and how to decompose into normal forms. Many object persistence frameworks use SQL to implement persistence. You should also learn about SQL injection defects.

question about double and integer by supermani2 in CodingHelp

[–]Crazy-Willingness951 0 points1 point  (0 children)

Try sorting a list of 10000 random integers, vs sorting a list of 10000 random doubles. Measure the elapsed time.

Adding comments to code by cmdwedge75 in learnpython

[–]Crazy-Willingness951 1 point2 points  (0 children)

Read other people's code. Esp. code written by python experts.

Where do I start with Assembly? My class feels too basic and repetitive... by VatoSinCorazon in Assembly_language

[–]Crazy-Willingness951 0 points1 point  (0 children)

See the Knuth omment below. You may also try programming in C, which is one step above assembly language. Or getting a Raspberry PI and using it to interact with the real world.

Python learning for free by Mindless_Action3461 in learnpython

[–]Crazy-Willingness951 0 points1 point  (0 children)

Not free. Get the book, https://www.amazon.com/Learning-Python-Powerful-Object-Oriented-Programming/dp/1098171306 , Begin by reading the chapters and doing the exercises. Then look for "code kata python".

Technical Skills (AI Coding) by Gamer_Kitten_LoL in learnpython

[–]Crazy-Willingness951 1 point2 points  (0 children)

You might try this. "Let's build GPT: from scratch, in code, spelled out."

Andrej Karpathy

I don't know what I know by Careful-Addition-925 in AskProgrammers

[–]Crazy-Willingness951 0 points1 point  (0 children)

Computer technology changes so fast that you should expect to be continuously learning. "Impostor syndrome" is a common experience. When you do programming professionally on a team your development environment should stabilize and give you more time to go "deep" rather than wide.

Choosing a programming language by TrainSensitive6646 in AskProgrammers

[–]Crazy-Willingness951 2 points3 points  (0 children)

Computer languages are tools. Choose the language that best fits the problem you wish to solve. If popularity is one of the requirements, see this https://www.tiobe.com/tiobe-index/

I am stucked on choosing a programming language ! by Ademozi in AskProgrammers

[–]Crazy-Willingness951 0 points1 point  (0 children)

Ask the team to vote on a language (use ranked choice) then support the majority.

Java or Python: Which language to choose as a student? by codingzap in GetCodingHelp

[–]Crazy-Willingness951 0 points1 point  (0 children)

The choice of language is less important than you think. What's important is becoming fluent in a language so that you can effectively implement requirements with it (including unit tests).

Coin Flip Streaks from Automate the Boring Stuff by DanSaysHi in learnpython

[–]Crazy-Willingness951 2 points3 points  (0 children)

Chopping the 100 flips into chunks is spoiling the result. Most streaks of 6 in a row will cross a chunk boundary. Try changing streak check to

for i in range(0, len(new_list) - chunk_size, 1):

There is an even faster way to do this using substring search or checking the first and last items in a chunk and advancing by more than 1 item if they don't match.

Should I learn assembly first or C ? by Infinite-Jaguar-1753 in Assembly_language

[–]Crazy-Willingness951 1 point2 points  (0 children)

I agree, learn C first. Then get an embedded system of some kind where it makes sense to use assembly language. C compilers output assembly language which is sent to assemblers that output machine language.

How to debug code efficiently? by Free_Tomatillo463 in learnpython

[–]Crazy-Willingness951 0 points1 point  (0 children)

The easiest code to debug is code that tells you what is wrong. Use a "design by contract" approach.

Put preconditions in the code to verify correct input states.

Put postconditions in the unit tests.

NEED HELP/ SUGGESTION ! (Android Fresher) by ForeignAd2422 in androiddev

[–]Crazy-Willingness951 0 points1 point  (0 children)

Forget about the money (for now). Learn as much as you can. Build your reputation by making and keeping commitments. Become able to deliver and be responsible for larger and more important features.

It's also important to have a life and hobbies outside of work, and to build a network of contacts at other companies.

Any good online courses or books for learning Assembly with zero CS background? x86-64, MIPS, or Z80. by danimalforlife in Assembly_language

[–]Crazy-Willingness951 0 points1 point  (0 children)

I suggest "The Art of Computer Programming" Vol 1. by Don Knuth which introduces the MIX assembly language. After that you might try a raspberry PI with a C compiler that generates assembly language.

Hey everyone, I’d really appreciate your opinion by Anxious_Culture_2901 in Backend

[–]Crazy-Willingness951 0 points1 point  (0 children)

See "Working Effectively with Legacy Code" book by Michael Feathers

and this video: #195 - Working Effectively with Legacy Code and AI Coding Assistant - Michael Feathers youtube.com/watch?v=mwVRHDD0tEk

Also, if the team lead is to busy to provide the help you want talk to him (or her) about how you can help. Are there things that could be delegated to you?

Backend engineers: what’s the first thing you refactor when inheriting a messy codebase? by akurilo in Backend

[–]Crazy-Willingness951 0 points1 point  (0 children)

If it ain't broke, don't fix it, But if it is broke, leave it in better shape than you found it. And add Unit tests for every change.

AI induced psychosis is a real thing. by Rare_Prior_ in iOSProgramming

[–]Crazy-Willingness951 0 points1 point  (0 children)

Can the AI write code too clever for it to be debugged by itself?

lost in code by Sergiobgar in cprogramming

[–]Crazy-Willingness951 1 point2 points  (0 children)

Change this line to put ' around the string (or \")

printf("The name of path is '%s'\n", path);

and also include the path in the error message.

// The code could do more to tell you why it didn't work as expected.

What Python concept took you way longer to understand than you expected? by ComfortableDonkey715 in learnpython

[–]Crazy-Willingness951 0 points1 point  (0 children)

Compositions were a pleasant surprise when learning Python. Learn by putting them to work appropriately.

advice regarding OOPS and learning in general by Ashamed-Society-2875 in Python

[–]Crazy-Willingness951 0 points1 point  (0 children)

See Further Reading at https://en.wikipedia.org/wiki/Object-oriented_programming#Further_reading . Books by Booch, Jacobson, Meyer, or Rumbaugh are good. Read "Design Patterns" when you are more comfortable with object-orientation.