2 ms·
This. Even if the solution you come up with in the end is almost literally copied from SO, you'll still have learned something and saw different ways of doing t
by stinos 5y ago
This. Even if the solution you come up with in the end is almost literally copied from SO, you'll still have learned something and saw different ways of doing things, which is often more valueable than just writing up a naive but working piec of code. Nothing wrong with that, but especially when still learning a language it's more interesting to figure out the typical way of doing things because you'll come across them again and again. Hence also helps reading other code which uses these constructs. And once you know them they're often faster to write and easier to read/grasp.