News for hackers. Stuff that matters.
Re:Show HN: A simple GUI Notepad using C++ natively made in ... by reassembled on Monday June 15, 2020 @03:08AM (#23524624)
36 year old me is very glad to have learned VGA graphics programming with Turbo Pascal and Turbo C++ during high school. I've met kids these days coming out of university CS degrees in the U.S.A. that still don't have a solid grasp on how pointers work.

I believe it is in every programmer's interest to have a deep understanding of the system for which they are working on, even if they don't need to use the low level tools from day to day. Teaching C++ in DOS can still provide an excellent CS foundation IMO.

Re:Show HN: A simple GUI Notepad using C++ natively made in ... by saurik on Monday June 15, 2020 @05:16AM (#23525397)
I would even argue it is much better than trying to do so on a more modern system, as you directly can just use graphics and color (which is both fun and helps teach a lot of programming concepts that are useful to know for building UIs later) without wasting a ton of time learning some UI toolkit that will be neither instructive nor actually-useful in the real world (as even if you choose a good one, it is almost certainly going to be obsolete by the time you go to get a job).
Re:Show HN: A simple GUI Notepad using C++ natively made in ... by Koshkin on Monday June 15, 2020 @07:57AM (#23526387)
Here is a nice quick tutorial on using the frame buffer in Linux: https://cmcenroe.me/2018/01/30/fbclock.html
Re:Show HN: A simple GUI Notepad using C++ natively made in ... by 29athrowaway on Monday June 15, 2020 @04:13AM (#23525040)
Raw pointers in C++ are an introductory concept at this point.

You also have l-value references, r-value references, smart pointers (unique, weak, shared, etc), and many of those have a use-case that overlaps with raw pointers.