Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
augustk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
181.
▲
by
augustk
6y ago
This reminds me of a passage in The BlackBox Framework about Niklaus Wirth's approach to language design: "Wirth’s philosophy of programming languages is that a complex language is not required to solve a complex problem. On the c
182.
▲
by
augustk
6y ago
International Fixed Calendar is an alternative. https://en.wikipedia.org/wiki/International_Fixed_Calendar
183.
▲
by
augustk
6y ago
Also, the difference between C89 and C99 is not that big.
184.
▲
by
augustk
6y ago
https://en.wikipedia.org/wiki/C99#Implementations Only 7 of the 24 compilers in the list fully implements C99 whereas I would guess all those compilers implement C89. If you want to write long-lived programs, C89 is a
185.
▲
by
augustk
6y ago
Of course, removing the wrong heart would be even worse.
186.
▲
by
augustk
6y ago
Why do you think protective equipment is required in some professions? Is it because workers don't know their job? Anyway, explicit static typing 1. detects errors at compile time 2. provides documentation 3. makes programs run faster.
187.
▲
Expert Opinion: Bruno Putzeys
(soundcloud.com)
1 points
by
augustk
6y ago
|
0 comments
188.
▲
by
augustk
6y ago
"Romantic Warrior" with Return to Forever is one of my favorite jazz fusion albums. The title track was the first piece I thought of when I heard about the sad news: https://www.youtube.com/watch?v=Ta6dED32tL8 The
189.
▲
by
augustk
6y ago
Niklaus Wirth designed and implemented the languages Pascal, Modula-2 and Oberon of which the last one is the smallest. https://miasap.se/obnc/oberon-report.html
190.
▲
by
augustk
6y ago
> In my experience everyone uses MS Office or Google Docs, and LibreOffice still remains relegated to private individuals that don't happen to already have an Office license ... or Linux users. Of which quite a few in the latter gro
191.
▲
by
augustk
6y ago
As the famous quote by Antoine de Saint-Exupéry goes: “Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.”
192.
▲
by
augustk
6y ago
Yes, what I have in mind are the languages designed by Niklaus Wirth. What's fascinating about Oberon is how small and clean it is compared to equally capable languages.
193.
▲
by
augustk
6y ago
To name a few, Oberon has extensible types which enables object oriented programming (and makes discriminated unions superfluous). It supports modular programming. It also has so called open arrays which allows passing arrays of any length
194.
▲
by
augustk
6y ago
Indeed, for a long time there was no freestanding compiler (Oberon is also an operating system) which you could use to create programs on any computer. The OBNC compiler, which transpiles to C, solves this problem: https://miasap
195.
▲
by
augustk
6y ago
> It seems like the "modern" way to write Pascal would be with FreePascal The latest language from Niklaus Wirth is Oberon which was last updated in 2016. It is both smaller and more capable than Pascal. https://www.
196.
▲
by
augustk
6y ago
"Although it's a fundamental feature of object-oriented programming, remarkably few OO languages really follow it. (Eiffel is naturally an exception.) Most languages simulate it by convention, hence the habit of using accessors su
197.
▲
by
augustk
6y ago
I don't like the idea of having a verb in the name of a pure function. I think it reads better to simply name the function after the result it returns.
198.
▲
by
augustk
6y ago
In the programming language Eiffel this is called the uniform access principle.
199.
▲
by
augustk
6y ago
If I have to work with legacy code I actually prefer code written in a non-object oriented language. Badly written OOP code is often worse.
200.
▲
by
augustk
6y ago
I see it as common courtesy to mention everyone in a picture of a small group of people. The woman is not mentioned.
201.
▲
by
augustk
6y ago
As Richard Stallman puts it "either the user controls the program or the program controls the user." https://www.youtube.com/watch?v=Ag1AKIl_2GM
202.
▲
by
augustk
6y ago
As a Debian user I have zero issues with Adobe since I don't use or need any of their products.
203.
▲
by
augustk
6y ago
> When you finally learn to master and config Emacs, you run circles around all other editors. I quit Emacs when I realized that I spent too much time on configuration rather than solving first hand problems; it can almost become an obse
204.
▲
by
augustk
6y ago
Exactly, social class is bred in childhood. It's really the children or grandchildren of a given person who can enter a different class. http://willskinner.com/class.html
205.
▲
by
augustk
6y ago
Sometimes the name of the implementation language even creeps into the project name, like with the MIDI sequencer Jazz++.
206.
▲
by
augustk
6y ago
John Ousterhout's "A Philosophy of Software Design" is an interesting alternative to Clean Code.
207.
▲
by
augustk
6y ago
Another thing I find really annoying is when I browse a website and first have to choose a product line when I don't even know what the difference between the product lines are.
208.
▲
by
augustk
6y ago
For portability reasons I prefer to write POSIX shell scripts instead of Bash scripts: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V...
209.
▲
by
augustk
6y ago
Could it be due to a focus on progress over perfection, and that hitting the enter key feels like progress?
210.
▲
by
augustk
6y ago
Most programming languages don't have an "address of" operator. That's because it's a potentially unsafe operation. I think your usage of Pascal sounds more like trying to operate a motorcycle like a bicycle.
More ›