deleted by creator
deleted by creator
Seems more applicable to an imperative style, and IMO even still the advice is too dependent on special/actual case details to be generally applicable as a “rule of thumb”.
This is just one specific example amongst many of how redundant logic could be simplified because sometimes the branch is an implementation detail and you want to push it down, and sometimes it’s not and you want to push it up.
Just the commonly repeated mediocre rules-of-thumb-you-should-follow (but not always) stuff.
Yeah, the article’s takeaways are of little substance and perhaps even misguided
If you’re coming in from zero, a good place to start is https://www.hedycode.com/
Hedy is a language specifically designed for learning. The things it does to ease the learning curve:
Agree in the ideal, but in practice fiber is often still unavailable in suburban areas and even urban ones too, in the US.
I’m no expert, but it seems much more efficient to prioritize those areas over rural ones.
WET/DRY-ness is like a property of code – a metric or smell perhaps, but not something to goal towards. That’s like asking whether you drive fast or slow and whether we should all drive faster or slower.
For someone learning programming from zero, it was specifically invented to be:
Hedy is the easy way to get started with textual programming languages! Hedy is free to use, open source, and unlike any other textual programming language in three ways.
- Hedy is multi-lingual, you can use Hedy in your own language
- Hedy is gradual, so you can learn one concept and its syntax a time
- Hedy is built for the classroom, allowing teachers to fully customize their student’s experience
Adding to the points above:
At the end of the gradual progression, Hedy becomes vanilla Python.
An aspect of the 3rd point is having an online editor & execution environment, so you don’t need to deal with setup.
After completing the Hedy lessons, can follow up with other learning resources like freecodecamp.org or codeacademy.com.
This claim site’s privacy policy seems to reserve their right to use your submitted data for marketing and promotional purposes…
to improve our marketing and promotional efforts
We want to provide you information that is valuable to you. If at any time you wish to be taken off our mailing lists …
That example doesn’t sound particularly difficult. I’m not saying it’d be trivial, but it should be approximately as difficult as writing a compiler. Seems like the real problem is not a technical one.
Wonder what makes it so difficult. “Cobol to Java” doesn’t sound like an impossible task since transpilers exist. Maybe they can’t get similar performance characteristics in the auto-transpiled code?
Technically, anything can be “hacked”, but that’s the same kind of technically as “any car can be broken into”.
Just like there are ways to mitigate getting your car broken into, there are ways to mitigate getting your system compromised.