Live data from Hacker News

Ask HN: Do you use an old or 'unfashionable' programming language?

news.ycombinator.com

161–170 of 338 posts

Re: Ask HN: Do you use an old or 'unfashionable' programming language?

#161

Prolog. It fits my brain.

I really suspect Prolog would fit my brain, but I have trouble thinking of real-world scenarios where it would be useful to hack in. Other than the tutorials out there that focus on toy problems, what are some other examples of where Prolog is actually a good technology fit for side projects?

Software which includes dependency graphs are a natural fit

Re: Ask HN: Do you use an old or 'unfashionable' programming language?

#162
post #23

Earlier quoted context omitted.

Full blown ERP with postgresql. Its super fast, as it is a native windows application and thats what our customers like about it. Also with nice components like devexpress its looking realy good, has high usability and is easy to develop.

I'd love to see some screenshots of a modern Delphi application if that's possible?

The Delphi product page has examples of UI features available in the VCL and FMX: http://www.embarcadero.com/products/delphi

Re: Ask HN: Do you use an old or 'unfashionable' programming language?

#163
post #97

My dad uses and has used BASIC. He's not a teacher, nor a hobbyist. He writes bank software. In BASIC. For forty years. At the same company. UBS, Bank of China, and other names all run this massive million(s)-line BASIC codebase, that he almost singlehandedly wrote, on minicomputers[1] powered by OpenVMS. With it, according to my father, they process billion dollars worth of transactions and other facets of their bus…

That rewrite sounds like a great project to pair with junior developers on. It has all of the optimal features: 1) You pretty much have to TDD, but it isn't hard to because you can start by writing tests that the old software passes as your "spec". 2) It actually matters if it works. As a junior dev, one of the hardest parts about giving a shit was that the tasks I was given often didn't matter. The quality of my cod…

All excellent points; I don't disagree with anything except for the last one.

> Large company with resources and domain to take a long-term outlook on the problem.

My father works for company X that sold this system to banks; UBS and the other big ones didn't have a hand in the development other than testing and specifications.

Additionally, company X and their clients suffer from enterprise-levels of political dysfunction and mismanagement, e.g., "let's fire our internal QA team and replace them with underpaid contractors from . what could go wrong?", "the new system being developed by our new college hire employees in is 10 times slower than the old one? Well we'll just run it on 10 times more expensive hardware!"

I could go on and on about the general shortsightedness, perhaps in a blog post[1]. Suffice it is to say: probably not the best idea to get signed on at the moment :-)

[1] The perhaps is saving me from commitment.

Re: Ask HN: Do you use an old or 'unfashionable' programming language?

#164
I've used Yeti[1][2] to write an Android app for personal use (on Nook Touch) that I couldn't force myself to write in Java. It made the task much more fun for me and allowed me to finish after I got a serious case of "author's block" trying to code it in Java. Yeti is ML-like and runs on JVM 1.4+

[1] http://dot.planet.ee/yeti/intro.html

[2] http://mth.github.io/yeti/

Re: Ask HN: Do you use an old or 'unfashionable' programming language?

#165
post #99

I use Awk fairly regularly, in the form of actual scripts (not just expressions passed on the command line). Despite its age, it's still extremely powerful and usually very pleasant to read and write. Gawk adds socket support, so writing network scripts is usually painless. I've also been known to write Perl (5) and Tcl programs, but significantly less often nowadays.

Do you have some examples of network scripts written in Gawk? Particularly something that you'd prefer to write in Gawk rather than in a more "general-purpose" language. Would be interesting to see.

Check this out, I think you'll be impressed!

https://www.gnu.org/software/gawk/manual/gawkinet/gawkinet.h...

(If you want it to fully function you'll need bits of code starting here -- https://www.gnu.org/software/gawk/manual/gawkinet/gawkinet.h...)

Re: Ask HN: Do you use an old or 'unfashionable' programming language?

#166
post #113

Most of my programming has been done in pl/sql. It's still the best language for interacting with a relational db I've seen. I've just started using c# and when I pick up some more linq I think I might like it. I also program in javascript, java and c is just that plsql has been the best way to get stuff done for me working with enterprise db apps since the late 90s.

For the past year I have been working in PL/SQL it's like being on a different planet. The language is clunky and difficult to work with. The culture is weird (everyone uses TFS for version control, for example, if they use a VCS at all). The tooling is awful. No parser is available, meaning linters are only included in bulky GUI apps (TOAD is the worst, most unusable piece of software that I still use on a daily basis). I have resorted to Emacs and SQL*Plus but even Emacs has poor support for PL/SQL. No one wants to write open source tools for a proprietary language.

PL/SQL is definitely not sexy, but it's undoubtedly the best way to interact with an Oracle DB and the raw power is amazing. I have accomplished some incredible things with it, but I can't help but feel like everything I do is already out of date and needs to be replaced with something better. Any tips for making my experience a little more pleasant?

Re: Ask HN: Do you use an old or 'unfashionable' programming language?

#167
post #113

Most of my programming has been done in pl/sql. It's still the best language for interacting with a relational db I've seen. I've just started using c# and when I pick up some more linq I think I might like it. I also program in javascript, java and c is just that plsql has been the best way to get stuff done for me working with enterprise db apps since the late 90s.

c# is the most under-appreciated language today. It has a lot to love, including async/await, typed generics, good interop with C/C++, type inference, and a strong tendency toward functional style. I think of it a bit like the CLR's version of Scala.

Re: Ask HN: Do you use an old or 'unfashionable' programming language?

#170
post #32

I use MATLAB for 90% of my day to day work, for a combination of reasons - 1. Historically it is what has been used at my firm. We have a lot of code already written in MATLAB, interfaces to internal apis, external data providers etc. Everyone at the firm understands MATLAB code. 2. It really is very good for numerical work - both in terms of speed, and clarity of the code (much better than Python and R for clarity -…

I also dislike R. Strongly disagree with the argument that MATLAB is more clear than python, however. Have you tried numpy/scipy? Provides excellent performance and very powerful APIs. I've always found that a great deal of the MATLAB syntax does not gel with my expectations. "./" vs. "./" for instance, or using parenthesis to address array elements. I would much prefer a truely OO capable language, as well.

The real killer about Matlab is its one-based indexing. Makes arithmetic index operations look ugly (and unintuitive) as hell.
Post reply on HN