Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #22509
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.szaf.org!news.gnuher.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail |
|---|---|
| From | Bernd Paysan <bernd.paysan@gmx.de> |
| Newsgroups | comp.lang.forth |
| Subject | Re: ok since forth is general purpose, you can get work doen right? |
| Date | Sat, 11 May 2013 20:17:34 +0200 |
| Organization | 1&1 Internet AG |
| Lines | 37 |
| Message-ID | <kmm1vv$65e$1@online.de> (permalink) |
| References | <81422cb9-3294-47bd-9e72-0fd2dd5d357e@googlegroups.com> <kmclrv$ljm$1@dont-email.me> <kmeq9t$1kk$1@dont-email.me> |
| NNTP-Posting-Host | p4fc55583.dip0.t-ipconnect.de |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="ISO-8859-1" |
| Content-Transfer-Encoding | 7Bit |
| X-Trace | online.de 1368296255 6318 79.197.85.131 (11 May 2013 18:17:35 GMT) |
| X-Complaints-To | abuse@einsundeins.com |
| NNTP-Posting-Date | Sat, 11 May 2013 18:17:35 +0000 (UTC) |
| User-Agent | KNode/4.10.2 |
| Xref | csiph.com comp.lang.forth:22509 |
Show key headers only | View raw
WJ wrote: > WJ wrote: > >> the_gavino_himself wrote: >> >> > I can't seem to get much done in forth so far... >> >> Like assembly language, Forth is a low-level language. >> >> Programming in Forth is a waste of time. > > Let's say that you want to calculate how many days away > your birthday is. Solving that problem would be torture > for Forth programmers. All they can easily do is simple > arithmetic and possibly bubble-sorts. Fortunately, date calculation *is* simple arithmetics - well, of course not for you personally... Since you like to use libraries, and not do any work yourself, put the code here: http://www.forth-ev.de/wiki/doku.php/examples:daymonthyear into a file date.fs and then to calculate how many days I'm old, calculate: require date.fs 2013 5 11 ymd2day 1970 3 3 ymd2day - . 15775 ok The program above is accurate until about 30 BC. I wrote this when I head of another case of mainstream programmers not being able to write a correct date routine. -- Bernd Paysan "If you want it done right, you have to do it yourself" http://bernd-paysan.de/
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar
ok since forth is general purpose, you can get work doen right? the_gavino_himself <visphatesjava@gmail.com> - 2013-05-01 12:11 -0700
Re: ok since forth is general purpose, you can get work doen right? "Elizabeth D. Rather" <erather@forth.com> - 2013-05-01 10:45 -1000
Re: ok since forth is general purpose, you can get work doen right? Alex McDonald <blog@rivadpm.com> - 2013-05-01 14:32 -0700
Re: ok since forth is general purpose, you can get work doen right? "WJ" <w_a_x_man@yahoo.com> - 2013-05-08 04:55 +0000
Re: ok since forth is general purpose, you can get work doen right? Brad Eckert <hwfwguy@gmail.com> - 2013-05-08 09:33 -0700
Re: ok since forth is general purpose, you can get work doen right? "WJ" <w_a_x_man@yahoo.com> - 2013-05-09 00:23 +0000
Re: ok since forth is general purpose, you can get work doen right? Ron Aaron <rambamist@gmail.com> - 2013-05-09 06:05 +0300
Re: ok since forth is general purpose, you can get work doen right? mhx@iae.nl (Marcel Hendrix) - 2013-05-09 09:28 +0200
Re: ok since forth is general purpose, you can get work doen right? Coos Haak <chforth@hccnet.nl> - 2013-05-09 22:07 +0200
Re: ok since forth is general purpose, you can get work doen right? albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-05-09 17:11 +0000
Re: ok since forth is general purpose, you can get work doen right? Bernd Paysan <bernd.paysan@gmx.de> - 2013-05-11 20:17 +0200
Re: ok since forth is general purpose, you can get work doen right? gavino_himself <visploveslisp@gmail.com> - 2013-05-12 13:36 -0700
csiph-web