You are viewing a single thread.
View all comments View context
-1 points

When you’re operating on such a low level of abstraction, it’s no wonder you don’t need deep nesting.

permalink
report
parent
reply
1 point

Oh, I’ve done my fair share of C++ and Python as well. But you got to agree with me that when you are on your fourth indented “if case” it’s time to step back and think about what you are trying to achieve. I mean it’s probably going to work, but probably also very hard to maintain that type of code.

permalink
report
parent
reply
2 points

How would you implement, for example, Gaussian elimination with at most 3 levels of nesting?

permalink
report
parent
reply
2 points
*

Abstraction.

The solution for all levels of nesting.

permalink
report
parent
reply

Programming

!programming@programming.dev

Create post

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Community stats

  • 3.1K

    Monthly active users

  • 1.8K

    Posts

  • 30K

    Comments