35 points · by chkas · 3y ago · 32 comments
Deploying an app with strong security, user account control, caching, server side rendering, etc. involves dealing with way more issues than most coding courses cover.
I just wish online tutorials focused as much on building, say, user authentication, as they did on solving programming problems. The latter might be good for learning how to code, but the former is what you need to bring the stuff to life.
I agree, courses should focus on that, the problem is that to START coding you need to at least know: text editor, some http,some html, some css, bash (or similar) with common commands and env setup, git, probably some sql, maybe some js, some server side language/webserver.
This to do something meaningful, and I'm not even involving a framework.
Given that, it kinda makes sense focusing on just coding to start, then you can remove that from the list.
I could imagine that many new devs will think building desktop applications requires JS, HTML and CSS.
To make things more confusing, it’s possible to use Electron with Rust, React, and/or even Python. These can be combined too, all in all it could be quite confusing for some.
And you can write a frontend-only application with just html, css and js and nothing else, true.
Still, if you want to do anything more than writing something for yourself, you need all of that unfortunately.
A lot of this only comes from the application of skills. I have been programming for a very long time and the amount of information I know I don't know is huge let alone the information I don't know that I don't know.
But then again in my day job I probably do not need to know a lot more than I know, and within that context programming is easy.
https://tutorial.djangogirls.org/en/
My recommendation for new programmers who want to "get shit done" is to learn a kitchen-sink framework. Rails or Django are my usual recommendations, because these have tons of examples of user accounts, role-based access control, caching, deployment, etc.
Although it's so similar to Python I guess you might as well make this a library and teach people Python right away. Not sure the extra syntax really adds much.
Easylang:
a = 7
a = 9 * a
if a > 20
print "WOW!"
print "a is large."
end
print "a: " & a
Python: a = 7
a = 9 * a
if a > 20:
print("WOW!")
print("a is large.")
print("a: " + a)
I don't think it's worth making a new language just because you added/removed some punctuation. If this was a Python library the person learning it would have the same amount of effort, but they'd know a bit of Python in the end too instead of an esoteric language.But semantically it is much easier than Python for beginners. I have summarised this here: https://easylang.online/blog/easyl_pyth.html
The difference between a so-called 10x and a 1x programmer is 99% institutionnal knowledge and the ability to go get it (and to not take shit from your coworkers/manager). That's why "10x" engineers are often assholes: in some toxic environments that's the only way to get the needed information. And as other non-asshole leave, only this guy who knows everybody and how everything work can fix 80% of your issues.
For instance, in the 1%, you have accurate floating point calculations: you need mathematical proofs of accuracy, usually requiring maths skills above high-school.
Show HN: Easylang – A browser-based first programming language - https://news.ycombinator.com/item?id=33670353 - Nov 2022 (55 comments)
, which spent 12 hours on HN's front page just a few months ago. Please see https://news.ycombinator.com/showhn.html and please don't overdo this.
Other related posts:
Show HN: Particles – the URL contains the whole program code - https://news.ycombinator.com/item?id=31883209 - June 2022 (21 comments)
Easylang – An easy online programming language and development environment - https://news.ycombinator.com/item?id=29218101 - Nov 2021 (36 comments)
Monte Carlo Methods or Why It's a Bad Idea to Go to the Casino - https://news.ycombinator.com/item?id=29217539 - Nov 2021 (70 comments)
Show HN: An Easy Programming Language That Runs in the Browser via WebAssembly - https://news.ycombinator.com/item?id=28863847 - Oct 2021 (9 comments)
Blackjack Probabilities, Card Counting – Calculation and Simulation - https://news.ycombinator.com/item?id=28025561 - Aug 2021 (23 comments)
Show HN: Learn the Basics of Programming in 20 Minutes - https://news.ycombinator.com/item?id=27245000 - May 2021 (5 comments)
Show HN: A modern BASIC-like teaching and learning programming language - https://news.ycombinator.com/item?id=22841336 - April 2020 (48 comments)
Show HN: The program code is in the URL - https://news.ycombinator.com/item?id=22266563 - Feb 2020 (5 comments)
Show HN: A Basic-Like Programming Language That Runs in the Browser - https://news.ycombinator.com/item?id=21178687 - Oct 2019 (6 comments)
Show HN: A small programming course for everyone - https://news.ycombinator.com/item?id=20982002 - Sept 2019 (12 comments)
Show HN: A few simple games not only for kids - https://news.ycombinator.com/item?id=20745142 - Aug 2019 (28 comments)
Monte Carlo methods – Why it's a bad idea to go to the casino - https://news.ycombinator.com/item?id=20359100 - July 2019 (161 comments)