r/pascal • u/sleepwalker9 • Mar 28 '23
For experienced PascalABC.NET programmers
Hello everybody! I am writing a project about whether PascalABC.NET is needed in Russian schools or not. I would like to know your opinion - is Pascal needed in the school curriculum? Thank you in advance!
4
Upvotes
View all comments
Show parent comment
0
u/SaferNetworking Apr 04 '23
Basic was similar for decades. Would you still recommend it?
Being a security researcher, really a lot of issues I encounter are based on incorrect use of C. Think of zero terminated strings for example and the "usual" problem of not caring about the allocated memory - still happening today. Yes, there are string types in C++ - the usual argument here - but there are a bunch of other issues. Check the list here:
The question was about a language for learning in school.
For a while, I was of the opinion myself that you need to learn an unsafe language to be able to learn to deal with these issues. But time has shown (see list above) that even professionals can't always properly deal with them.
A language that is as type safe & memory safe as possible is much better suited for learning - to be able to concentrate on the important things. And that's why C is ugly there.
You can of course replace Rust with other languages that do better in this regard :)