Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #19385

Re: Operation in String to Double conversion

From Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Operation in String to Double conversion
Date 2012-10-16 00:14 +0200
Organization A noiseless patient Spider
Message-ID <k5i1sc$8ei$1@dont-email.me> (permalink)
References <3a63483c-4322-4bfb-8c28-2d528bf48443@googlegroups.com> <k5f7gf$p6g$2@localhost.localdomain> <b9f3c86c-4871-45d0-914d-6b345667d892@googlegroups.com> <k5fg4d$nu6$1@dont-email.me> <afe33c9e-8aff-4fbe-afbc-98f51e2bc26e@googlegroups.com>

Show all headers | View raw


On 15/10/2012 20:18, frank.asseg@gmail.com allegedly wrote:
>> I don't think I much care for that site you link too.  Too many spelling 
>> mistakes ("i" and "java") for me to take it seriously.
> wow, sorry for not complying with your orthographical requirements, although imho that's hardly grounds to disregard the library.
> maybe this site is more to your liking:
> http://www.objecthunter.net/exp4j/
> although there are probably some typos in there too ;)
>  the lib may not be perfect, and i'm sure there are things that can be done to optimize the implementation, changes i'd be happy to adapt. so take a look at the github project and drop me a line if you have some constructive criticism regarding the implementation.

You are the author that lib, right? Then allow me, for what it is worth,
to opine with markspace -- not only, incidentally, with his opinion, but
more importantly and fundamentally, with his approach.

/Le style, c'est l'homme/, as the saying goes. Style matters. Not so
much in and of itself, but to the extent of what it tells you about the
author. It doesn't tell you everything, and it is not always right, but
it is so more often than not. And most importantly, it allows you to
come to an at least preliminary conclusion in the face of a limited set
of data.

Being able to make quick decisions is a crucial skill, as I am sure
you'll realise, or would after giving it minimal thought. You need means
to separate the wheat from the chaff -- the quicker you are able to do
this, the more productive you can be. When choosing a library, you
rarely have the luxury of analysing it in every last detail. Especially
if it performs a fairly common, and merely cumbersome, task, picking it
apart might take longer than just writing the damn thing yourself.

In such a situation, you need to discriminate effectively; you need
effective discriminators. Good-will and trust -- say, if it's a library
published by someone whose other works you've used to your satisfaction
-- can be one such discriminator, and perhaps the most important one.
Failing that, or in conjunction with that, apparent style (code style,
but also, as they're related, lexical and overall style) is perhaps the
second most important one.

That being said, your grammar and, if you'll pardon my saying so, the
slight snottiness you display here notwithstanding, the code examples on
your page look fairly okay, and if I were the OP, and didn't have the
alternative of using the scripting engine (or if my task required
functions and the other more advanced features you offer), I'd probably
give your lib a good second look.

My two cents. Please don't flame me.

-- 
DF.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Operation in String to Double conversion William Lopes <williamlopes.dev@gmail.com> - 2012-10-14 12:39 -0700
  Re: Operation in String to Double conversion Martin Gregorie <martin@address-in-sig.invalid> - 2012-10-14 20:32 +0000
    Re: Operation in String to Double conversion William Lopes <williamlopes.dev@gmail.com> - 2012-10-14 14:08 -0700
      Re: Operation in String to Double conversion markspace <-@.> - 2012-10-14 15:59 -0700
        Re: Operation in String to Double conversion William Lopes <williamlopes.dev@gmail.com> - 2012-10-14 17:45 -0700
        Re: Operation in String to Double conversion frank.asseg@gmail.com - 2012-10-15 11:18 -0700
          Re: Operation in String to Double conversion Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2012-10-16 00:14 +0200
            Re: Operation in String to Double conversion frank.asseg@gmail.com - 2012-10-15 15:41 -0700
        Re: Operation in String to Double conversion frank.asseg@gmail.com - 2012-10-15 11:27 -0700
          Re: Operation in String to Double conversion Lew <lewbloch@gmail.com> - 2012-10-15 12:40 -0700
            Re: Operation in String to Double conversion frank.asseg@gmail.com - 2012-10-15 14:24 -0700
              Re: Operation in String to Double conversion Lew <lewbloch@gmail.com> - 2012-10-15 14:48 -0700
              Re: Operation in String to Double conversion Arved Sandstrom <asandstrom2@eastlink.ca> - 2012-10-15 19:14 -0300
                Re: Operation in String to Double conversion Arne Vajhoej <arne@vajhoej.dk> - 2012-10-17 16:58 -0400
              Re: Operation in String to Double conversion Arne Vajhoej <arne@vajhoej.dk> - 2012-10-17 17:02 -0400
            Re: Operation in String to Double conversion Arne Vajhoej <arne@vajhoej.dk> - 2012-10-17 17:13 -0400
              Re: Operation in String to Double conversion Eric Sosman <esosman@comcast-dot-net.invalid> - 2012-10-17 17:32 -0400
  Re: Operation in String to Double conversion Roedy Green <see_website@mindprod.com.invalid> - 2012-10-14 22:49 -0700
  Re: Operation in String to Double conversion "John B. Matthews" <nospam@nospam.invalid> - 2012-10-15 13:19 -0400
    Re: Operation in String to Double conversion Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-10-15 12:51 -0700
      Re: Operation in String to Double conversion "John B. Matthews" <nospam@nospam.invalid> - 2012-10-16 09:39 -0400
  Re: Operation in String to Double conversion Eric Sosman <esosman@comcast-dot-net.invalid> - 2012-10-15 20:47 -0400
  Re: Operation in String to Double conversion Arne Vajhoej <arne@vajhoej.dk> - 2012-10-17 16:54 -0400

csiph-web